Bug 8014 - (int-156516) WPA2-PSK connection dropped after a few minutes (U.S. Robotics Wireless MAXg Access Point USR5451)
(int-156516)
: WPA2-PSK connection dropped after a few minutes (U.S. Robotics Wireless MAXg ...
Status: NEW
Product: Connectivity
WiFi
: 5.0/(3.2010.02-8)
: All Maemo
: Unspecified normal with 6 votes (vote)
: ---
Assigned To: unassigned
: wifi-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2010-01-15 00:20 UTC by Miguel L
Modified: 2011-06-27 23:46 UTC (History)
8 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Miguel L (reporter) 2010-01-15 00:20:18 UTC
SOFTWARE VERSION:
(Settings > General > About product)

2.2009-51-1

EXACT STEPS LEADING TO PROBLEM: 
When using WLAN, the connection gets dropped after a few minutes of inactivity.
The only way to keep the Wifi connection stable is by completely disabling the
wifi power saving option.
I am using this access point: U.S. Robotics Wireless MAXg Access Point
(USR5451)

EXPECTED OUTCOME:

Stay connected while the access point can be reached.

ACTUAL OUTCOME:

The N900 shows the sign of being connected but after a few minutes my access
point shows the N900 is not connected to it anymore and the N900 can not
connect to any server until I manually make it reconnect to the wlan

REPRODUCIBILITY:

always
Comment 1 toni.laroma 2010-01-19 08:07:36 UTC
I have this same problem with three AP's (the ones I only have always used).
After 10 or 15 minutes, the connection is lost. The WLAN connection icon is
visible in the status area, but I need to disconnect and reconnect again to
have working connection. This didn't happen on N900 before PR1.1 update, and
never with other devices (N95, N97)
Comment 2 toni.laroma 2010-01-19 08:13:42 UTC
Should the router name be removed from the summary field, as this bug came with
the PR1.1 update?
Comment 3 Miguel L (reporter) 2010-01-19 10:26:49 UTC
I am the original bug reporter and I have been experiencing this problem from
the beginning. The latest updates made no difference.
I did add the name of the wlan access point to the description because I have
read other bugs reports which where related to the same problem and people
commenting that they were in the same situation using a different wlan hardware
were advised to open a new bug.

I have tested using different settings (channel, b/g mode,..) on the access
point and it made no difference. My 3 laptops running different versions of
Ubuntu have no problems with this access point.

On the other hand, the n900 seems to have no problems with a Livebox router
supplied by Orange
Comment 4 Andre Klapper maemo.org 2010-01-21 19:10:40 UTC
I'm wondering if this is another copy of bug 6416.
So you don't have to reboot the N900 to connect again?

Can everybody running into this please provide data Router make and model,
Firmware version, Hardware revision, encryption settings
(open/WEP/WPA-PSK/WPA-EAP)?
Also, does setting Power Saving to "Off" help? (Settings > Internet Connections
> Connections > Edit > Next > Next > Next > Advanced > Other > Power saving)
Comment 5 Miguel L (reporter) 2010-01-22 10:40:31 UTC
(In reply to comment #4)
> I'm wondering if this is another copy of bug 6416.
> So you don't have to reboot the N900 to connect again?

No, I don't have to reboot the n900, just manually disconect-reconnect to my
wlan

> 
> Can everybody running into this please provide data Router make and model,
> Firmware version, Hardware revision, encryption settings
> (open/WEP/WPA-PSK/WPA-EAP)?

I use WPA2-PSK

> Also, does setting Power Saving to "Off" help? (Settings > Internet Connections

The connection does not drop only if I set the Power saving option to off
Comment 6 Philippe Andersson 2010-02-03 16:08:16 UTC
Symptoms (and workaround) seem identical to bug #7277.
Comment 7 Philippe Andersson 2010-02-03 16:09:27 UTC
*** This bug has been confirmed by popular vote. ***
Comment 8 toni.laroma 2010-02-04 00:40:52 UTC
(In reply to comment #4)
> I'm wondering if this is another copy of bug 6416.
> So you don't have to reboot the N900 to connect again?
> 
> Can everybody running into this please provide data Router make and model,
> Firmware version, Hardware revision, encryption settings
> (open/WEP/WPA-PSK/WPA-EAP)?
> Also, does setting Power Saving to "Off" help? (Settings > Internet Connections
> > Connections > Edit > Next > Next > Next > Advanced > Other > Power saving)
> 

This happens everywhere at work, home, cafeterias, hotel lobbies, abroad etc.
So, I don't think that listing data routers is not quite possible to do. The
problem doesn't exist if I turn off the WLAN power saving, but that's a drag.
Comment 9 Philippe Andersson 2010-02-04 09:52:25 UTC
I turned off the WLAN power saving as recommended, but I still got disconnected
yesterday night (on my home network).
Comment 10 Philippe Andersson 2010-02-08 12:53:36 UTC
Just a quick feedback:

The connection is much more stable since I disabled the powersave fearture,
but:

1./ I still got a short disconnect event. Here is the dmesg output at the time:
[29295.538116] wlan0: roaming signal from driver, sending HIGHSIGNAL
[29295.693817] slide (GPIO 71) is now open
[29296.561218] wlan0: roaming signal from driver, sending LOWSIGNAL
[29302.603881] wlan0: roaming signal from driver, sending HIGHSIGNAL
[29303.627258] wlan0: roaming signal from driver, sending LOWSIGNAL
[29307.928741] wlan0: roaming signal from driver, sending HIGHSIGNAL
[29309.362182] wlan0: roaming signal from driver, sending LOWSIGNAL
[...]
17 similar lines in total.

2./ With the powersave turned off, the battery completely drains in +/- 4 hours
(and that's just being connected -- WLAN + Skype, not actually playing with the
device).
Comment 11 Pavel Kotrč 2010-02-14 23:28:58 UTC
my modem is usr9108 - wpa-psk and I have the same problem with wifi.
Comment 12 Pavel Kotrč 2010-02-17 21:13:57 UTC
upgrade fw 3.2010-02-8 resolved my problem. Wifi works fine now.
Comment 13 Lauri Mylläri 2010-02-20 22:39:47 UTC
I have this problem too. Every ten minutes wlan gets disconnected.

(In reply to comment #4)
> I'm wondering if this is another copy of bug 6416.
> So you don't have to reboot the N900 to connect again?

Earlier I had to sometimes reboot when I got disconnected. With PR1.1.1 reboot
is not needed anymore and the device reconnects automatically.

> Can everybody running into this please provide data Router make and model,
> Firmware version, Hardware revision, encryption settings
> (open/WEP/WPA-PSK/WPA-EAP)?

Linksys WRT54GL running OpenWRT kamikaze r18416, hw v1.1, WPA2-PSK. "iwlist
scanning" reports encryption like this:
                   IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK

> Also, does setting Power Saving to "Off" help? (Settings > Internet Connections
> > Connections > Edit > Next > Next > Next > Advanced > Other > Power saving) 

Yes, although it drains the battery in one night.


The following are typical log messages showing two disconnects (no activity
between them as device was idle) and the almost exactly ten minute interval:

Feb 20 20:18:13 Nokia-N900-42-11 wlancond[1285]: SIOCGIWAP: 00:00:00:00:00:00
Feb 20 20:18:13 Nokia-N900-42-11 kernel: [30459.325866] wlan0: deauthenticated
Feb 20 20:18:13 Nokia-N900-42-11 wlancond[1285]: Key clearing failed
Feb 20 20:18:13 Nokia-N900-42-11 wlancond[1285]: Setting BSSID
00:00:00:00:00:00
Feb 20 20:18:13 Nokia-N900-42-11 wlancond[1285]: Setting SSID: 
Feb 20 20:18:13 Nokia-N900-42-11 wlancond[1285]: Starting to associate
Feb 20 20:18:13 Nokia-N900-42-11 wlancond[1285]: Setting BSSID
00:12:17:dd:57:74
Feb 20 20:18:13 Nokia-N900-42-11 wlancond[1285]: Setting SSID: rez
Feb 20 20:18:13 Nokia-N900-42-11 kernel: [30460.033874] wlan0: authenticate
with AP 00:12:17:dd:57:74
Feb 20 20:18:13 Nokia-N900-42-11 kernel: [30460.044219] wlan0: authenticated
Feb 20 20:18:13 Nokia-N900-42-11 kernel: [30460.044281] wlan0: associate with
AP 00:12:17:dd:57:74
Feb 20 20:18:13 Nokia-N900-42-11 kernel: [30460.049011] wlan0: RX AssocResp
from 00:12:17:dd:57:74 (capab=0x411 status=0 aid=2)
Feb 20 20:18:13 Nokia-N900-42-11 kernel: [30460.049072] wlan0: associated
Feb 20 20:18:14 Nokia-N900-42-11 wlancond[1285]: SIOCGIWAP: 00:12:17:dd:57:74
Feb 20 20:27:19 Nokia-N900-42-11 wlancond[1285]: SIOCGIWAP: 00:00:00:00:00:00
Feb 20 20:27:19 Nokia-N900-42-11 kernel: [31005.889831] wlan0: deauthenticated
Feb 20 20:27:19 Nokia-N900-42-11 wlancond[1285]: Key clearing failed
Feb 20 20:27:19 Nokia-N900-42-11 wlancond[1285]: Setting BSSID
00:00:00:00:00:00
Feb 20 20:27:19 Nokia-N900-42-11 wlancond[1285]: Setting SSID: 
Feb 20 20:27:19 Nokia-N900-42-11 wlancond[1285]: Scan issued
Feb 20 20:27:20 Nokia-N900-42-11 wlancond[1285]: Scan results ready -- scan
active
Feb 20 20:27:20 Nokia-N900-42-11 wlancond[1285]: Starting to associate
Feb 20 20:27:20 Nokia-N900-42-11 wlancond[1285]: Setting BSSID
00:12:17:dd:57:74
Feb 20 20:27:20 Nokia-N900-42-11 wlancond[1285]: Setting SSID: rez
Feb 20 20:27:21 Nokia-N900-42-11 kernel: [31007.214813] wlan0: authenticate
with AP 00:12:17:dd:57:74
Feb 20 20:27:21 Nokia-N900-42-11 kernel: [31007.219360] wlan0: authenticated
Feb 20 20:27:21 Nokia-N900-42-11 kernel: [31007.219421] wlan0: associate with
AP 00:12:17:dd:57:74
Feb 20 20:27:21 Nokia-N900-42-11 kernel: [31007.225402] wlan0: RX AssocResp
from 00:12:17:dd:57:74 (capab=0x411 status=0 aid=2)
Feb 20 20:27:21 Nokia-N900-42-11 kernel: [31007.225433] wlan0: associated
Feb 20 20:27:21 Nokia-N900-42-11 wlancond[1285]: SIOCGIWAP: 00:12:17:dd:57:74
Comment 14 Stefan Möhl 2010-02-22 18:45:04 UTC
I would like to add some observations on this bug:

I have a Zyxel G-570S wireless access point with the same silent disconnect
problem as the others in this thread are reporting.

The network works if I reconnect (a reboot is NOT required), but only for a few
minutes. When the network disconnects, this is not indicated in any way (i.e.
the WLAN icon still shows, Conky reports signal strength, etc), but
applications that need the network fail.

I have noticed that the problem gets worse when signal quality is marginal,
i.e. when I am far away from the access point. When signal strength is high
(90%-100%), the network will stay up much longer (maybe 30 minutes). When
signal strength goes down to around 10%, the network will only stay up for a
few seconds. 

I keep power saving at the "intermediate" level, which seems to work
reasonably. The connection duration before silent disconnect isn't noticeably
longer if I completely disable power saving. At full power saving, it seems I
hardly get enough connection duration to download even a single web page.

I have not yet succeeded in upgrading to 1.1.1 (due to an unrelated problem) so
I can't tell if the latest update changed the situation.
Comment 15 Stefan Möhl 2010-04-08 19:38:41 UTC
I am upgraded to 1.1.1 with apt-get, but the problem persisted for me. However,
I recently found a workaround for this problem:

I changed the encryption mode for the troublesome access point (a Zyxel
G-570S). I used to have it on WPA-PSK encrypting with TKIP, and changed it to
WPA2-PSK encrypting with AES. This resolved the problem for me. I confirmed by
going back to WPA-PSK with TKIP for a day, which re-introduced the problem. I
believe that WPA2 optionally allows TKIP as encryption mode, but I haven't
tried that yet, so I am not sure if it is WPA2 or the AES encryption mode that
resolved it for me.

It's worth noting that my office WLAN (a Linksys WAP54G ver 3.1) has been
running on WPA-mixed and AES+TKIP without any problems since 1.1.1.
Comment 16 kotj 2011-06-27 23:45:12 UTC
same exact problem, running the (bleeding-edge wl1251 driver for Maemo
Fremantle).
I'm not sure if this is the case for everyone else, but it would be some key
info to add.

RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM
RX-51_2009SE_20.2010.36-2.002_PR_COMBINED_002_ARM

router/modem: SMC Networks SMCD3GN (Broadband)
I've tried various settings on the router but it doesn't seem to make a
difference. Although there is another wifi connection here running ADSL and
there is no problem staying idle on that AP. 

So yeah, same problem as everyone else, connection times out after 5-10-15 mins
while idle.. but if i keep something on that uses the connection like irssi,
then it doesn't time out. (with or without power saving on).

Power saving is turned off and i remain connected even if idle, but its a major
problem because my battery dies so quickly.
Comment 17 kotj 2011-06-27 23:46:29 UTC
same exact problem, running the (bleeding-edge wl1251 driver for Maemo
Fremantle).
I'm not sure if this is the case for everyone else, but it would be some key
info to add.

RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM
RX-51_2009SE_20.2010.36-2.002_PR_COMBINED_002_ARM

router/modem: SMC Networks SMCD3GN (Broadband)
I've tried various settings on the router but it doesn't seem to make a
difference. Although there is another wifi connection here running ADSL and
there is no problem staying idle on that AP. 

So yeah, same problem as everyone else, connection times out after 5-10-15 mins
while idle.. but if i keep something on that uses the connection like irssi,
then it doesn't time out. (with or without power saving on).

Power saving is turned off and i remain connected even if idle, but its a major
problem because my battery dies so quickly.