When I put my pc to sleep or hibernate, after that when I open(wakeup) Ubuntu. My wireless connection cannot connect to internet.

So in this case I need to restart again... what is the solution?

  • Can you add some hardware information to your question? – Jorge Castro Jun 7 '11 at 3:02

try this:

Here is a technique that works for many. Please open Applications > Accessories > Terminal and do:


sudo lshw -C network

You will learn details about your wired and wireless card. For example, here is my wireless detail. You need the exact name of your wireless driver.


description: Wireless interface
product: PRO/Wireless 3945ABG [Golan] Network Connection
vendor: Intel Corporation
--- snip ---
configuration: broadcast=yes driver=iwl3945 ip=

Next do:


sudo gedit /etc/pm/config.d/config

The text editor gedit will open. Type in:



Substitute the driver name you found. Proofread carefully, save and close gedit.

Suspend and report your success.

  • Did not work for me :( – Colleen Jun 19 '12 at 14:37

I have a sony vaio vpc and have experienced the same problem. One thing that seems to work consistently is turning of my wireless before I suspend. My laptop has a button for this, so I just have to flick the switch. When I come back from suspend, I turn the wireless back on once I have logged in.


Perhaps you simply need to restart your network manager.

sudo systemctl restart NetworkManager

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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