Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I've just acquired myself an APC SmartUPS with a network management card that supports remote network client shutdowns. I've got it rigged up to my 2 D-Links...
...and I'm investigating the remote client shutdown facility of the management card. There is a PowerChute Network shutdown utility that runs on Java from Linux but I have a feeling that this won't work, because a) it runs on java and b) will a standard Linux shutdown command work on the D-Link?
I was also wondering if there was a way to interpret the command sent by the APC unit to shutdown the box and get the DLink to respond to it?
Any ideas?
Gareth.
Offline
gareth wrote:
I was also wondering if there was a way to interpret the command sent by the APC unit to shutdown the box and get the DLink to respond to it?
This discussion from summer 2006 might be a starting point: http://www.nabble.com/APC-PowerChute-Ne … 77425.html
Looks like they integrated support into a software called 'apcupsd'.
Offline
I use 'apcupsd' http://www.apcupsd.org/ on four winXP systems and a Kurobox (Buffalo Tech's NAS, running Fedora Core 4).
The apcupsd software works very well. All the APC UPS are connected to their systems via a USB cable.
I have one pair of winXP systems both pluged into the same UPS, each running apcupsd,
but only one system monitoring the ups (master/slave configuration). In the event of power failure,
the monitoring system will tell the other system (via ethernet) to shutdown.
If apcupsd was compiled to run on the DNS-323, it could be setup as a slave to monitored UPS, but
ideally I would like the DNS-323 to be able to monitor it's own UPS. In order to connect a UPS to the
DNS-323 USB port there are some USB modules needed. see: http://dns323.kood.org/forum/p2198-2007 … html#p2198
There is a thread http://dns323.kood.org/forum/t370-Shutt … ntrol.html
about remote shutdown for the DNS-323 that could be helpful to understand the DNS-323 shutdown procedure.
Offline
mig...thanks for giving all the references. I am a new owner of a DNS-323 and I would like to be able to hook it up directly to a UPS thru the USB port. As I am still very new in Linux, is there already a solution today that works? Could you provide details on how to do it? Thks.
Offline
A USB UPS needs all of these drivers - the USB device filesystem, the USB hub, the Human Interface Device subsystem driver, and the Human Interface Device driver. If you are compiling your own kernel, you want to enable
CONFIG_USB
CONFIG_USB_HID
CONFIG_USB_HIDDEV
CONFIG_USB_DEVICEFS
Because FW 1.03 does not have the required USB modules the DNS-323 can't communicate with a USB UPS.
These modules may be available if you are running a Debian installation (via chroot or native boot).
Perhaps someone running Debian on their DNS-323 could report if USB UPS communication is possible?
-- I think the lack of UPS support is one of the biggest short comings of the DNS-323, especially since the DNS-323
uses a non-journaling file system (ext2).
Last edited by mig (2007-10-25 16:15:42)
Offline
mig wrote:
These modules may be available if you are running a Debian installation (via chroot or native boot).
Perhaps someone running Debian on their DNS-323 could report if USB UPS communication is possible?
So are we saying that using the fun_plug is not enough to control the UPS?
Offline
skull29 wrote:
So are we saying that using the fun_plug is not enough to control the UPS?
If you have to use USB, you need to compile a new kernel. But the discussion I linked to above indicates that at least some UPSs send notifications via the network.
Offline