Problem with internet connection dropping after a few minutes.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problem with internet connection dropping after a few minutes.
Hi. I just installed Peppermint on my old Laptop- 1GB RAM. I use a wireless connection from my smartphone for internet connection. It connects as soon as I boot the laptop. It works fine for about 5 minutes but then web pages won't load. When I reboot it works fine again for about another 5 minutes and stops. The wireless connection is still connected but web pages don't load. I have changed swappiness to 10 and 30 but did not solve the problem.
Any advice would be appreciated as I'm a newcomer to Linux.
Hi. I just installed Peppermint on my old Laptop- 1GB RAM. I use a wireless connection from my smartphone for internet connection. It connects as soon as I boot the laptop. It works fine for about 5 minutes but then web pages won't load. When I reboot it works fine again for about another 5 minutes and stops. The wireless connection is still connected but web pages don't load. I have changed swappiness to 10 and 30 but did not solve the problem.
Any advice would be appreciated as I'm a newcomer to Linux.
To be able to diagnose this further you would have to look into your system log files.
Code:
less /var/log/messages
is typically a good start in most linux distros. (I don't know peppermint.)
You may find error messages mentioning your wireless adapter (probably wlan0). Then put these into your favorite search engine to find more information.
Also check if you installed the right drivers for your hardware.
Code:
lspci
should show you information on your hardware which you can use to identify which drivers are needed.
Do you have any other OSes installed on that machine? If so, does wireless work find there? Or do you have the same issues. (Would indicate a hardware problem)
Do other machines work find in that wireless network? (Just to rule out the router as a root cause)
In the meanwhile, just as a less intrusive workaround - have you tried disabling network and reenabling it rather than rebooting?
Thanks for your advice. Will try and follow those steps. I'm using a wireless usb stick. Worked well in laptop using XP.I installed Lubuntu with XP first. Then Lubuntu only and now Peppermint only. Problem only with Linux OSs. (Network is fine as I'm using it on newer laptop). Disabling and enabling connection works but very annoying to have to do it every few minutes. Cannot complete certain tasks like downloading software as connection does not last long enough. Puzzling thing is it says " wi-fi connection active - 78%.
Thanks for your advice. Will try and follow those steps. I'm using a wireless usb stick. Worked well in laptop using XP.I installed Lubuntu with XP first. Then Lubuntu only and now Peppermint only. Problem only with Linux OSs. (Network is fine as I'm using it on newer laptop). Disabling and enabling connection works but very annoying to have to do it every few minutes. Cannot complete certain tasks like downloading software as connection does not last long enough. Puzzling thing is it says " wi-fi connection active - 78%.
Sounds very much like a driver issue. Can you post the model / chipset of your stick as well as the output of
joseph@joseph-Equium-A60 ~ $ sudo ifconfig wlan0 down
[sudo] password for joseph:
joseph@joseph-Equium-A60 ~ $ sudo iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C) :
SET failed on device wlan0 ; Operation not supported.
joseph@joseph-Equium-A60 ~ $ sudo ifconfig wlan0 up
joseph@joseph-Equium-A60 ~ $
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Are you using wireless manager or WICD. If you are with WICD is having some issues dropping connection so you might want to change it to Wireless Manager.
If you have Wireless Manager and still have problems then might be an issue with the driver of you Wireless adapter. Maybe you need to run a distro with a newer kernel.
Are you using wireless manager or WICD. If you are with WICD is having some issues dropping connection so you might want to change it to Wireless Manager.
If you have Wireless Manager and still have problems then might be an issue with the driver of you Wireless adapter. Maybe you need to run a distro with a newer kernel.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Quote:
Originally Posted by joe_2000
Do you mean wireless manager or network manager?
Thank you I meant Network Manager. It seems to be more stable than WICD. I like WICD for being lite but lately I have been switching to Network Manager for stability.
joseph@joseph-Equium-A60 ~ $ less/var/log/messages
bash: less/var/log/messages: No such file or directory
There should be a space between less and /var/log/messages
This will bring you to a pager where you can review the system log. Type / and a search string such as wlan0 to search for interesting messages. Type q to exit the pager.
Also please try using code tags when posting output of commands.
I am assuming you ran the command with the wireless stick plugged in? And the laptop itself does not have a wireless adapter?
Thanks for taking the time to explain the code tags. I'm afraid I'm very new to all this.I spent hours getting DVD player to work but got great satisfaction when I solved it-thanks to other posters' information. Still struggling with net connection dropping,even though it says "connected". Trying code tags at start and end here. Hope it works !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.