:: [DNG] Suspend blocks wifi
Forside
Slet denne besked
Besvar denne besked
Skribent: emninger
Dato:  
Til: dng
Emne: [DNG] Suspend blocks wifi
Suspend to ram (done by xfce powermanagement) soft blocks wifi. After a
suspend (to ram) i have to do a 'sudo rfkill unblock wifi' to reconnect.

I also tried with a little script i made for tinycorelinux to suspend
to ram:
----
#!/bin/sh
xscreensaver-command -lock &
sleep 3 && sudo su "root" -c "echo -n mem > /sys/power/state"
----
but with the same result.

In another *nix i do not have this problem: tinycore awakes and
connects, manjaro too and even slackware did.

Moreover, i note that wicd gets confused in some way and does not
connect automatically anymore once the wifi is unblocked, while when
using wpa_supplicant (via ceni) that's done.

Now, i vaguely remember (but please forgive it's 2,3 years ago) there
was a solution to this to automate the rfkill unblock wifi command
after a suspend, but i do not remember anymore HOW ...

TIA