Please note that this blog has been moved.
Now it has its own domain: mynixworld.info 🙂
If you want to read the latest version of this article (recommended) please click here and I open the page for you.
Whenever I have suspend/resumed my Gentoo system I found my wifi network status as started but actually not working.
- create a /etc/pm/sleep.d/50wifi (with +x permission) with the following code:
#!/bin/bash case $1 in suspend) echo "Stopping wifi" /etc/init.d/net.wlan0 stop > /dev/null ;; resume) echo "Starting wifi" /etc/init.d/net.wlan0 start > /dev/null ;; esac