Sending poweroff command over LAN.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux