Joe Morris wrote:
On 06/16/2008 09:33 PM, Patrick Shanahan wrote:
Thanks again for your assistance and any enlightenment you might have about the password issue.
tks
Not sure what problem you are having with the password, but here are a few things to check, though versions are different so things may not match. upsd.conf handles Access Control. You need ACL localhost 127.0.0.1/32 Accept localhost (before Reject all)
upsd.users should have [upsmaster] password = (your password) allowfrom = localhost upsmon master
upsmon.conf should have a line MONITOR myups@localhost 1 upsmaster (your password from upsd.users) master
HTH
Joe, I have been following the thread and it has finally got my ups working, but I can't talk to it. The ups starts: Jun 26 11:37:55 nirvana sudo: david : TTY=pts/4 ; PWD=/home/david ; USER=root ; COMMAND=/usr/lib/ups/driver/upsdrvctl -u root start nirvana_UPS Jun 26 11:37:55 nirvana usbhid-ups[27700]: Startup successful I try and check it and get: [11:49 nirvana/home/david] # upsc nirvana_UPS@nirvana Error: Connection failure: Connection refused How do I talk to this? My config is: [11:52 nirvana/home/david] # ./linux/scripts/nocomment /etc/ups/ups.conf [nirvana_UPS] driver = usbhid-ups explore vendor="CPS" desc = "Nirvana UPS - Cyberpower 1000" port = /dev/hiddev0 [11:53 nirvana/home/david] # ./linux/scripts/nocomment /etc/ups/upsd.conf ACL all 0.0.0.0/0 ACL localhost 127.0.0.1/32 ACL nirvana 127.0.0.2/32 ACL nirvana 192.168.6.17/32 ACCEPT localhost nirvana REJECT all -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org