Excessive Wifi connect/disconnect log messages on C7 with v18.06 from some devices

I notice for some mobile devices, they are triggering excessive hostapd connect/disconnect log messages. Router is TP-Link C7 with latest 18.06.

This is apparently the cause for the disconnect but the device are active and only connected a few mins ago:

IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Wifi setup as:
AP on wlan 0 (2.4Ghz)
AP on wlan 1 (5 Ghz)
STA on wlan 1 (5 Ghz)

Are these log messages normal or something of concern?

Sun Aug 12 13:15:26 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 13:18:06 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 13:44:25 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 13:52:56 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 13:53:03 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:14:53 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:17:29 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:19:40 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:19:58 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:34:12 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:36:32 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:43:31 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:49:30 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:49:30 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:49:38 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:56:37 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 14:57:53 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 15:00:50 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx
Sun Aug 12 15:04:50 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 40:98:ad:xx:xx:xx

It may be that the phone is too far away from the wireless router and the signal is poor.

Thanks, but the router and devices are in the same, not big room.

I thought it was the AP+STA on wlan0, but I have now simplify it to AP on 2.4Ghz and STA on 5 Ghz.

Strangely only Apple devices affected - iPhoneX, iPad-Pro-10, iPhone6. Cheap xiaomi phone no problem.

may very well be a apple "feature", have you asked them?

or jumping between bands, disable one band or use different ssid

haha fuller, yeah maybe they need a AirPort Extreme not some lowly TPLink C7.

mbo2o, yea that is a good tip, but I have just turned off 2nd AP, now only one AP remaining, can't jump anywhere else.

Puzzled, are these messages saying the AP kick them out? Have also put these lines in 'config wifi-iface' :

        option max_inactivity '3600'
        option disassoc_low_ack '0'

but no difference.

Try setting DTIM to 3, Apple devices are super picky about this...

I tried both DTIM 3 and 1, still seeing the same pattern of messages.

Same issue here. Windows laptop randomly disconnects from the wifi network.

TP-Link Archer C5 v1
OpenWrt 18.06.1 r7258-5eb055306f (the issue was also present on LEDE 17 stable build)

Mon Aug 20 17:09:15 2018 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED ac:81:12:xx:xx:xx
Mon Aug 20 17:09:15 2018 daemon.info hostapd: wlan0: STA ac:81:12:xx:xx:xx IEEE 802.11: disassociated
Mon Aug 20 17:09:16 2018 daemon.info hostapd: wlan0: STA ac:81:12:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Mon Aug 20 17:09:19 2018 daemon.info hostapd: wlan0: STA ac:81:12:xx:xx:xx IEEE 802.11: authenticated
Mon Aug 20 17:09:19 2018 daemon.info hostapd: wlan0: STA ac:81:12:xx:xx:xx IEEE 802.11: associated (aid 1)
Mon Aug 20 17:09:19 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED ac:81:12:xx:xx:xx
Mon Aug 20 17:09:19 2018 daemon.info hostapd: wlan0: STA ac:81:12:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Mon Aug 20 17:09:19 2018 daemon.info dnsmasq-dhcp[1788]: DHCPREQUEST(br-lan) 192.168.XX:YY ac:81:12:xx:xx:xx
Mon Aug 20 17:09:19 2018 daemon.info dnsmasq-dhcp[1788]: DHCPACK(br-lan) 192.168.XX:YY ac:81:12:xx:xx:xx WINDOWS-HOSTNAME

I have exactly the same problem. It tells me the same thing. Is there a way to get full advanced and detailled log so I can post ? I'm on C7 v2 with 18.06. The problem was there on LEDE 17.

1 Like

Also here. Getting random disconnects on my iPad Pro 2017. Router is D-Link DIR-860L B1 (MT7621) running 18.06. The router has been running for two years with LEDE as well as OpenWrt snapshot since March. Iā€™m pretty sure this problem only came with the final release (which I upgraded to on the day of release.)

2 Likes

I am also having the same problem with my android oreo device asus m1 pro on 2.4ghz wifi. it keeps disconnecting.

Actually it was worse on stock archer c7 v2 where i need to restart the router but with latest openwrt it keeps disconnecting randomly on certain period of time.

I am also seeing this, but only on my Windows 10 device. I have long suspected it was this computers fault, but I have now literally replaced every single part except the PSU, and it is still happening. Randomly opened the system log in OpenWRT and saw these messages. Things I have done:

  • reinstalled windows 10 on old computer
  • rebuilt computer: new wifi nic, new motherboard, new ram, new cpu.
  • reinstalled windows 10 on new computer

Disconnects are still happening, so now I think it's the router.
This was happening on both 17.06 and is still currently happening with 18.06.

My Linux devices, Macbook and iPhone are all working fine.

Did you guys find anything?

1 Like

Same problem here on OpenWRT 19.7.3 and an iPhone, any updates on this?

Hi All,

I had the same error intermittently throughout the day with several devices.
I found that I was forcing 2 pc's on my lan to specific IP addresses and several devices were trying to use those ports due to legacy configs. It was causing IP hopping and kicking devices off the network randomly due to IP conflicts/arguments :smiley:

So far it's been 5 hours and no disconnects...
I hope this helps someone out!
BTW I'm using OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.029.45734