LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-29-2003, 05:15 PM   #1
McBrain
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
Router dies after while and is not reachable


Hi there,

I am using a Slackware 9.1 system on a very old pentium PC as a router and gateway. The connection to the net is done over a fritz dsl card and my normal desktop PC is connected to the router via an ethernet card.

It happens regular, that after some time (period changes) the router seems to die. It is not reachable anymore, but also logfiles are not written anymore. So it seems it really dies.
But this seems only to happen when my eDonkey is running on the desktop system (independent from the operating system, tried Windows and Linux). So it seems that something in this protcoll kills it! But I thought I implemented a firewall (mainly denying everythink incomming on the ppp0 device expect the eDonkey ports which are forwarded to the desktop).

Any idea what the problem is or how I can come closer to the solution?

Thanks and regards!
 
Old 10-31-2003, 10:46 AM   #2
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
what does the router machine show on the screen?
Does it still respond to the keyboard?
 
Old 11-01-2003, 01:09 AM   #3
clacour
Member
 
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Rep: Reputation: 16
First thought is that the hardware is old and tired and any kind of serious load kills it.

Somewhat related idea: bug in the driver for one of the two network devices is killing the machine, and increased activity triggers the bug.

A few ideas for tracking down the problem:

Write a small script to simply log the fact that the box is up. Pay careful attention to the time (and make sure ahead of time that both boxes have good time) when you reboot it. If the script continued to log right up until the time you rebooted it, the box isn't completely dead.
Quote:
#!/bin/bash

while :
do
date >> /tmp/lastup
sleep 1
done
Also look for gaps in that. On occasional one of one second is nothing to worry about, but if there are long gaps, or lots and lots of one and two second gaps, that means the systems bogged down very heavily.

If it stops when you first see the symptoms of the box's "death", then it really is locking up hard. That points to either a serious kernel bug (almost certainly in one of the network drivers) or hardware. (My money would be on hardware.)

If the box dies slowly, a trick I've found to be extremely useful is to set up a bunch of commands (examples: "vmstat 5 5", "netstat", "ps -ef", "tail -20 /var/log/messages","ifconfig", etc.) that you would LIKE to had the chance to run when the thing started screwing up. Run this script every 5, 10, 15 minutes -- whatever's appropriate to how long it takes to get messed up. (The closer together you're going to run it, the shorter it should be.)

Finally, put an entry in /etc/syslogd.conf that says "*.debug" and point it to some file (probably would be better not to make it your /var/log/messages file). That might get you some info on the problem that you currently can't see.

Hope this helps,

CHL
 
  


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
x server dies...dies...dead! aquaboot Linux - Software 2 08-28-2005 11:54 AM
Samba Server Not Reachable from WinNTClient joelin Linux - Networking 9 01-15-2004 06:24 AM
Getting a network not reachable in suse 8.1 TyrranzzX Linux - Networking 1 12-22-2003 09:59 AM
Samba server only reachable by IP address, not showing in Network Neighbourhood mdkelly069 Linux - Networking 14 11-10-2003 08:41 AM
DHCP: 1 hostname, 2 IP addresses, only 1 is reachable? agl Linux - Networking 2 09-21-2003 08:46 PM

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

All times are GMT -5. The time now is 04:01 PM.

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