Mar 10, 2010

Fix Ubuntu Dropping Wireless on Suspend/Hibernate Resume

Problem:-You put the machine to sleep (suspend) or hibernate it. Arbitrarily sometimes the wireless connection picks up where it left off and you can carry on. Other times it doesn’t and the only easy way to get back your wifi is to reboot.

Solutions

To problem one, I’ve not tested this long enough but it seems to have done the trick. Yes it’s yet another bloody text configuration file. (Why does Linux need so much tweaking for heaven’s sakes, I still love the OS but it gets annoying after a while. Drop in replacement for Windows it isn’t yet…) In /etc/default/acpi-support there is a lot of things you can tweak. Notably what services are killed and restarted on suspend/hibernate.

Find the following line after opening this file (e.g. Alt+F2, and enter gksudo gedit /etc/default/acpi-support):

# Add services to this list to stop them before suspend and restart them in
# the resume process.
STOP_SERVICES=""

Change STOP_SERVICES to read:

STOP_SERVICES="networking"

Save the changes and close. With any luck this will fix the problem. What this will do is kill the networking service when you suspend/hibernate but also restart it afresh when you resume; hence there may be a few funny flickers from the Gnome Network-Applet on the panel. Certainly this seems to have worked as my Wireless interface is configured by default on my T40 with the 2100B as eth1 which when I run ifconfig when the wireless has screwed up on resume was not present. Even doing a sudo ifconfig eth1 up which brought it back in would not yield a result.

Article is just for sharing taken from :http://lilserenity.wordpress.com/2007/10/31/fix-ubuntu-dropping-wireless-on-suspendhibernate-resume/

No comments:

Post a Comment