I have a TP-LINK Archer C2 v1 which is a dual-band router with 5 ethernet (4 LAN 1 WAN)
I have configured it with OpenWRT 22.03.0 and two separate, completely different SSIDs, one for 2.4GHz and one for 5GHz. Lets call them WiFi2 and WiFi5.
I have 3 4 different devices I want to use with this OpenWRT device. My windows laptop, my Macbook, my new phone, and my old phone as a testing device.
All 4 devices work perfectly when connected to WiFi2.
The windows laptop works perfectly when connected to WiFi5.
The new phone gets an IP address on WiFi5 but then fails to access any other devices on the network or access the internet.
The old phone fails to get an IP address on WiFi5
The Macbook gets an IP address on WiFi5 but then fails to access any other devices on the network or access the internet
Here are the associated sections of my system log for both the new phone and the old phone (but not the windows laptop or Macbook). All MAC addresses have been redacted:
Failed 5GHz from old phone (no IP address obtained)
Sat Oct 8 15:53:57 2022 daemon.info hostapd: wlan0: STA AA:AA:AA:AA:AA:AA IEEE 802.11: authenticated
Sat Oct 8 15:53:57 2022 daemon.info hostapd: wlan0: STA AA:AA:AA:AA:AA:AA IEEE 802.11: associated (aid 1)
Sat Oct 8 15:53:57 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED AA:AA:AA:AA:AA:AA
Sat Oct 8 15:53:57 2022 daemon.info hostapd: wlan0: STA AA:AA:AA:AA:AA:AA WPA: pairwise key handshake completed (RSN)
Sat Oct 8 15:53:57 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED AA:AA:AA:AA:AA:AA
Sat Oct 8 15:54:33 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED AA:AA:AA:AA:AA:AA
Sat Oct 8 15:54:33 2022 daemon.info hostapd: wlan0: STA AA:AA:AA:AA:AA:AA IEEE 802.11: disassociated
Sat Oct 8 15:54:34 2022 daemon.info hostapd: wlan0: STA AA:AA:AA:AA:AA:AA IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Failed 5GHz from new phone (IP obtained, no network access afterwards)
Sat Oct 8 15:55:46 2022 daemon.info hostapd: wlan0: STA BB:BB:BB:BB:BB:BB IEEE 802.11: authenticated
Sat Oct 8 15:55:46 2022 daemon.info hostapd: wlan0: STA BB:BB:BB:BB:BB:BB IEEE 802.11: associated (aid 1)
Sat Oct 8 15:55:47 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED BB:BB:BB:BB:BB:BB
Sat Oct 8 15:55:47 2022 daemon.info hostapd: wlan0: STA BB:BB:BB:BB:BB:BB WPA: pairwise key handshake completed (RSN)
Sat Oct 8 15:55:47 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED BB:BB:BB:BB:BB:BB
Succeeded 2.4GHz from new phone
Sat Oct 8 15:58:02 2022 daemon.info hostapd: wlan1: STA BB:BB:BB:BB:BB:BB IEEE 802.11: authenticated
Sat Oct 8 15:58:02 2022 daemon.info hostapd: wlan1: STA BB:BB:BB:BB:BB:BB IEEE 802.11: associated (aid 2)
Sat Oct 8 15:58:03 2022 daemon.notice hostapd: wlan1: AP-STA-CONNECTED BB:BB:BB:BB:BB:BB
Sat Oct 8 15:58:03 2022 daemon.info hostapd: wlan1: STA BB:BB:BB:BB:BB:BB WPA: pairwise key handshake completed (RSN)
Sat Oct 8 15:58:03 2022 daemon.notice hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED BB:BB:BB:BB:BB:BB
For a little more context, both phones are Samsung devices, one is an S22 Ultra (new) and one is an S8 (old). It is not an unreasonable assumption that this could be affecting Samsung devices specifically however these devices work perfectly fine with other 5GHz networks operated on other APs, including other APs running OpenWRT. My Macbook is also having the same issue.
My setup is a little bit weird, however I have tested using a more standard (stock) configuration without this split LAN and mobility domain roaming and the issue still occurs. If you would (understandably) like me to return to the stock configuration, retest and repost these configurations, I would be more than happy to do so.
I’d start by disabling 802.11r - there are devices that just don’t work well when this is enabled. If that doesn’t fix the issue, the mobility domain could be responsible for the issues.
I have disabled 802.11r, and the mobility domain is directly related to it so that is automatically removed also. I have also disabled the 2 APs for lan2.
Unfortunately, the issue still persists. Config snip: