openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
19.1k stars 10.07k forks source link

FS#2856 - Wifi "dies" (hostapd drops all clients) on some ar71xx devices after days / months #7681

Open openwrt-bot opened 4 years ago

openwrt-bot commented 4 years ago

tizbac:

This issue is very strange, i don't even know if it's just faulty hardware but i have it happening on multiple devices now

Most affected hardware

For the last one, which is running 19.07 i found on the system log

Tue Feb 25 07:38:58 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac1] Tue Feb 25 07:38:58 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: disassociated due to inactivity Tue Feb 25 07:38:59 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) Tue Feb 25 07:41:32 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac2] Tue Feb 25 07:41:32 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: disassociated due to inactivity Tue Feb 25 07:41:33 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) Tue Feb 25 07:42:49 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3] Tue Feb 25 07:49:55 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3] Tue Feb 25 07:55:02 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3] Tue Feb 25 08:00:15 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3] Tue Feb 25 08:05:25 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3] Tue Feb 25 08:10:44 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3] Tue Feb 25 08:16:00 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]

openwrt-bot commented 4 years ago

por:

Do you really loose connectivity or are just the log lines that worry you?

These messages are quite normal and do not imply connection losses per se.

openwrt-bot commented 4 years ago

tizbac:

Everyone looses connection association becomes impossible, beaconing keeps going

openwrt-bot commented 4 years ago

tizbac:

What i can try is trying to send probe requests to see if it is responsive to those at least, if it can help

openwrt-bot commented 4 years ago

thatso:

Sorry, I believe I've just created a duplicate of this issue as FS#2892.

openwrt-bot commented 4 years ago

thatso:

Is seems this problem got worse with 19.07.2. With previous versions, it happened about once a month. Lately, it strikes almost every day.

openwrt-bot commented 4 years ago

Cmd-Q:

I have the same problem with OpenWrt 19.07.2 (r10947-65030d81f3) on a NETGEAR WNDR3700v4. I have two SSIDs on wlan0 that are still beaconing after the stations lose connectivity. The problem is unpredictable and occurs between every three days to every week. There are no other hints in the system log.

Tue Apr 21 14:40:27 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED (Redacted MAC) Tue Apr 21 14:40:57 2020 daemon.info hostapd: wlan0: STA (Redacted MAC) IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) Tue Apr 21 14:45:31 2020 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED (Redacted MAC) Tue Apr 21 14:45:31 2020 daemon.info hostapd: wlan0-1: STA (Redacted MAC) IEEE 802.11: disassociated due to inactivity Tue Apr 21 14:45:32 2020 daemon.info hostapd: wlan0-1: STA (Redacted MAC) IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Are there any additional logs that I can gather when the problem reoccurs?

openwrt-bot commented 3 years ago

kvnnap:

I have the same problem, hostapd drops all clients once or twice every week. Here's my setup:

Model: TP-Link TL-WR941N/ND v2 Architecture: Atheros AR9132 rev 2 Firmware Version: OpenWrt 18.06.8 r7989-82fbd85747 / LuCI openwrt-18.06 branch (git-20.029.49294-41e2258) Kernel Version: 4.9.214

openwrt-bot commented 3 years ago

ph1l:

I may be experiencing something similar, Is there additional debugging I can enable? What can I provide to help out here?

openwrt-bot commented 3 years ago

ph1l:

Here's a redacted syslog from 19.07.4 running on a Bullet M2 (XW)

I see there's a new version of the firmware so I'll update and wait for this to happen again ;-)