Hey guys!
Some devices connected to my router is having some issues to keep wifi connected.
In system log I get tons of this message:
Tue Dec 5 19:04:14 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: authenticated
Tue Dec 5 19:04:14 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: associated (aid 2)
Tue Dec 5 19:04:17 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: authenticated
Tue Dec 5 19:04:17 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: associated (aid 2)
Tue Dec 5 19:04:20 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: authenticated
Tue Dec 5 19:04:20 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: associated (aid 2)
Tue Dec 5 19:04:28 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: deauthenticated due to local deauth request
Tue Dec 5 19:04:38 2017 daemon.info hostapd: wlan0: STA ec:17:2f:9d:92:5a WPA: group key handshake completed (RSN)
Tue Dec 5 19:05:21 2017 daemon.info hostapd: wlan1: STA 4c:66:41:24:dd:73 IEEE 802.11: authenticated
Tue Dec 5 19:05:21 2017 daemon.info hostapd: wlan1: STA 4c:66:41:24:dd:73 IEEE 802.11: associated (aid 4)
Tue Dec 5 19:05:24 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: authenticated
Tue Dec 5 19:05:24 2017 daemon.info hostapd: wlan0: STA 10:f0:05:6e:e0:60 IEEE 802.11: associated (aid 2)+
For example, in my Desktop I can barely connect to Wifi 2.4GHz, I get a message in Windows saying: Trying to connect (forever) until I go to the wifi properties and select " 5GHz Prefered" or "5GHz Only", but it stills take time to connect (but at least it connects after a while).
I've already tried to factory reset the device, but the problem still persists (and I have just upgraded to lastest LEDE version yesterday).
It can't be weak signal.
I'm just 10 meters from the router, and my Smartphone is getting almost full signal bars. And in the PC I can see strong signal.
Channel is manually set to 11 and WMM is already activated.
I've seem a really old topic in OpenWRT Forum but I don't think it applies here: https://dev.openwrt.org/ticket/10084
Probably already patched (6 years old, it must be).
After associating, the client should participate in the WPA handshake. Then you get an "AP-STA-CONNECTED" and "WPA: pairwise key handshake completed" in the log. That is not happening with this particular client though it is apparently working with others.
This could be because Windows has the network stored with no encryption. First try forgetting the network and starting over.
Also move closer just to be absolutely sure it is not a weak signal.
You could also fall back to HT20 in case that is causing a problem with this client. HT40 in the 2 GHz band should only be considered when there are absolutely no neighboring wifi networks.
Weird...
This wifi failure is most happening with this Windows client, but sometimes it affects smartphones and smart tv as well.
I'm sure it's not weak signal because I'm really close to the router.
Talking about forgetting network, I've done that so many times. This Windows computer has 2 wifi adapter, built-in Intel (X370 Taichi) and another PCI-E TP-LINK T9E, this error happens for both. So I suppose it's more like to be a Windows problem than router, right?
It's weird because when I use my Samsung S7 Edge to "share" my wifi, I do not get this authentication problem. Basically my S7 Edge connects to my router wifi and then share using the hotspot function. When I do this way, everything works flawless.
When you say fall back to HT20, is this that 20Mhz/40Mhz stuff? If it is, I've already set to 20Mhz only in 2.4GHz radio via LUCI, and I still have that issue with this Windows machine .
Thank you, I'll look for a solution for this Windows client.
Same for both.
WPA2-Personal (windows)
WPA2-PSK (router)
Security Key, same for both.
I've just set auto channel for both 2.4GHz and 5GHz and it seems now I can connect easily... let's see if I will have dropped connection.