Citeren Roger Price <[email protected]>:
But if only ::1 is commented out
# /etc/ups/upsd.conf
# LISTEN <address> [<port>]
LISTEN 127.0.0.1 3493
# LISTEN ::1 3493
then NUT only listens to 127.0.0.1 (openSUSE 11.3)
Nov 10 09:34:24 glacon usbhid-ups[4282]: Startup successful
Nov 10 09:34:24 glacon upsd[4285]: listening on 127.0.0.1 port 3493
Nov 10 09:34:24 glacon upsd[4285]: Connected to UPS [Eaton-66781]:
usbhid-ups-Eaton-66781
Nov 10 09:34:24 glacon upsd[4286]: Startup successful
Nov 10 09:34:24 glacon upsmon[4289]: Startup successful
Nov 10 09:34:24 glacon upsd[4286]: User [email protected] logged
into UPS [Eaton-66781]
This fixes my problem with openSUSE 11.3. Is this how it should work?
Yes. Only if no LISTEN addresses are specified in 'upsd.conf', the
compiled in defaults are used. As soon as you specify one or more
LISTEN directives, it will only listen to the specified addresses.
Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser