I’ve fielded several Photons over the last few years, but with my latest I’m struggling. It’s very difficult (and sometimes impossible) to get it to connect over wifi, and when it does, it often drops off later. Here’s what I know:
- Doesn’t seem to matter what OS version is loaded. I’ve tried several builds ranging from stock (0.5.something) to latest (1.5.4-rc1).
- When doing setup over USB, scanning networks does not show mine (it’s not hidden). But if I manually type in the SSID and key, it’ll attempt to connect.
- Serial console shows it trying to connect, attempting to get a DHCP address, and then rebooting and doing it again.
- The OpenWrt logs show repeated failures of the form:
Tue Jul 21 12:11:24 2020 daemon.info hostapd: wlan0-1: STA 6c:0b:84:59:7f:79 IEEE 802.11: authenticated
Tue Jul 21 12:11:24 2020 daemon.info hostapd: wlan0-1: STA 6c:0b:84:59:7f:79 IEEE 802.11: associated (aid 1)
Tue Jul 21 12:11:24 2020 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 6c:0b:84:59:7f:79
Tue Jul 21 12:11:24 2020 daemon.info hostapd: wlan0-1: STA 6c:0b:84:59:7f:79 RADIUS: starting accounting session 0806D3328A533020
Tue Jul 21 12:11:24 2020 daemon.info hostapd: wlan0-1: STA 6c:0b:84:59:7f:79 WPA: pairwise key handshake completed (RSN)
Tue Jul 21 12:11:39 2020 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 6c:0b:84:59:7f:79
Tue Jul 21 12:11:39 2020 daemon.info hostapd: wlan0-1: STA 6c:0b:84:59:7f:79 IEEE 802.11: disassociated
Tue Jul 21 12:11:40 2020 daemon.info hostapd: wlan0-1: STA 6c:0b:84:59:7f:79 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
But it does connect to my phone when in hotspot mode. So it leads me to think that there’s some magical wifi setting that is causing problems on the OpenWrt router. Does anybody have any leads that I can go chase?
Thanks!