On 08/11/2007, Kevanf1 <kevanf1@gmail.com> wrote:
On 08/11/2007, Joe Zambon <joe.zambon@jznet.org.uk> wrote:
> Hi all,
>
> I've got an APC UPS that is currently powering my 24-port cisco switch and
> my server.  My server is running FreeBSD but doesn't have a serial port
> which the UPS needs for emergency shutdown.
>
> I'm soon to be adding a Winblowz server box into the network for testing,
> that box will have a serial port and can therefore run shutdown scripts when
> it is told that the power has f00bed and running on battery.  I need to work
> out a way of running the shutdown command on the fbsd box from windows
> automatically such as within a batch file.  I'm not entirely sure how i go
> about getting a windows box to shutdown a fbsd box remotely so does anyone
> have any ideas?
>
> All i've come up with is setting up a user that when they logon runs
> "shutdown -p NOW" and kills the server safely...then have a windows script
> to call putty, login and then issue that.  Again...i'm not sure how to go
> about it.
>

I take it we are talking a physical serial port on the FBSD box?  Why
not just add a port?  Or are there not any spaces available?  Or, is
it some weird and wonderful board?
--
==============================================

Kevan Farmer
Linux user #373362
Staffordshire

_______________________________________________
Staffslug mailing list
Staffslug@staffslug.org.uk
http://lists.staffslug.org.uk/mailman/listinfo/staffslug

Yeah i'm talking about a physical serial port.

In response to "why not just add a port"....well.....because it means buying a serial card...i'm a student...and therefore poor......ignoring the 100 quid I've just put in on a best offer on a cisco 2600XM router :)

Also this is good for future reference if i want to run management scripts for a *nix/*BSD from a windows box.