Internet connection work for 5 min get slow and stop
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Internet connection work for 5 min get slow and stop
Hi,
I just a got a thinkpad t23. I just installed gentoo linux on it. But I am having a really annoying problem with my internet connection. I use kde konqueror to browse the net but the same problem happens when I am using mozilla, giFT, etc... or any of my software trying to access internet.
In fact after about 4 to 5 min browsing, my connection get quickly slow and stop.
I have to type "/etc/init.d/net.eth0 restart" to get it to work again. And it is so annoying, since I cannot download any big file off internet.
I have tried to recompile my entire computer with a newer gcc with -02 optimization thinking that it could have been a mistake done by too much optimization, since I had that optimization option set up to -0s in my /etc/make.conf
But know had improved after about a day and 5 hours of compilation.
No it doesn't do the same thing when I use livecd. I have a gentoo livecd and I used it to install gentoo linux on my computer and everything went just fine.
Today in class, I was talking to class mate who sugest me to change dhcpcd by another dhcp client. I will be trying it and see what it does. Or I will try first to assign myself and static ip and see what happen.
But if you have any suggestion, please let me know.
Not sure about gentoo.. but does your router or modem change your /etc/resolv.conf nameservers to some internal addresses? its something to do about dhcp lease time..
I just try disabling dhcpcd and I try to set up my ip manually, but it still do the samething. I am really running out of solution. I have also set up all the right dns nameserver in my /etc/resolv.conf.
If it wasn't setup right I wouldn't be even able to browse internet for the few minute that i can before it stops. So I do not think the problem comes from that. I was thinking it was dhcpcd, but nope.
I hope there is somebody out there who can help me.
I had a problem once with an a-link modem/router which overrided the dns-server with 10.0.0.2, it was extremly slow but worked tho.. i had to set up my dns servers statically.
before after the problem there is no other modules added. I have compiled most of kernel code as modules to be sure that there was no other unused module that could be affecting my network card. I am going to check on that dns think. Thanks guys. Wonderful linux comunity, you don't get the samething with micro$oft.
I have also realized that when it stops before I type "/etc/init.d/net.eth0 restart" to restart it, everything work slow, just like there was a process that was taking most of the processor throughtput. I was listing to music with xmms and it stopped saying that it couldn't open the aRts something, I guess the sound server that I use with kde. I must be a process that is running bad, but I can't tell with one.
Concerning the dns overiding, how I can disable it, if it is the case.
Thanks again.
before after the problem there is no other modules added
yes, of course... but what i wanted to see was whether the module for your NIC stopped being used when the problem kicked-in... in order to see this i would need a before and after snapshot...
either way, is your NIC's module the "e100"?? cuz the lsmod output you posted says it's not being used, which is what i feared:
I have also realized that when it stops before I type "/etc/init.d/net.eth0 restart" to restart it, everything work slow, just like there was a process that was taking most of the processor throughtput. I was listing to music with xmms and it stopped saying that it couldn't open the aRts something, I guess the sound server that I use with kde. I must be a process that is running bad, but I can't tell with one.
have a "top" running in an xterm while the problem occurs, it should show you which process, if any, is eating away at your cpu cycles...
also, does anything get output to your logfiles when the problem accurs??
the e100 35716 0 is always like that, before it starts acting like that and after it start acting weird. I think that the 0 at the end mean that there is not external module using the e100, probably an internal kernel module. In that case it is count when writting lsmod.
When I was install gentoo, I did not install anything for log, because I was thinking that it was going to eat up cpu cycles for something that i do not read often. But i am installing syslog-ng to see what is going on, I do not have much choice right now.
Thank you for all your help, I will appreciate more suggestion, and I will keep y'all inform of what is going on.
the e100 35716 0 is always like that, before it starts acting like that and after it start acting weird. I think that the 0 at the end mean that there is not external module using the e100, probably an internal kernel module. In that case it is count when writting lsmod.
i'm not so sure about this... it sounds very strange, i would expect the 0 to be a 1 if the module is being used... much like the e100 module in the lsmod example over here: http://www.redhat.com/docs/manuals/l...l-modules.html
BTW: could you post the output of lspci please??
BTW2: have you tried the eepro100 module to see if it makes any difference??
Sorry for my late response.
Syslog-ng did not seem to know what was going on at all. I had alread tried the eepro100 module and I remember that it was doing the samething, I am going to try again and see, and see if building them directly in the kernel change something to the outcome.
This is what I have with lspci -v
Thanks again.
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 02)
Subsystem: IBM ThinkPad A/T/X Series
Flags: bus master, fast devsel, latency 0
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [40] Vendor Specific Information
Capabilities: [a0] AGP version 2.0
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM ThinkPad A/T/X Series
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1800 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM ThinkPad A/T/X Series
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1820 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM ThinkPad A/T/X Series
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1840 [size=32]
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 01)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: IBM ThinkPad A/T/X Series
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at 1860 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 01)
Subsystem: IBM ThinkPad A/T/X Series
Flags: medium devsel, IRQ 11
I/O ports at 1880 [size=32]
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 01)
Subsystem: IBM ThinkPad T23 (2647-4MG) or A30/A30p (2652/2653)
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1c00 [size=256]
I/O ports at 18c0 [size=64]
01:00.0 VGA compatible controller: S3 Inc. SuperSavage IX/C SDR (rev 05) (prog-if 00 [VGA])
Subsystem: IBM ThinkPad T23 (2647-4MG)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at c0100000 (32-bit, non-prefetchable) [size=512K]
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Memory at e4000000 (32-bit, prefetchable) [size=64M]
Memory at e0000000 (32-bit, prefetchable) [size=32M]
[virtual] Expansion ROM at e2000000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Capabilities: [80] AGP version 2.0
02:02.0 Communication controller: Agere Systems WinModem 56k (rev 01)
Subsystem: AMBIT Microsystem Corp. IBM ThinkPad T23 (2647-4MG)
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at c0201000 (32-bit, non-prefetchable) [size=256]
I/O ports at 6440 [size=8]
I/O ports at 6000 [size=256]
Capabilities: [f8] Power Management version 2
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 41)
Subsystem: IBM ThinkPad A/T/X Series
Flags: bus master, medium devsel, latency 66, IRQ 11
Memory at c0200000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 6400 [size=64]
Capabilities: [dc] Power Management version 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.