0

I have been following this amazingly detailed guide but keep hitting a roadblock.

I am trying to create without the bridge.

I have run apt update and apt full-upgrade. AP gets created and I can connect but there is an issue with the client in that it just doesn't connect. I have run networkctl which gives the following

IDX LINK             TYPE               OPERATIONAL SETUP     
  1 lo               loopback           carrier     unmanaged 
  2 usb0             gadget             off         unmanaged 
  3 wlan0            wlan               no-carrier  configuring
  4 ap0              wlan               routable    configured

I've checked SSID and PSK and they are correct.

I have been through the troubleshooting section but it seems to mainly apply to issues with the AP part, not the client part. I have also tried to add the bridge capabilities and, strangely, the AP is still visible, I can connect to it and get an IP address but then can't connect via ssh or VNC. I suspect this is because the bridge is attempting to forward the connections?

Any idea how I can fix the client mode?

Also, when it's working, will it be possible to scan available networks using a python package such as wifi? Or is there a straightforward way of dynamically searching and connecting to networks?

Bassline Soup
  • 115
  • 1
  • 10

1 Answers1

1

I have checked the setup of an Access point as WiFi router/repeater without the bridge of the wired interface. It is working without any issues, in particular the uplink client connection is working.

I suppose your problem with the client uplink is just the connection to your internet router. I suggest to only setup and test this connection without an access point to reduce complexity and avoid side effects. Please Use systemd-networkd for general networking and follow section ♦ Create interface file for a WiFi connection. It must work before adding the access point to the cofiguration. To be on the save side with a clean starting point I would use a spare SD Card and flash a fresh Raspberry Pi OS (32-bit) Lite to it.

Ingo
  • 42,961
  • 20
  • 87
  • 207