Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My eeePC Ubuntu (9.10) wireless connection stops working after returning from sleep or hibernation. The only thing that helps is restarting the machine.

Is there some way to reset networking without restarting the Ubuntu? I've already tried commands like

sudo ifconfig wlan0 down
sudo ifconfig wlan0 up

but it doesn't help. I have this problem for some months now and I couldn't find any good answers by googling around.

share|improve this question
up vote 2 down vote accepted
sudo /etc/init.d/networking restart
share|improve this answer
Thanks, unfortunately it still doesn't help. But I'll accept your answer since it's what I was asking about. – Igor Brejc Mar 4 '10 at 21:32
On Precise this says Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces. – Mechanical snail May 1 '13 at 4:44

After perusing numerous threads and articles about wireless just hanging for no reasons and forcing me to restart the computer, these are the only steps that ever got me my wireless connection back without rebooting.

1. Find out about the wireless card and its driver

lshw -C network

You should get some comprehensive output about your wireless and ethernet. What you're looking for is the line that has the name of the wireless card's driver. Mine looks like this:

 configuration: broadcast=yes driver=iwlagn ip= latency=0 [...]

There we go: driver=iwlagn.

2. Unload and reload its kernel module

sudo modprobe -r iwlagn
sudo modprobe iwlagn

I hope this works for you as it does for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.