Hi!
For a couple of months now I have a recurring problem with the 2.4Ghz Wi-Fi of my TP-Link Archer C7 v2 router. Every couple of days all my clients gets disconnected and it's impossible for them to reconnect, they can still see the SSID but when you try to connect nothing happens.
I already had this problem before but it was fixed sometime last year and came back pretty recently. I came back from my vacation at the end of february, I upgraded my router (via opkg) and the problem started reappearing.
When I check my system logs there's this:
Fri Apr 6 22:46:39 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED AA:AA:AA:AA:AA:AA
Fri Apr 6 22:46:39 2018 daemon.info hostapd: wlan1: STA AA:AA:AA:AA:AA:AA IEEE 802.11: disassociated due to inactivity
Fri Apr 6 22:46:39 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED BB:BB:BB:BB:BB:BB
Fri Apr 6 22:46:39 2018 daemon.info hostapd: wlan1: STA BB:BB:BB:BB:BB:BB IEEE 802.11: disassociated due to inactivity
Fri Apr 6 22:46:40 2018 daemon.info hostapd: wlan1: STA AA:AA:AA:AA:AA:AA IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Apr 6 22:46:40 2018 daemon.info hostapd: wlan1: STA BB:BB:BB:BB:BB:BB IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Apr 6 22:46:45 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED CC:CC:CC:CC:CC:CC
Fri Apr 6 22:46:45 2018 daemon.info hostapd: wlan1: STA CC:CC:CC:CC:CC:CC IEEE 802.11: disassociated due to inactivity
Fri Apr 6 22:46:46 2018 daemon.info hostapd: wlan1: STA CC:CC:CC:CC:CC:CC IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Apr 6 22:46:50 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED DD:DD:DD:DD:DD:DD
Fri Apr 6 22:46:50 2018 daemon.info hostapd: wlan1: STA DD:DD:DD:DD:DD:DD IEEE 802.11: disassociated due to inactivity
Fri Apr 6 22:46:51 2018 daemon.info hostapd: wlan1: STA DD:DD:DD:DD:DD:DD IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Apr 6 22:46:57 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED EE:EE:EE:EE:EE:EE
Fri Apr 6 22:46:57 2018 daemon.info hostapd: wlan1: STA EE:EE:EE:EE:EE:EE IEEE 802.11: disassociated due to inactivity
Fri Apr 6 22:46:58 2018 daemon.info hostapd: wlan1: STA EE:EE:EE:EE:EE:EE IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
I'm pretty sure this regression made it's way in one of the update that was made available between the 4th and the 20th of february, because I updated my router before leaving and everything was fine and I updated pretty much as soon as I came back and the problem came back.
Is there any workaround or fix possible? Should I fill a "real" bug on the bugtracker?
My current workaround is to restart the router or the Wi-Fi interface and I guess I could add that to my crontab but that's not a satisfying solution really
Alright I will try it! I didn't tried it beforehand because the people reporting that it fixed their problem also had the line disconnected due to excessive missing ACKs in their logs which is not my case. Also my kernel log seems to indicate a crash of some sort in the ath9k driver and the problem those people encountered was that their clients got disconnected every 30 or so minutes whereas mine only get disconnected every 2 or 3 days.
I also just find it strange that it worked fine without it until february.
But I will try it anyway and report back, thanks for your help!
So how did it work out for you?
I seem to have a similar problem with the same router. OpenWRT 18.06.4.
Only on the 2.4 GHz radio so far. I restart the radio and clients reconnect. My clients are fixed and well within range so I never expect them to disconnect. But of course if they do, I expect them to reconnect which isn't the case here.
I don't have the kernel oops in my logs however. It can work for days before I need to reset the radio, so it's hard to reproduce.
I'll try the option disassoc_low_ack '0' trick to see if it helps.
OK so I confirm I get the bug even after setting option disassoc_low_ack '0' so it doesn't help.
I didn't really have these issues before. I added a new client recently. I still don't understand how a single client could jam my access point, and prevent other clients from connecting until I restart the AP.
Still never happened on my 5 GHz radio either.
I have the same problem and the disassoc_low_ack doesn't fix it. I see others saying that disabling the option "Allow legacy 802.11b rates" fixes it. I'm testing that now
As have I, though its been working without a problem lately. Have the 2.4gHz radio go non responsive, with a crash notice, and without. Have had the 5gHz radio do the same. Reboot fixes it, while sometimes restarting the interface does or does not fix things.
Ive been running the C7 as a dumb AP, since I got a Zotac CI327 and run that as the router. C7 and CI327 run 18.06.4. Have logs and such, if anyone wants them.
I am very much not an expert, but after reading thru the comments on the first one you mention, that sounds like its a memory leak type of issue, and the symptom seems to be the whole router goes OOM and reboots. That's not our issue, so it's not as likely to have a connection to our issue.
The second one, there's no mention about what kind of symptom it would cause, or even if it does cause one. Again, no expert, but it sounds like this might just improve efficiency, vs solve a visible problem. I can't tell from here, without any discussion, since I don't know how that part of the software works.