LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-20-2005, 07:57 AM   #1
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Rep: Reputation: 15
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.

Any help-ideas-suggestions greatly appreciated!

---------------------------------------------------------------
http://hasperacu.zapto.org

Last edited by takahaya; 09-20-2005 at 07:59 AM.
 
Old 09-20-2005, 08:03 AM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
On the server:
cat /var/log/messages | grep eth

Any interesting errors/warnings?
 
Old 09-20-2005, 08:20 AM   #3
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
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:


Sep 20 08:58:30 pc65120 kernel: IPTABLES UDP-IN: IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0a:42:6e:d8:54:08:00 SRC=172.24.0.1 DST=255.255.255.255 LEN=419 TOS=0x00 PREC=0x00 TTL=255 ID=12680 PROTO=UDP SPT=67 DPT=68 LEN=399

Sep 20 09:03:59 pc65120 kernel: IPTABLES UDP-OUT: IN= OUT=eth1 SRC=192.168.3.1 DST=192.168.3.255 LEN=247 TOS=0x00 PREC=0x00 TTL=64 ID=4375 DF PROTO=UDP SPT=138 DPT=138 LEN=227

Sep 20 09:09:16 pc65120 kernel: IPTABLES UDP-IN: IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:0a:42:6e:d8:54:08:00 SRC=172.24.0.1 DST=255.255.255.255 LEN=413 TOS=0x00 PREC=0x00 TTL=255 ID=12872 PROTO=UDP SPT=67 DPT=68 LEN=393


My laptop ip is set to 192.168.3.2 (notice the second logged udp packet). But what of the other two? Why is the source 172.24.0.1??

(Perhaps I should mention that I don't see any warnings/errors in the messages log.

Last edited by takahaya; 09-20-2005 at 08:21 AM.
 
Old 09-20-2005, 09:03 AM   #4
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
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?
 
Old 09-20-2005, 09:48 AM   #5
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
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.

Thanks for your interest so far.
 
Old 09-20-2005, 10:05 AM   #6
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
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.
 
Old 09-20-2005, 05:54 PM   #7
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
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?)
 
Old 09-21-2005, 03:51 AM   #8
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
I was wondering if anyone might know of any decent Windows forums that might be in any way savvy to the problems I'm having?

---------------------------------
http://hasperacu.zapto.org
 
Old 07-07-2006, 04:24 AM   #9
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
do this at the windows when this happens

Code:
ipconfig /release
ipconfig /renew
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.
 
Old 07-13-2006, 05:43 PM   #10
takahaya
Member
 
Registered: Apr 2005
Location: Kansai
Distribution: Mandrake 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Thumbs up

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....

Perhaps one day I'll try your suggestion.
 
Old 03-09-2007, 10:37 PM   #11
inspiron_Droid
Member
 
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ip of my server changes, seemingly at random esteeven Linux - Networking 7 03-10-2007 08:18 AM
Mouse dies Intermittently then needs areboot to fix, 2.4 and 2.6 -0- Linux - Hardware 0 12-09-2004 08:11 PM
Can ping to win pc's and router but not Linux over vpn link. lobsiger Linux - Networking 0 03-30-2004 01:54 AM
9.1 installation freezes at seemingly random points mustardseed Slackware - Installation 2 03-02-2004 05:25 PM
Seemingly random hostname changes xanthumn Linux - Networking 2 01-21-2003 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration