Hi there! I’m running in a bit of an issue when trying to make wifi-connect run on boot on my RPI-Zero-W setup using Raspios Buster Lite ARV6l.
I followed these instructions from @libbymiller.
Here’s the link to the guide:
When trying to boot my RPI-Zero-W, I don’t see the access point. So I tried plugging in my device on the monitor and checking the logs.
I ran the ff. command:
sudo systemctl status hostapd.service
This returned the ff errors:
“Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.”
I tried running wifi-connect manually on the terminal and it worked fine.
Reading through forums I saw that one solution that helped remove this error was changing the hostapd version to an older one using the following commands:
$ sudo su
$apt-cache madison hostapd
hostapd | 2:2.6-21~bpo9~rpt1 | Index of /debian stretch/main armhf Packages hostapd | 2:2.4-1+deb9u7 | Index of /raspbian stretch/main armhf Packages
$ apt-get install hostapd=2:2.4-1+deb9u7 -V
$ exit
$ sudo reboot
After rebooting, the access point appeared but the “Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator” still appeared on the logs and when I tried connecting to the AP, the wifi-connect user interface does not appear.
Another possible solution people recommended in this forum:[Updating hostapd fails… - Raspberry Pi Forums]
was to to edit
/etc/default/hostapd
and set
DAEMON_CONF =“/etc/hostapd/hostapd.conf”
I tried looking for hostapd.conf but it was nowhere to be found, I tried searching for templates but it seems like it hostapd.conf is just a file that helps configure your access point. Im not sure how wifi-connect does it? I’m thinking it had something to do with the Network Manager. Is there a possible workaround for this? Is this is a wifi-connect issue or it does it have something to do with my hardware. For what it’s worth, the whole setup worked on an RPI 3B+.
Any insights would be really great!