I am trying to set up NUT for the first time (should have been
running this for years), and running into confusion.
UPS is an APC SmartUPS, but I don't think I am far enough along for
it to be a problem.
Console message on connection is:
kernel: ugen0.5: <American Power Conversion Back-UPS XS 1000M FW:945.d11 .D USB FW:d11> at usbus0
So I configured:
[ups]
driver = apcsmart
port = /dev/ugen0.5
But running as root (su - from tcsh):
-=-=-=-=-=-=-=-=-
% /usr/local/etc/rc.d/nut start
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - APC Smart protocol driver 3.1 (2.7.4)
APC command table version 3.1
Unable to open /dev/ugen0.5: Permission denied
Current user id: uucp (66)
Serial port owner: root (0)
Serial port group: operator (5)
Mode of port: 0600
-=-=-=-=-=-=-=-=-=-
Everything about the port is correct, but I cannot figure out why
it thinks that the current user is uucp.
The same happens if I resolve the slink and give port as /dev/usb/
0.5.0.
--
|Drew Lawson | Mrs. Tweedy! |
| | The chickens are revolting! |