You are not logged in.

#1 2012-04-11 09:08:40

Padfoot
Member
Registered: 2010-09-03
Posts: 381

[SOLVED] Network Manager cannot connect to wifi after suspend

Hi,

There appears to be similar threads recently, but they relate to no wifi at all. I did some updates today, and now if I suspend or hibernate, network manager cannot reconnect to my wifi. It will (after a while) ask me to authenticate, but still fails. Nothing works except a reboot where it connects without issue.

It was fine yesterday, has only started today. Here is my pacman log for today's updates:

[2012-04-11 17:13] upgraded libpciaccess (0.13-1 -> 0.13.1-1)
[2012-04-11 17:13] upgraded lib32-libpciaccess (0.13-1 -> 0.13.1-1)
[2012-04-11 17:13] upgraded mpd (0.16.7-3 -> 0.16.8-2)
[2012-04-11 17:13] upgraded xorg-server-common (1.12.0.901-1 -> 1.12.0.902-1)
[2012-04-11 17:13] upgraded xorg-server (1.12.0.901-1 -> 1.12.0.902-1)
[2012-04-11 17:13] upgraded xorg-server-devel (1.12.0.901-1 -> 1.12.0.902-1)
[2012-04-11 17:13] upgraded xorg-server-xephyr (1.12.0.901-1 -> 1.12.0.902-1)

Here is my messages log:

Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Auto-activating connection 'Padfoot'.
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0) starting connection 'Padfoot'
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0/wireless): connection 'Padfoot' has security, and secrets exist.  No new secrets needed.
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Config: added 'ssid' value 'Padfoot'
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Config: added 'scan_ssid' value '1'
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Config: added 'psk' value '<omitted>'
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> Config: set interface ap_scan to 1
Apr 11 18:38:28 localhost NetworkManager[1475]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Apr 11 18:38:29 localhost NetworkManager[1475]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Apr 11 18:38:53 localhost NetworkManager[1475]: <warn> Activation (wlan0/wireless): association took too long.
Apr 11 18:38:53 localhost NetworkManager[1475]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Apr 11 18:38:53 localhost NetworkManager[1475]: <warn> Activation (wlan0/wireless): asking for new secrets
Apr 11 18:38:53 localhost NetworkManager[1475]: <info> (wlan0): supplicant interface state: authenticating -> disconnected
Apr 11 18:38:53 localhost NetworkManager[1475]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
Apr 11 18:38:53 localhost NetworkManager[1475]: <warn> No agents were available for this request.
Apr 11 18:38:53 localhost NetworkManager[1475]: <info> (wlan0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
Apr 11 18:38:53 localhost NetworkManager[1475]: <warn> Activation (wlan0) failed for access point (Padfoot)
Apr 11 18:38:53 localhost NetworkManager[1475]: <info> Marking connection 'Padfoot' invalid.
Apr 11 18:38:53 localhost NetworkManager[1475]: <warn> Activation (wlan0) failed.
Apr 11 18:38:53 localhost NetworkManager[1475]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 11 18:38:53 localhost NetworkManager[1475]: <info> (wlan0): deactivating device (reason 'none') [0]

Last edited by Padfoot (2012-04-13 23:47:55)

Offline

#2 2012-04-11 12:33:21

achilleas.k
Member
From: Sol 3
Registered: 2011-10-30
Posts: 117

Re: [SOLVED] Network Manager cannot connect to wifi after suspend

I have had the same behaviour for a couple of days with the same messages in my log.
Rebooting does not always help though.

Offline

#3 2012-04-11 19:46:58

heiko
Member
Registered: 2012-04-09
Posts: 9

Re: [SOLVED] Network Manager cannot connect to wifi after suspend

Hi Xlator,

did you update your kernel? Please check the output of

hwinfo --network

for driver module of your wifi.

I've had similar problems with linux-3.3.1 and my Atheros wifi (module ath9k). The solution I found here: https://bbs.archlinux.org/viewtopic.php?id=139274.

Last edited by heiko (2012-04-12 13:42:50)

Offline

#4 2012-04-12 09:10:47

achilleas.k
Member
From: Sol 3
Registered: 2011-10-30
Posts: 117

Re: [SOLVED] Network Manager cannot connect to wifi after suspend

I get an error on the link you posted "Bad request. The link you followed is incorrect or outdated."

Offline

#5 2012-04-12 13:43:33

heiko
Member
Registered: 2012-04-09
Posts: 9

Re: [SOLVED] Network Manager cannot connect to wifi after suspend

Sorry. Now the link should work.

Offline

#6 2012-04-12 16:30:35

achilleas.k
Member
From: Sol 3
Registered: 2011-10-30
Posts: 117

Re: [SOLVED] Network Manager cannot connect to wifi after suspend

I followed the series of linked threads to this post https://bbs.archlinux.org/viewtopic.php … 0#p1085620 and tried it since it seemed more straightforward to download and compile the module rather than apply diff patches.
Perhaps Padfoot would like to try that too.

Offline

#7 2012-04-13 22:17:42

heiko
Member
Registered: 2012-04-09
Posts: 9

Re: [SOLVED] Network Manager cannot connect to wifi after suspend

linux-3.3.2 is released on www.kernel.org and reverts the patch that introduced this problem.
For those using the arch repo kernel the next release will solve this issue. So I suggest waiting for this (no more than a few days) and use the LTS kernel in the meantime (or using a fixed ath9k module if already built).

Offline

#8 2012-04-13 23:47:01

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: [SOLVED] Network Manager cannot connect to wifi after suspend

heiko wrote:

linux-3.3.2 is released on www.kernel.org and reverts the patch that introduced this problem.
For those using the arch repo kernel the next release will solve this issue. So I suggest waiting for this (no more than a few days) and use the LTS kernel in the meantime (or using a fixed ath9k module if already built).

Thanks for that heiko. I thought that would be the case, hence I just waited.

Will mark this as solved.

Cheers.

Offline

Board footer

Powered by FluxBB