0

I am trying to set up a wireless access point on my raspberry pi 3B (running Ubuntu 18.04 server) using netplan. The documentation seems to imply that I can do this by specifying mode: ap in the .yaml configuration file for netplan (located in /etc/netplan folder). However, when trying to apply the netplan, I get the following error: wlan0: netowrkd does not support wifi in access point mode. I know for a fact that the adapter itself supports AP mode, since I've successfully used it before using a slightly different procedure that involved purging netplan and using hostapd directly. I would like to stick with netplan this time because this way I can easily switch between AP and managed modes by switching out the .yaml file. Is there any way I can get past this error?

2

As documented in netplan(5):

ap is only supported with NetworkManager.

You must specify renderer: NetworkManager and install the network-manager package to put a wifi interface in ap mode with netplan, because as stated, this is not implemented with the networkd backend.

  • Yep, thank you. Just found that solution. – anvoice May 9 at 22:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.