Hi, The apcupsd program has a master/slave mode that lets you do just this. You can find more information at: http://www.sibbald.com/apcupsd/3.8manual/configure.html Venkatesh > ----- Original Message -----=20 > From: Trevor Fraser=20 > To: clug-tech@clug.org.za=20 > Sent: Thursday, July 11, 2002 2:41 PM > Subject: Sending poweroff command over LAN. > > > Hello all. > > I've got two Red Hat Linux servers, one's a file server, the other a = > route/internet server. I've got an APC smart-UPS 1000. The UPS sends a = > shutdown signal to the file server via a serial cable. You can *$buy$*! = > an Interface Expander to get two serial ports out of the UPS, but isn't = > good old Linux capable of much more than the usual buy-buy-buy. > =20 > What I want to attempt to do is to get the server which is connected to = > the UPS, when powering down, to send the other server a = > poweroff/run-level 6 signal via the lan. > =20 > Is this possible? > > What proceedure would I use, and where would I find the relevent info? > > Is writing a shell script on the right track, or doesn't this work over = > the lan? > > Reguards, Trevor. > _______________________________________________ Redhat-devel-list mailing list Redhat-devel-list@redhat.com https://listman.redhat.com/mailman/listinfo/redhat-devel-list