link dies intermittently-seemingly at random- between win<->linux not linux<->linux??
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.
link dies intermittently-seemingly at random- between win<->linux not linux<->linux??
I have a mandrake 10.1 box/server which I use to firewall a laptop at home and mandrake and winXP installed on the laptop. When I'm connected to the server with linux on the laptop I *never* have any problems. Yet when I boot the laptop into XP the link to the server (and the Internet) intermittently fails. Like once every fifteen minutes or so the link just dies and I get no response when I ping the server. Then, within three or four minutes, the link is back up again.
Has anyone any ideas what might be causing this? I would suspect a faulty ethernet card if it wasn't for the fact that when I connect in linux it never fails.
Has anyone any ideas how I might go about tracing the problem.
It is really frustrating when you're working - as I am at the moment - at getting that piece of sh*t IExploder to render CSS properly in php generated pages and every few minutes puTTy dies on you and you've got to wait around twiddling your thumbs for it to come back up and then get back into the directory on the server etc etc etc.
A *lot* of iptables dropped packets get logged much of which I have trouble understanding since I cobbled together the firewall script from various sources. A lot of stuff gets logged. As far as cat /var/log/messages | grep eth1 (the internal ethernet card) I notice something that seems to me a little strange:
172.24.0.1 is part of 172.16.0.0/12, reserved for private networks like 192.168.x.x.
Not sure if I'm reading this right but 00:0a:42 is a Cisco MAC address - do you have any Cisco gear on your network?
Back to the task at hand. I was expecting to see messages about link beat lost when your putty connection dies. Are the machines connected directly with a crossover cable or are they hooked up to a hub or switch? Could XP be pushing the laptop ethernet into a powersaving mode?
The computers are connected through a hub. The 'server' is connected to a cable modem through the same hub. Stupid of me not to guess it's probably the modem that has the address 172.etc
Looking at the settings for 'power options' in the control panel (is that where I'd look?) I can't see anything that you'd think would affect the network.
A hub, not a switch...so the network runs at 10Mbit? Perhaps XP is trying 100Mbit every so often - you should be able to force 10Mbit in device manager/properties of NIC if you're using a driver from the vendor.
Other than that, as your hardware works fine in Linux, the readers of a XP forum would probably be better equipped to advise on the mysteries of Redmondware.
Why would the network run at 10M because it's a hub not a switch? The hub is the dumb cheapo variety but it does have 10/100M etched on the casing. Anyway, I've had a squizz at the NIC properties (thanks for the suggestion) and it has an 'advanced' setting for link speed/duplex mode, currently set to auto-negotiation. I may just try out the other settings and see whether the link still fails. I'll let you know what happens though like you say, it may be better trying an XP forum (do they exist?)
wait 140+ seconds, and enjoy.
I've heard that someone had this 140 second bug, I still think it's a process who tries to connect and give windows expected failure after 140 seconds.
I know it sound stupid, but try it and lemme know if it's the same bug.
Thanks for the suggestions. I fixed the problem without ever figuring out why it only occurred while Windows was running. The firewall linux box was connected through a hub. Since I only have one computer here I need to connect to it I removed the hub in the middle and ever since it's worked fine.
So it was the hub? Well, I still have the linux box connected to the cable modem through the hub and there's never been any problems there so....
You should be able to ditc the hub and use the linux router, server & firewall machine directly connected to one of your nickcards on the aftermentioned box.You might have to reconfigure your firewall again but if you have done this once already it shoould be amatter of just taking the hub out of the loop between the machine acting as the router and plugging the routers Cat5 cable into the nick card that linux has designated as eth0 and installing the correct packages to run a dhcp server on eth1 for your internal network.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.