I have an APC Back-UPS connected via USB to my Qnap NAS but I'd like to move it to my RT-AC87U running 384.13_1, which would then notify power events to the NAS, so I can keep monitoring the UPS status from the router after the NAS has shut itself down.
The Qnap uses NUT for this so I've installed it on my router from Entware but I'm having trouble getting it to work. All the configuration examples I could find online are made on fully featured Linux machines which doesn't help.
The simplest guide I've found to get the basics running is this but the first problem is the driver (nut-driver-usbhid-ups from Entware) isn't starting:
Could anyone using this on their router please let me know how you got it working?
The Qnap uses NUT for this so I've installed it on my router from Entware but I'm having trouble getting it to work. All the configuration examples I could find online are made on fully featured Linux machines which doesn't help.
The simplest guide I've found to get the basics running is this but the first problem is the driver (nut-driver-usbhid-ups from Entware) isn't starting:
Code:
grifo@r1:/tmp/home/root# upsdrvctl start
Network UPS Tools - UPS driver controller merge-with-ng-578-g9160132a
Network UPS Tools - Generic HID driver 0.41 (merge-with-ng-578-g9160132a)
USB communication driver 0.33
user root not found
Driver failed to start (exit status=1)
grifo@r1:/tmp/home/root#upsc apcups
Error: Connection failure: Connection refused
grifo@r1:/tmp/home/root#
Could anyone using this on their router please let me know how you got it working?