[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shutdown
On Wed, 24 Sep 1997, Michael wrote:
> I installed RedHat 4.2 about one month ago and about one week ago I
> received the first message:
> network collision - maybe cable problem
> and after this message Linux die.
collisions happen all the time in Ethernet, it's no reason for "linux to
die". please define "dying"? does it freeze? do some resources freeze?
does it all keep on working, only the net connection is down?
most important: what card are you using? did you recompile the kernel or
are you using the original 2.0.30 you get from RedHat?
> I want to know if it is possible to write program that determine if
> connection was die and do "shutdown -r now" as root. Also this program must
> be run not more often then once in 10-20 minutes (maybe via cron).
again: what connection?
and yes, you could write a script that will ping to determine a failure to
access the net, Jonathan uses that to fire up his backup server in such a
case...
-------------------------------------------------------------------------
Ira Abramov <ira(a)scso.com> (mail ira-pgp(a)scso.com for the PGP key)
- References:
- shutdown
- From: Michael <michaels@sapir.makash.ac.il>