This used to work . But I noticed on rc5 that my iOS devices do not seem to succeed when trying to connect to Wi-Fi (LAN). I see the steps below, but DHCP seems to be failing (i.e. this is as far as things get). I was hoping it was just a bug, but rc6 is doing the same.
Fri Aug 5 20:53:42 2022 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Fri Aug 5 20:53:42 2022 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Aug 5 20:53:42 2022 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Fri Aug 5 20:53:42 2022 daemon.notice hostapd: wlan1: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Aug 5 20:53:42 2022 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Aug 5 20:53:42 2022 daemon.notice hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED xx:xx:xx:xx:xx:xx
Fri Aug 5 20:54:36 2022 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Fri Aug 5 20:54:36 2022 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
Fri Aug 5 20:54:37 2022 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
It works fine with my Windows client(s), but not iOS. Wondering if this is somehow IPv6 related, but I think I have all of that disabled ... though I may be wrong.
Has anyone else seen this same issue? And any thoughts of fixes?
OK, still not figuring it out . I fully removed encryption of any sort (temporarily) ... still can't connect. The Wi-Fi part seems to succeed (from iPhone, iPad, Mac), but in every case - no IP address. I even tried manually setting the client IP, to the subnet, but still no go. Really odd.
OK, I think I found it! Or at least, where the issue seems to be. I was trying to use wlan1 (5 GHz) ... no go, even with no encryption. Then I tried wlan0, 2.4 GHz ... works fine! Even with WPA3.
You may want to take a backup first, but then reset your device to defaults and change only the minimum items necessary relative to those default settings (like enabling the wifi and setting a password and SSID).
Ok... silly idea/question -- is there anything else running on 5G with the same SSID in your space (such as a dumb AP)? If you unplug this device (from power), an you still connect to the 5G SSID? If so, something else is broadcasting the SSID and may not be connected to the network.
As far as the config files, probably just network and wifi (DHCP and firewall shouldn't be relevant at this moment).
No such thing as a silly question - I am the definition of the bigger idiot ... LOL. But no, nothing else with the same SSID. And a bit above - I captured that the WiFi is getting associated, just not DHCP then. Make sense?
Appreciate the suggestion! Tried it, but no joy. BTW, I do see that when I try to connect, the device shows up as Associated (and on the list of devices) ... just no IP address. So it's not looking like a Wi-Fi issue, rather DHCP related?
So only iOS, on 5 GHz, and just not getting an IP. So odd.
It doesn't really make sense to me, but I think it is a wifi thing since the DHCP server is working on the 2.4G network and the network is properly bridged. Although rare, there are situations where DHCP doesn't go through for some reason, but the network connects as expected. For a long while, there was a bug on Unifi that would just swallow DHCP requests.
Here's another idea -- just to test that connectivity is working:
set one of your iOS devices to static IP (maybe 192.168.1.5, netmask 255.255.255.0, dns 192.168.1.1 and gateway 192.168.1.1). Does the device work on wifi in those circumstances?
Funny, but again I had the same though . Had tried that, no joy ... says it is connected, but can't browse to the web interface (of OpenWrt). But interesting ... with that manual setup, then I see an IPv6 address when I look at the network details. Could this be IPv6 breaking things? I admit, I always find it fuzzy how to fully turn that off.