I have just recently gotten NUT to work on my system, with much assistance from Charles Lepple, and am very?grateful for his assistance. ? I now have a question regarding the NUT-Monitor program. ?There is a tool in the GUI that is for sending devicecommands. ?I can't get it to work. ?Whenever I try to send a command I get the following message: Failed to send <command> ?(ERR USERNAME REQUIRED)? How do I give the program a username? ?I would have thought that it would get it from the ?upsd.users file .I tried to launch NUT-Monitor from a terminal as super user, but that also did not work. ? It would be nice to be able to execute a battery test . ? Thanks for the help. John? "Science is organized common sense. Philosophy is organized piffle" -attributed to Bertrand Russel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150715/80c767bd/attachment.html>
Hi, am 15 Jul schrieb john hart:> I have just recently gotten NUT to work on my system, with much > assistance from Charles Lepple, and am very?grateful for his > assistance. ? I now have a question regarding the NUT-Monitor program. > ?There is a tool in the GUI that is for sending devicecommands. ?I > can't get it to work. ?Whenever I try to send a command I get the > following message: Failed to send <command> ?(ERR USERNAME REQUIRED)? > How do I give the program a username? ?I would have thought that it > would get it from the ?upsd.users file .I refer to debian's "NUT Monitor" (python): One started it connects to localhost/default ups or so without username/pwd. Then click disconnect and "use auth" checkbox will be clickable and login data may be entered. The ups must be selected now, connect again and the commands will work. CU, Gernot
Gernot, Thanks for that feedback. ?However, I did as you suggested and tried several different login/password?combinations, and none seem to work. ?The most obvious would be the user name and password in upsd.usersbut it also does not work. ?I get an ERR ACCESS DENIED message. ?Where am I going wrong ? ?"Science is organized common sense. Philosophy is organized piffle" -attributed to Bertrand Russel From: Gernot Zander <debian at scorpio.in-berlin.de> To: NUT Developers <nut-upsdev at lists.alioth.debian.org> Sent: Thursday, July 16, 2015 1:24 AM Subject: Re: [Nut-upsdev] Question about NUT-Monitor Hi, am 15 Jul schrieb john hart:> I have just recently gotten NUT to work on my system, with much > assistance from Charles Lepple, and am very?grateful for his > assistance. ? I now have a question regarding the NUT-Monitor program. > ?There is a tool in the GUI that is for sending devicecommands. ?I > can't get it to work. ?Whenever I try to send a command I get the > following message: Failed to send <command> ?(ERR USERNAME REQUIRED)? > How do I give the program a username? ?I would have thought that it > would get it from the ?upsd.users file .I refer to debian's "NUT Monitor" (python): One started it connects to localhost/default ups or so without username/pwd. Then click disconnect and "use auth" checkbox will be clickable and login data may be entered. The ups must be selected now, connect again and the commands will work. CU, Gernot _______________________________________________ Nut-upsdev mailing list Nut-upsdev at lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150717/94be5060/attachment.html>
Okay. ?I figured out why I could not send command, even though I has entered the correct login and password.I did not include ?' instcmds ?= ALL ' ?in my upsd.users ?file. ?It now works as expected. ?Thanks. John?"Science is organized common sense. Philosophy is organized piffle" -attributed to Bertrand Russel From: Gernot Zander <debian at scorpio.in-berlin.de> To: NUT Developers <nut-upsdev at lists.alioth.debian.org> Sent: Thursday, July 16, 2015 1:24 AM Subject: Re: [Nut-upsdev] Question about NUT-Monitor Hi, am 15 Jul schrieb john hart:> I have just recently gotten NUT to work on my system, with much > assistance from Charles Lepple, and am very?grateful for his > assistance. ? I now have a question regarding the NUT-Monitor program. > ?There is a tool in the GUI that is for sending devicecommands. ?I > can't get it to work. ?Whenever I try to send a command I get the > following message: Failed to send <command> ?(ERR USERNAME REQUIRED)? > How do I give the program a username? ?I would have thought that it > would get it from the ?upsd.users file .I refer to debian's "NUT Monitor" (python): One started it connects to localhost/default ups or so without username/pwd. Then click disconnect and "use auth" checkbox will be clickable and login data may be entered. The ups must be selected now, connect again and the commands will work. CU, Gernot _______________________________________________ Nut-upsdev mailing list Nut-upsdev at lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150717/0a6a3e85/attachment.html>