TechSomething

APCUPSD ETHERNET SERVER CLIENT

on server, /etc/apcupsd/apcupsd.conf:

UPSCABLE usb
UPSTYPE usb
DEVICE
NETSERVER on
NISIP 0.0.0.0 (or the net you want to serve)
NISPORT 3551

remember to open the port in iptables:

-A INPUT -i eth0 -p tcp -m tcp –dport 3551 -m comment –comment apcupsd -j ACCEPT

on client, /etc/apcupsd/apcupsd.conf:

UPSCABLE ether
UPSTYPE net
DEVICE x.x.x.x:3551

restart the service, to test the connection you can just issue:

#apcaccess

in the output you should see the lines:

UPSNAME : the same ups name on the server
CABLE : Ethernet Link
DRIVER : the same model on the server
SERIALNO : xxxxxxxxxxx