Internet problems through XP SP2
I know I could have phrased my title better but here goes:
I am having slight difficulty with Internet connection sharing. I'm running Ubuntu 6.06LTS upstairs through 100MBs Ethernet. The gateway is a Win XP SP2 that connects directly to the net. When I get the connection running to the Linux box upstairs it only works for about 3 minutes. Then it completely stops and I can't get a ping through. The connection to the Internet is still running but the Ethernet is not communicating at all. I know it should work because, before I upgraded to 6.06LTS I had it running on 5.10 and it worked just fine then. Can anyone solve this conundrum? (Let me know if you can't understand any of it and I'll explain further. :) ) |
Can you still ping by address between XP and Ubuntu boxes? If not, can you post the output of /sbin/ifconfig -a after things have stopped working?
You might also want to look through your system logs to see if there are any clues. |
I'll do that as soon as I can. Thanks.
Actually, I cannot ping between the boxes even by address. I have my system monitor on my desktop and all communications just stop. I will post all the info I get from ifconfig. |
I've finally got round to getting everything up again after Christmas.
This is the output from ifconfig: Quote:
|
Output of ifconfig looks good to me. Indeed this is a conundrum. Have you checked your system logs for any clues? Beyond that, the only things that occur to me that you might consider are:
|
If I reboot ubuntu then the connection is connected for the same brief time as before. If I restart XP then it also reconnects but only lasts the same 3 minutes.
My Ethernet is NOT firewalled on XP. I'm not entirely sure about the firewall status on hte Ubuntu machine. BTW: I would rather not re-install the old version of Ubuntu. Incidentally, which part of the system log do you want posted? |
Quote:
This is if the two computers are directly connected together (to my knowledge). If they are connected through a hub, there is a remote possibility something has gone flacky with the hub. (See my live CD suggestion below.) Quote:
Code:
sudo iptables -nvL Code:
sudo iptables -P INPUT ACCEPT Quote:
Quote:
|
Hmmm... Today I booted them up and it's all worked fine. I've accessed my SAMBA share and the net from The Linux box.
This really has me scratching my head. BTW: The network switch is brand new and I've had absolutely no problems with it. The only problems I've actually had with the physical connections are the rather dodgy DIY cables. ;) |
When you are having difficulties connecting, are there any difficulties on the windows machine itself? Could you walk to the windows machine and try a ping to an address on the net? Possibly a better idea is to try and see where the difficulties lie. On Linux you can run a traceroute address (substitute the ip address or www.name.com for address.) On windows it is abbreviated tracert. Good luck.
|
I spoke too soon!!! It's not working! I occasionally get pings through via IP but can't do anything useful. (e.g access SAMBA, net, etc.)
There are no problems with the windows machine (other than it running windows! :P ) and I'm posting this from Windows. As opposed to my previous post which was posted from the Linux box. BTW: I've always used 12.110.110.204 as my test IP. It's in the US so it's a fair way to go. |
You seem to be narrowing your problems down. Connectivity remains from the windows 'router' box. The difficulty therefore seems to actually be the connection between the Linux and Windows machines. I would first check /etc/resolv.conf on your Linux machine to make sure that the 'server' is the first entry. Temporarily I would eliminate all iptables entries, especially if you are doing natting. The final thought I have is that your NIC may be problematic. For some reason, I have always found the most problems with internal modems and NICs.
|
You've already mentioned having issues with your cables. Are you sure that's not the problem now? It seems to me that would be a great candidate for intermittent problems, although the originally presented problem seems a bit difficult to explain.
|
Thanks apolinsky. I followed UR advice. Suddenly everything works properly. the ethernet connection even survived a timeout by the Dialup modem connection. (Happens every 2 Hours 2 seconds precisely!)
blackhole54: The issue with the cables is minor scarring on the modular plug contacts where I used a flat-head screwdriver to push them into the wire. Because I couldn't afford the crimper. There's been no connection problems due to the cables themselves, it seems to have been software all along. (Thank goodness. If it had been hardware I would have had to do something stpuid. Like rip up a piece of cable that took me (and my dad. Credit where it's due) over half an hour to go 1 foot. (long story) ) Thanks to everyone for helping out. Everyone's really friendly in the Linux Community :) |
All times are GMT -5. The time now is 04:16 AM. |