• Quick note - the problem with Youtube videos not embedding on the forum appears to have been fixed, thanks to ZiprHead. If you do still see problems let me know.

Linux Mint laptop looses internet connection after resuming from sleep mode

Zelenius

Muse
Joined
Jul 8, 2008
Messages
908
This seems to be a common problem for many newbie Linux users like me. The laptop I am using is a relatively new Toshiba Satellite. It used to have Windows on it, but then I formatted the hard drive and switched to Ubuntu. Although I didn't lose the internet connection with Windows or Ubuntu when it went into sleep mode, I despise Microsoft and I hated the Unity interface of Ubuntu and switched to Linux Mint.

With the laptop I connect to the internet with my own wireless router(I get my broadband from the phone company and they provided the router). I use WPA security for the wifi signal. The internet works great and is fast, but if the laptop goes to sleep, upon resuming the connection is dead - even Wicd can't find my router or any wifi signals(it can normally detect around 10 of them from my neighbors). The only way to get my internet connection back is to restart my laptop, and I hate having to do this since it is time consuming and may damage the laptop. I tried to disabled sleep mode(first from the control center then from the BIOS) but it still goes into sleep mode. It needs to be on throughout the day for work; I do turn it off every night though.

This also happens to the laptop when I connect to the same router with an ethernet cable(I rarely use an ethernet connection for this laptop). Upon coming out of sleep(or suspend) mode, the internet connection is dead, but unlike with the wireless connection, Wicd can detect the ethernet connection but can't connect to it. I have a desktop computer with Linux Mint that is connected to the same router as the laptop but with an ethernet cable and it never loses its internet connection after coming out of sleep mode.

After typing "iwconfig" at terminal I get:

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"VVBBVDF"
Mode:Managed Frequency:2.437 GHz Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=19.5 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=69/70 Signal level=-41 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:135 Missed beacon:0

Also, in accessing the properties of my connection VVBBVDF in Wicd, just about everything, including "use static IPs", along with the info related to this, "use static DNS", "DHCP Hostname", and "Use these settings for all Networks sharing this essid" are not checked or blank. The only thing that is checked is "Use encryption".

I suspect this problem is security or WPA related. Thanks if you read this entire thing
 
I booted up on Mint (usb) to make this post, and see if mine had same issue, but sleep and hibernate do not function from USB. :blush:

If your only issue with Ubuntu Oneric Ocelot 11.10 is the Unity display, it is very simple to just turn it off. All you have to do at login screen is click on little gear icon by where you type user name and you can switch to old gnome version. I have 11.10 Ubuntu on my hard drive, and I do like Unity, however I only have 1gig RAM so I can not watch videos with Unity as it chews up memory. It works great for all other things.

Funny thing is when i booted up the Mint, the factory home page is

www.forums.linuxmint.com

If you are dead set on staying with Mint, I am sure answer is there.
 
At the risk of oversimplifying, have you tried bringing your wireless interface down and back up ? May not solve the problem, but may make it usable:
from a terminal
sudo ifconfig wlan0 down
sudo ifconfig wlan0 up
 
At the risk of oversimplifying, have you tried bringing your wireless interface down and back up ? May not solve the problem, but may make it usable:
from a terminal
sudo ifconfig wlan0 down
sudo ifconfig wlan0 up

When the laptop is connected to the internet, typing "sudo ifconfig wlan0 down" disconnects me, and "sudo ifconfig wlan0 up" gets me back on the net. However, after resuming from suspend mode "sudo ifconfig wlan0 up" doesn't connect me to the internet through my router. Wicd can't even find any wifi signals at all, not even my neighbors. This didn't work, but thanks.
 
after resuming from suspend mode "sudo ifconfig wlan0 up" doesn't connect me to the internet through my router. .

It may have been implied in your description, but after suspend did you do bring the interface down, then up ? or just do ifconfig wlan0 up ?
 
There appears to be a couple different choices in software management for network manager on my Mint distro perhaps your computer will prefer different one. It's an easy test to install and see.

I know I switched to wicd on my ubuntu install and had better luck switching back to the native manager, you may have already tried this?
 
Last edited:
There appears to be a couple different choices in software management for network manager on my Mint distro perhaps your computer will prefer different one. It's an easy test to install and see.

I know I switched to wicd on my ubuntu install and had better luck switching back to the native manager, you may have already tried this?

Man do I feel stupid. I just got rid of Wicd and switched back to the native network manager and it worked! Thanks! Now the internet works after resuming from suspend mode without having to reboot. I thought resolving this issue was going to be a lot more difficult.

Thanks again!
 
Man do I feel stupid.

No need for that. I feel better for being able to offer proper suggestion, as I had just been switching mine recently.

I can feel stupid when I have to post on the Ubuntu forum or in Linux forum, people there can sometimes make you feel like dirt. Plus the action there can be painfully slow, I think they avoid answering questions that seem obvious, as to not risk expert status among the old time posters. What really gets me is the old timers that just rattle off many sudo commands to beginners, that is just plain rude since they don't take time to make copy pasta, especially when the question asker says "I am new to Linux". What a turn off.

It's another thing I like about Linux, if part of OS isn't working for you, you change that part, 1.2.3. I'm not even sure if new windows allows this, I remember network manager with Vista was complete garbage, my friend had one.
 
Proprietary add-ons like the HP connections manager that came with the XP installed on my HP laptop can really get in the way as well. A good place to ask questions is the various subareas of stackexchange.com. There are a few ******** but their responses get voted down I usually find.
 

Back
Top Bottom