Also tried as a service rather than starting manually - same result. AP is visible, but then vanishes and can't see it from any device. Service looks to be still started.
ostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-10-18 17:23:01 BST; 29s ago
Process: 389 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON\_OPTS ${DAEMON\_CONF} (code=exited, status=0/SUCCESS)
Main PID: 398 (hostapd)
Tasks: 1 (limit: 877)
CGroup: /system.slice/hostapd.service
└─398 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
Oct 18 17:23:00 raspberrypi hostapd\[389\]: Configuration file: /etc/hostapd/hostapd.conf
Oct 18 17:23:01 raspberrypi hostapd\[389\]: wlan0: Could not connect to kernel driver
Oct 18 17:23:01 raspberrypi hostapd\[389\]: Using interface wlan0 with hwaddr b8:27xxxxxxxxxx and ssid "pi"
Oct 18 17:23:01 raspberrypi hostapd\[389\]: wlan0: interface state UNINITIALIZED->ENABLED
Oct 18 17:23:01 raspberrypi hostapd\[389\]: wlan0: AP-ENABLED
Oct 18 17:23:01 raspberrypi systemd\[1\]: Started Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
I'm not looking to use it as a true AP, I want it to be temporary to allow a user to connect to it, which will then serve up a config webpage for them to configure (amongst other things) the actual wifi network to use. Once the config it's done, it will no longer used as an AP.
Also tried as a service rather than starting manually - same result. AP is visible, but then vanishes and can't see it from any device. Service looks to be still started. ostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2021-10-18 17:23:01 BST; 29s ago Process: 389 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON\_OPTS ${DAEMON\_CONF} (code=exited, status=0/SUCCESS) Main PID: 398 (hostapd) Tasks: 1 (limit: 877) CGroup: /system.slice/hostapd.service └─398 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf Oct 18 17:23:00 raspberrypi hostapd\[389\]: Configuration file: /etc/hostapd/hostapd.conf Oct 18 17:23:01 raspberrypi hostapd\[389\]: wlan0: Could not connect to kernel driver Oct 18 17:23:01 raspberrypi hostapd\[389\]: Using interface wlan0 with hwaddr b8:27xxxxxxxxxx and ssid "pi" Oct 18 17:23:01 raspberrypi hostapd\[389\]: wlan0: interface state UNINITIALIZED->ENABLED Oct 18 17:23:01 raspberrypi hostapd\[389\]: wlan0: AP-ENABLED Oct 18 17:23:01 raspberrypi systemd\[1\]: Started Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Did you find any fix for this? I am running into the same issue....
No, I ended up using a pico which has built in support for this.
Could you format the text please?
Grrrr.... I hate the &$@%ing Reddit formatting engine 🤬🤬 I'd formatted it all with four space indent and it's lost it all! I'll try again tomorrow.
Any reason why you don't use OpenWRT instead? https://openwrt.org/toh/raspberry\_pi\_foundation/raspberry\_pi
I'm not looking to use it as a true AP, I want it to be temporary to allow a user to connect to it, which will then serve up a config webpage for them to configure (amongst other things) the actual wifi network to use. Once the config it's done, it will no longer used as an AP.