-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 24 February 2003 12:47 pm, Graham Smith wrote:
On Fri, 30 Nov 2001 14:22, Christopher D. Reimer
wrote:
Greetings!
I'm thinking about getting an APC Back-UPS CS 350VA USB to automatically
shutdown my small file/DSL/firewall server (AOpen micro-ATX motherboard,
Cyrix M2-333Mhz, 128MB, 10GB IDE hard drive, SCSI cdrom drive, and no
monitor).
Does anyone have any experience with this particular UPS?
Does the stock SuSE 7.3 kernel support a USB UPS or do I have to hack and
patch the kernel to make it work?
Recommend a similar model with serial support for under $100 USD?
Thanks!
Christopher Reimer
I have not used that model APC UPS, but I suggest you have a look at the
following URL regarding software & interfacing.
http://www.sibbald.com/apcupsd/
I had little trouble with nut and a USB APC UPS:
1. Make sure the 'nut' package is installed
2. Edit /etc/sysconfig/smartups for the following values and run SuSEconfig:
SMARTUPS_MODEL="hidups"
SMARTUPS_DEVICE="usb/hid/hiddev0"
3. Edit /etc/init.d/ups and comment out the following lines (bit of an
oversight on SuSE's part):
# case "$SMARTUPS_DEVICE" in
# ttyS[0-9]|ttyS[1][0-9]|ttyS[2][0-3])
# ;;
# *)
# echo -n "change SMARTUPS_DEVICE in /etc/sysconfig/smartups"
# rc_failed 6
# rc_status -v
# rc_exit
# esac
4. Run 'insserv ups', then 'rcups start'
You should be able to use the following command to get the status:
upsc myups@localhost
You'll get output similar to mine:
host: myups@localhost
MFR: Generic
MODEL: Back-UPS ES 725 FW:802.n2.D USB
SERIAL: **********
STATUS: OL
BATTVOLT: 1.2
BATTPCT: 100
RUNTIME: 1275
LOADPCT: 2
If you want access from other systems, (I have two computers on mine) setup
the ACLs in /etc/ups/upsd.conf to grant 'monitor' access to your slave's
IP(s). Then you can run a second node in slave mode by simply setting
SMARTUPS_MASTER to your server's IP in /etc/sysconfig/smartups, then
SuSEconfig, 'insserv ups', then 'rcups start'.
If you want to use the nice CGIs, then you have to edit /etc/ups/hosts.conf.
Hope that helps.
- --
James Oakley
Engineering - SolutionInc Ltd.
joakley(a)solutioninc.com
http://www.solutioninc.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+WmU6+FOexA3koIgRAoAsAJ9LyBl4hWdPSx232NIdWkzUD3gEBACeNPrN
5SVQJp7EZr4Ifkp/DKKxMQc=
=q+je
-----END PGP SIGNATURE-----