2011-12-10 04:38:11

by Nikolay Martynov

[permalink] [raw]
Subject: Spontaneous disconnections debugging

Hi.

I have an intel 5300 as client and openwrt ath9k based router as AP.
Some times (once in several days) I get wireless connection
spontaneously dropped with this message on client:
wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local choice (reason=3)

Not that this really creates problems for me, connection is quickly
restored and otherwise works fine.

So my question is - what would be the best approach to debug this
problem? I would appreciate any ideas where I could start.
Thanks!

--
Truthfully yours,
Martynov Nikolay.
Email: [email protected]


2011-12-10 17:30:56

by Mikael Abrahamsson

[permalink] [raw]
Subject: Re: Spontaneous disconnections debugging

On Fri, 9 Dec 2011, Nikolay Martynov wrote:

> I have an intel 5300 as client and openwrt ath9k based router as AP.
> Some times (once in several days) I get wireless connection
> spontaneously dropped with this message on client: wlan1:
> deauthenticating from XX:XX:XX:XX:XX:XX by local choice (reason=3)

Ubuntu 11.10 on a Thinkpad X200 with Intel 5300:

$ dmesg | grep -i deauthenticating | grep "local choice" | wc -l
44
$ uptime
18:31:07 up 1 day, 7:30, 3 users, load average: 0.08, 0.03, 0.05

$ dmesg | grep "local choice" | cut -d ] -f2- | sort | uniq -c
44 wlan0: deauthenticating from 00:21:91:dc:94:55 by local choice (reason=3)
56 wlan0: disassociating from 00:21:91:dc:94:55 by local choice (reason=3)

> Not that this really creates problems for me, connection is quickly
> restored and otherwise works fine.

For me it also mostly works fine, but sometimes I have to unload/reload
the iwlagn module to make things work again, and sometimes the wifi LED
just turns off and requires a reboot to get working again.

At least the 5300 stuff works much better in 3.0 than it did in 2.6.38.

--
Mikael Abrahamsson email: [email protected]

2011-12-10 17:42:07

by Larry Finger

[permalink] [raw]
Subject: Re: Spontaneous disconnections debugging

On 12/10/2011 05:34 AM, Mikael Abrahamsson wrote:
> On Fri, 9 Dec 2011, Nikolay Martynov wrote:
>
>> I have an intel 5300 as client and openwrt ath9k based router as AP. Some
>> times (once in several days) I get wireless connection spontaneously dropped
>> with this message on client: wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by
>> local choice (reason=3)
>
> Ubuntu 11.10 on a Thinkpad X200 with Intel 5300:
>
> $ dmesg | grep -i deauthenticating | grep "local choice" | wc -l
> 44
> $ uptime
> 18:31:07 up 1 day, 7:30, 3 users, load average: 0.08, 0.03, 0.05
>
> $ dmesg | grep "local choice" | cut -d ] -f2- | sort | uniq -c
> 44 wlan0: deauthenticating from 00:21:91:dc:94:55 by local choice (reason=3)
> 56 wlan0: disassociating from 00:21:91:dc:94:55 by local choice (reason=3)
>
>> Not that this really creates problems for me, connection is quickly
>> restored and otherwise works fine.
>
> For me it also mostly works fine, but sometimes I have to unload/reload the
> iwlagn module to make things work again, and sometimes the wifi LED just turns
> off and requires a reboot to get working again.
>
> At least the 5300 stuff works much better in 3.0 than it did in 2.6.38.

I would suggest that both of you try the bleeding-edge compat-wireless, or the
kernel from the wireless-testing git tree, before doing any debugging. I'm not
involved in iwlagn development, but there have been a lot of changes since 3.0.

Larry