Hi!,
Quote:> I have an old 486/33 running as a firewall/gateway/router for my home
> network. I have unhooked the monitor from and the only way that I access
> it is over the network. On occassion something will happen and I lose all
> connectivity to it and the Internet. I'm assuming that the network service
> crashes. So the only way to get it back is to cycle the power on it and
> then wait as it slowly comes back. So now that I have given a little
> background let me layout my questions.
> First, what could cause the network service to crash like that? ping of
> death?
Anything, there is just not enough information here to make a judgement. It
could be anything from a faulty motherboard, bad network connection to a power
spike. If your system kept losing the connection in a particular set of
circumstances, then it might lead to something like APM but I doubt that your
486/33 has got APM support in it. Additionally, I am pretty sure that your
Linux distribution probably doesn't have APM working on it.
Quote:> Next, what could I run on the box to restart the network service if this is
> what happens? some kind of script?
Depends on what sort of fault it is. Does the computer continue to respond,
such as whether or not the caps lock light flashes when you connect the
keyboard or does it come to a complete halt.
If it is just the link that fails, all you need to do is right a quick script
which tries to ping some outside site. If it gets 100% packet loss or some
other error message, just do a /etc/rc.d/init.d/network restart and that
should solve the problem.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+