>> Which machine is the UPS connected to? > mybox is the same machine as localhost
It may be on the same machine, but it is on a different interface. See below. >>> ups.conf: >>> [bongups] >>> driver = megatec_usb >>> port = auto >>> desc "UPS Mustek PowerMust 2000" >>> >>> upsd.conf: >>> ACL all 0.0.0.0/0 >>> ACL localhost 127.0.0.1/32 >>> ACL mybox 192.168.10.75/32 >>> >>> ACCEPT localhost >>> ACCEPT mybox >>> REJECT all >>> >>> upsd.users: >>> [admin] >>> password = pass >>> allowfrom = localhost >>> upsmon master >>> >>> [monuser] >>> password = pass >>> allowfrom = mybox >>> upsmon master >>> >>> upsmon.conf: >>> POWERDOWNFLAG /etc/nut/killpower >>> MONITOR [EMAIL PROTECTED] 1 monuser pass master >>> SHUTDOWNCMD "/sbin/shutdown -h +0" The above will only work if a DNS query for 'mybox' resolves into '192.168.10.75'. Note that in the MONITOR line, this should be a network address (see 'man 5 upsmon.conf'), not an entry from 'upsd.users'. When in doubt (and the upsmon client is running on the same machine as the upsd server), leave the address part out. Since quite a couple of versions, the 'localhost' address is used then (which is also explained in this manual page). Best regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57 _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

