Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10031 closed defect (fixed)

Wireless turns off due to inactivity on Atheros

Reported by: Pilot6 <hanipouspilot@…> Owned by: nbd
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

After a whale all claints deauthentificate.

Aug 31 16:21:03 OpenWrt daemon.info hostapd: wlan0: STA 00:1d:6a:56:b4:f7 IEEE 802.11: disassociated due to inactivity
Aug 31 16:21:04 OpenWrt daemon.info hostapd: wlan0: STA 00:1d:6a:56:b4:f7 IEEE 802.11: deauthenticated due to inactivity
Aug 31 17:20:11 OpenWrt daemon.info hostapd: wlan0: STA 00:26:ab:1d:6d:bd IEEE 802.11: disassociated due to inactivity
Aug 31 17:20:12 OpenWrt daemon.info hostapd: wlan0: STA 00:26:ab:1d:6d:bd IEEE 802.11: deauthenticated due to inactivity
Aug 31 17:21:03 OpenWrt daemon.info hostapd: wlan0: STA 00:13:e8:78:33:8b IEEE 802.11: disassociated due to inactivity
Aug 31 17:21:04 OpenWrt daemon.info hostapd: wlan0: STA 00:13:e8:78:33:8b IEEE 802.11: deauthenticated due to inactivity

After that access point is no more visible, and it is not possible to connect.
Tp-link 1043 trunk r 28137

Attachments (0)

Change History (15)

comment:1 Changed 6 years ago by Pilot6 <hanipouspilot@…>

When I give wifi command to restart wireless, it hangs. Even no command prompt.

comment:2 Changed 6 years ago by Pilot6 <hanipouspilot@…>

After ifconfig router totally hang. I had to hard reset.

comment:3 Changed 6 years ago by nbd

  • Owner changed from developers to nbd
  • Status changed from new to accepted

Any kernel crash messages in 'dmesg'?

comment:4 Changed 6 years ago by Pilot6 <hanipouspilot@…>

No. Nothing. Just what I said. Thats all in the log.

I tried to restart wifi and got command prompt omly after Ctrl-Z.
Then made ifconfig and had to power off.

comment:5 Changed 6 years ago by Pilot6 <hanipouspilot@…>

Before when client is in powersafe mode router did not deauthentificate this client. And now after it kicks off everyone the wifi driver seem to hang. There is a bug in the code.

comment:6 Changed 6 years ago by Pilot6 <hanipouspilot@…>

Maybe there was a crash in the log but i could not get there after hang.

comment:7 Changed 6 years ago by Pilot6 <hanipouspilot@…>

Other users who tried this build also reported this hang. Everyone hopes wifi is finally fixed and try all))

comment:8 Changed 6 years ago by Gert van Dijk <gertvdijk+openwrt@…>

I am experiencing the same issue when I have wifi set in bgn mode on the TP-Link WR1043ND v1.8 at trunk r28137.

Even with my serial cable connected I am not able to get any messages from the kernel about an issue.

Symptoms:

  • Device does not respond to the command reboot. Really, no response at all.
  • After running ifconfig the command line interface hangs.
  • Webinterface LuCI does not respond to HTTP requests. Connections time out while process is running fine (monitoring with serial console).
  • Wireless network seems deactivated. SSIDs are not broadcasted anymore, clients are unable to connect.

Possible causes:

  • Inactivity/power saving of associated 802.11n devices.
  • Reconfiguration of the wireless interface (802.11bgn -> 802.11bg, setting another transmit power, etc.)

Workarounds (works for me):

  • Disabling 802.11n on the AP, or:
  • Disabling 802.11n on the clients.

If I can help debug this problem using the serial console in some way I am willing to provide any details.

comment:9 Changed 6 years ago by Pilot6 <hanipouspilot@…>

r28114 does not have this bug. It must help to narrow search.

comment:10 Changed 6 years ago by Gert van Dijk <gertvdijk+openwrt@…>

Well... just about when I was talking about it, about the same also happened in 802.11g-only mode. This time I can use the console and ifconfig does respond. However, the wireless networks are out of the air.

What can I do to gather more information about the state the device is in now?

comment:11 Changed 6 years ago by nbd

found and fixed another crash bug, please try the latest version

comment:12 Changed 6 years ago by Gert van Dijk <gertvdijk+openwrt@…>

Running trunk r28139 now for a few hours and seems stable. However, now I see these (frequent) entries in my system log:

Mar 27 07:28:05 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: authenticated
Mar 27 07:28:05 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: associated (aid 1)
Mar 27 07:28:05 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: pairwise key handshake completed (RSN)
Mar 27 07:28:18 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: authenticated
Mar 27 07:28:18 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: associated (aid 1)
Mar 27 07:28:19 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: pairwise key handshake completed (RSN)
Mar 27 07:28:32 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: authenticated
Mar 27 07:28:32 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: associated (aid 1)
Mar 27 07:28:32 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: pairwise key handshake completed (RSN)
Mar 27 07:28:32 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: received EAPOL-Key 4/4 Pairwise with unexpected replay counter
Mar 27 07:28:54 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: authenticated
Mar 27 07:29:16 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: authenticated
Mar 27 07:29:16 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: associated (aid 1)
Mar 27 07:29:16 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: pairwise key handshake completed (RSN)
Mar 27 07:29:49 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: authenticated
Mar 27 07:29:49 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 IEEE 802.11: associated (aid 1)
Mar 27 07:29:49 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: pairwise key handshake completed (RSN)
Mar 27 07:34:13 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: group key handshake completed (RSN)
Mar 27 07:34:23 OpenWrt daemon.info hostapd: wlan1: STA 90:21:55:b9:34:c3 WPA: received EAPOL-Key 2/2 Group with unexpected replay counter

I am not sure if that indicates something else is broken, but my phone doesn't disconnect or complain.

comment:13 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from accepted to closed

not enough context in that to determine if something is wrong. either way, good to know that this bug is fixed.

comment:14 Changed 6 years ago by starix <starix@…>

Gert van Dijk if you have phone with Android on a board - it's normal setuation.
My phone wake up every 10 min and try to reconnect to wifi. May be it's iPhone's problem too...

comment:15 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.