Wakeup from sleep, fails to connect to wifi

Archived topics about LMDE 1 and LMDE 2
Locked
wulftone

Wakeup from sleep, fails to connect to wifi

Post by wulftone »

Hey all,

I just updated to Update Pack 4, and installed cinnamon.. pretty decent so far, though I do miss compiz's flexibility and ease-of-configuration. My issue is with the wifi. Here's the symptoms: I connect to wifi, then I close my laptop lid, then I open it and it tries to re-connect to the same network, but fails with "Authentication Required" and _no_ popup box for password or anything. I have to turn _off_ my wifi and turn it back on in order to connect. No idea what's going on or how to diagnose it... help?

Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
äxl

Re: Wakeup from sleep, fails to connect to wifi

Post by äxl »

What goes on when suspending is logged in /var/log/pm-suspend.log

As a general note: A good way to find out what's going on is to look at the output of

Code: Select all

dmesg | tail
This will basically give you the last lines of /var/log/kern.log
If that does not give a hint leave the '| tail' away or open the file directly and post the whole content.

:D http://torvalds-family.blogspot.de/2008 ... -hell.html
http://wiki.debian.org/Suspend
http://wiki.debian.org/Hibernation
wulftone

Re: Wakeup from sleep, fails to connect to wifi

Post by wulftone »

Output of `cat /var/log/pm-suspend.log`

Code: Select all

Wed Apr 25 13:18:36 PDT 2012: Awake.
Wed Apr 25 13:18:36 PDT 2012: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit resume suspend:
method return sender=:1.412 -> dest=:1.441 reply_serial=2

/usr/lib/pm-utils/sleep.d/95packagekit resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
Having NetworkManager wake interfaces back up...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
Running hook /etc/pm/sleep.d/20_samsung-tools resume suspend:

/etc/pm/sleep.d/20_samsung-tools resume suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:

/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.
Wed Apr 25 13:18:36 PDT 2012: Finished.
And this is from `dmesg`

Code: Select all

...
[22912.999584] Restarting tasks ... done.
[22913.021562] video LNXVIDEO:00: Restoring backlight state
[22913.656067] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[22913.669729] sky2 0000:07:00.0: eth1: enabling interface
[22913.671396] ADDRCONF(NETDEV_UP): eth1: link is not ready
[23056.886822] wlan0: authenticate with 00:1b:12:5a:42:21 (try 1)
[23056.888836] wlan0: authenticated
[23056.908551] wlan0: associate with 00:1b:12:5a:42:21 (try 1)
[23056.914085] wlan0: RX AssocResp from 00:1b:12:5a:42:21 (capab=0x431 status=0 aid=6)
[23056.914092] wlan0: associated
[23056.921650] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[23067.798633] wlan0: no IPv6 routers present
The part that starts at 23056 is after I manually re-started the wifi--at which point everything was fine, but it should have done that automatically. : \ Not sure what's going wrong.
äxl

Re: Wakeup from sleep, fails to connect to wifi

Post by äxl »

wulftone wrote:

Code: Select all

/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
Running hook /etc/pm/sleep.d/20_samsung-tools resume suspend:

/etc/pm/sleep.d/20_samsung-tools resume suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend:
Besides the Samsung part it looks the same for me. Do you know where you have samsung-tools from and could you reinstall it please?
dgrant

Re: Wakeup from sleep, fails to connect to wifi

Post by dgrant »

I have the exact same problem that you do, and it only started happening after I upgraded to the latest update pack. Did you ever manage to fix the problem?
wulftone

Re: Wakeup from sleep, fails to connect to wifi

Post by wulftone »

I removed samsung-tools, and there's no change in the behavior. It still fails to re-connect unless I cycle the wireless off/on.

@dgrant: Nope. Never fixed it! I've just been living with it... annoying, but whatever. I like Cinnamon regardless. Did you ever fix it?
wulftone

Re: Wakeup from sleep, fails to connect to wifi

Post by wulftone »

Anyone got any more ideas on this topic? I'm fresh out. It still fails to reconnect, and if I cycle the wifi power, it asks me for a password for my own network, even though it's stored. I just have to press enter after I cycle the wifi power, but it should just connect without the dialog box if the password is stored, right?
thesilverring

Re: Wakeup from sleep, fails to connect to wifi

Post by thesilverring »

I too had this problem. I fixed it by checking the "Available to all users" box in the "Wireless security" tab of the network options.

Network settings -> Wireless -> (select your network) -> options -> "wireless Security"
check the "Available to all users" box at the bottom.
wulftone

Re: Wakeup from sleep, fails to connect to wifi

Post by wulftone »

Ah, great. Thanks for that tidbit. Unfortunately I'm not using LMDE right now, so I can't verify. I installed regular Mint 13 Maya Cinnamon and it worked fine out of the box. I figured it was a permissions-esque thing.
ChipHobart

Re: Wakeup from sleep, fails to connect to wifi

Post by ChipHobart »

Hi there,

just encountered this issue, too, on one out of three laptops and your hint:
thesilverring wrote:I fixed it by checking the "Available to all users" box in the "Wireless security" tab of the network options.

Network settings -> Wireless -> (select your network) -> options -> "wireless Security"
check the "Available to all users" box at the bottom.
did do the trick! :-)

Thanks for sharing & Cheers, Erik
Locked

Return to “LMDE Archive”