Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • Phew. This was a bit over my head but a lifesaver. Thank you! I had to add the down and restart systemctl commands to rc.local to get wlan0 working. Any idea why? I'd previously done things on Buster Lite with github.com/lukicdarkoo/rpi-wifi and it appeared to have the same general problem. pulling the plug would get things to boot in the right order but no soft command seems to init properly. Commented Jan 31, 2021 at 21:18
  • The rc.local statement you mention to get wlan0 working should not be needed. I recommend starting with a fresh install, then updating the OS to the latest version, then applying the network configuration according to the Raspberry documentation: raspberrypi.org/documentation/configuration/wireless/README.md and raspberrypi.org/documentation/configuration/wireless/…. After checking that it works, you can revise the configuration basing on the notes in this topic. Commented Feb 3, 2021 at 8:14
  • Also one thing if i now change my wpa_supplicant.conf i have to call systemctl restart dhcpcd.service instead of wpa_cli -i wlan0 reconfigure. Is there a better solution!? Commented Feb 16, 2021 at 19:56
  • systemctl restart dhcpcd.service is a way to kill wpa_supplicant and restart it, when wpa_supplicant is run as a hook of dhcpcd. wpa_cli -i wlan0 reconfigure asks the currently running wpa_supplicant to read again the configuration file. Both should be viable alternatives. Commented Feb 21, 2021 at 9:47
  • @ircama thanks for your answer. To get wpa_cli i wlan0 ... reconfigure to work as expected i first need to kill the running (started from dhcpcd) wpa_supplicant daemon and restart it. After changing wpa_supplicant.conf and calling wpa_cli -i wlan0 ... reconfigure the changes are applied as expected. Also when i reboot wlan0 is not connecting. I'm not sure what the problem is so i ended up restarting wpa_supplicant after every reboot that worked :/ ... And yes i used -p /var/run/wpa_ssuplicant and sudo -g netdev as specified in wpa_supplicant.conf. Commented Feb 24, 2021 at 13:15