Disassociated due to inactivity

Hello,

I am currently running LEDE Reboot 17.01.2 r3435-65eec8bd5f on an Archer C7 v2 and have been for many years with no issues. Within the past week I have been experiencing issues with the 2.4Ghz network.

All clients suddenly become disconnected and can no longer reconnect to the router unless I reboot or restart the wireless service. Most of the devices that use this network are IOT and unfortunately are not compatible with the 5Ghz band. I have not made any changes to the configuration in years, so I do not know why this would start out of the blue. This is happening multiple times per day and those times are sporadic.

Many of the devices are within feet of the AP so I do not believe this is an issue with signal strength.

When checking the system log in LuCI, I am seeing:

Thu Dec 7 15:43:39 2023 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED MAC_ADDR
Thu Dec 7 15:43:39 2023 daemon.info hostapd: wlan1-1: STA MAC_ADDR IEEE 802.11: disassociated due to inactivity
Thu Dec 7 15:43:40 2023 daemon.info hostapd: wlan1-1: STA MAC_ADDR IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

I have read some other posts and have added the following lines to /etc/config/wireless to no avail:

        option wpa_strict_rekey '1'
        option disassoc_low_ack '0'
        option wpa_group_rekey '86400'
        option skip_inactivity_poll '1'

Not sure where to go from here.

Suggestions are encouraged.

Thanks

1 Like

First, I would highly advise you to upgrade your firmware to a current release. You are about 5 releases behind now, and while you haven’t observed any issues, there have been significant security issues resolved since then.

There have also been significant changes since 17.01.2 to OpenWrt configurations. There may be likely few active members that would be able to assist you in trying to resolve an issue that far back.

1 Like

I have the same issue though everything was working normally for weeks!

using the same release, and the same device ?

I've upgraded to the latest version of openwrt, 23.05.5 and still having the same issue. The 2.4ghz network hosts IOT devices. All of a sudden many of them drop off the network and when I check the logs, I see the disassociated due to inactivity messages. I have set up a cron job that pings these devices every 1 minute. But still having the same problem. I end up having to restart the radio to get things working again. Seems to be random when it happens.

Things you can try (I would try them one by one and not at the same time)

  • DTIM Interval 1 instead of the default 2
  • check Disable Inactivity Polling
  • uncheck Disassociate On Low Acknowledgement

2-3 years ago similar posts were common with Mediatek Wifi AC devices. None of them really had resolved solutions, though it has to be acknowledged that there are less such posts as of now.