Installed FreeBSD 10.1 and am currently trying to get a UPS running.
After about 60 seconds I get:
And when I shut down the service and run apctest I get:
Anyone willing to tell me what I'm doing wrong?
I've been searching Google for days.
Kinda at my wits end.
root@Washington:/usr/local/etc/apcupsd # uname -Kmi
Code:
amd64 GENERIC 1001000
root@Washington:/usr/local/etc/apcupsd # cat apcupsd.conf
Code:
## apcupsd.conf v1.1 ##
UPSNAME APC01
UPSTYPE usb
DEVICE /dev/ugen0
LOCKFILE /var/spool/lock
UPSCLASS standalone
UPSMODE disable
root@Washington:/usr/local/etc/apcupsd # apcaccess status
Code:
APC : 001,018,0449
DATE : 2015-10-31 15:20:44 -0400
HOSTNAME : Washington
VERSION : 3.14.13 (02 February 2015) freebsd
UPSNAME : APC01
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2015-10-31 15:20:12 -0400
STATUS : COMMLOST
MBATTCHG : 10 Percent
MINTIMEL : 5 Minutes
MAXTIME : 0 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC : 2015-10-31 15:20:44 -0400
After about 60 seconds I get:
Code:
Broadcast Message from tim.falardeau@Washington
(no tty) at 15:21 EDT...
Communications with UPS lost.
And when I shut down the service and run apctest I get:
root@Washington:/usr/local/etc/apcupsd # apctest
Code:
2015-10-31 15:23:53 apctest 3.14.13 (02 February 2015) freebsd
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
apctest FATAL ERROR in apctest.c at line 321
Unable to open UPS device.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed
Anyone willing to tell me what I'm doing wrong?
I've been searching Google for days.
Kinda at my wits end.