View previous topic :: View next topic |
Author |
Message |
Shaun n00b
Joined: 19 Sep 2002 Posts: 12 Location: Kansas City area
|
Posted: Sun Sep 22, 2002 5:42 am Post subject: Need troubleshooting help |
|
|
I am having an occassional problem with network connectivity and am seeking a little help.
About 4 days ago:
I installed Gentoo and had networking configured and running great. I emerged a few apps. I started to emerge another app and it failed because it could not connect to any of the sites; was resolving the IPs OK though. I could ping all the sites as well. Decided to check the forums, but kept getting connection timed out errors for Gentoo and any other site I tried. Again I could resolve and ping fine. Assuming that not every webserver in the world could be down at the same time, I decided I had a problem. Rebooted. (Sorry, Win-Reaction) But in this case it helped. Immediately after the reboot, I could access web pages, So I tried the emerge again and it went without a hitch. I chalked up to just one of those things and went on with my life.
Tonight:
I logged on, read and sent email, browsed the forums, and then worked on some C tutorials (hello-world level stuff). After a couple of hours I decided to go to the Vim website but got connection timed out. Tried every site I could think of and had the same problem. Again I could resolve and ping fine. Rebooted and all was well again. So I immediately came here for some help. Should have tested email, ftp, and ssh to see if those worked, but I did not think of it till during the reboot.
My feeling is this is a hardware issue. Is there a way to re-initialize the NIC without rebooting when this happens to test? Any other ideas on how to troubleshoot this? Any guidance would be appreciated. _________________ Shaun Milliken |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Sep 22, 2002 5:54 am Post subject: |
|
|
Are there any other kernel support options for your NIC? Some read experiemental or whatnot.
You can try /etc/init.d/net.eth0 stop and then /etc/init.d/net.eth0 start (Assuming you use eth0 of course). _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Shaun n00b
Joined: 19 Sep 2002 Posts: 12 Location: Kansas City area
|
Posted: Sun Sep 22, 2002 5:06 pm Post subject: |
|
|
The NIC is an Intel Corp. Ethernet Express Pro 100. I am not sure what you mean by other kernel support options. It is an older card and I am pretty sure the drivers are really mature at this stage.
Thanks for the "/etc/init.d/net.eth0 stop and then /etc/init.d/net.eth0 start" tip. I will try that next time before rebooting. _________________ Shaun Milliken |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Sep 22, 2002 11:46 pm Post subject: |
|
|
Shaun wrote: | The NIC is an Intel Corp. Ethernet Express Pro 100. |
Make sure you're using the correct kernel driver:
Code: | cat /usr/src/linux/.config |grep EEPRO |
Should output something like
Also, what kind of an internet connection are you on? (cable, T1, etc.)
Shaun wrote: | Thanks for the "/etc/init.d/net.eth0 stop and then /etc/init.d/net.eth0 start" tip. |
You can also just do:
Code: | /etc/init.d/net.eth0 restart |
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
Shaun n00b
Joined: 19 Sep 2002 Posts: 12 Location: Kansas City area
|
Posted: Mon Sep 23, 2002 2:13 am Post subject: |
|
|
klieber-
I have a cable internet connection through a Linksys router; all IPs are static. During these instances, other machines are not experiencing the same thing.
Code: |
shaun@boddhi shaun $ cat /usr/src/linux/.config | grep EEPRO
CONFIG_EEPRO100=y
shaun@boddhi shaun $
|
_________________ Shaun Milliken |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Sep 23, 2002 3:08 am Post subject: |
|
|
When this happens, do you see ping dropping packets excessively? Can you connect to the same site using other browsers (or even links)? Also, if you do a "wget -O - <site>", can you see anything? |
|
Back to top |
|
|
Shaun n00b
Joined: 19 Sep 2002 Posts: 12 Location: Kansas City area
|
Posted: Mon Sep 23, 2002 3:49 am Post subject: |
|
|
Naan Yaar wrote: | When this happens, do you see ping dropping packets excessively? |
Ping produces good results. No packets lost at all.
Naan Yaar wrote: | Can you connect to the same site using other browsers (or even links)? |
I do not have another browser installed. But I can not connect to any site directly or through bookmarks.
Naan Yaar wrote: | Also, if you do a "wget -O - <site>", can you see anything? |
I think (remember I'm new) that emerge uses wget to download the source(correct?). And emerge failing to connect is what first brought my attention to the issue. I will have to try that next time it happens with the -O option though. Added to my 'try this' file.
Thanks, _________________ Shaun Milliken |
|
Back to top |
|
|
|