Hello, i just installed on Ubuntu 12.04 nut from their "Ubuntu Software Center" and i configure ups.conf as: [mustek] driver = blazer_ser port = /dev/ttyS0 desc = "Mustek powermust 2000VA USB" and here is # /lib/nut/blazer_ser -DDDDD -a mustek results: http://pastebin.com/J47JrmrT As i see all is ok here? After that i try # /etc/init.d/nut start and got: /etc/init.d/nut: 1: /etc/nut/nut.conf: MODE: not found * nut disabled, please adjust the configuration to your needs * Then set MODE to a suitable value in /etc/nut/nut.conf to enable it I cannot find what kind of mode he talking about, i put in nut.conf "MODE standalone" Where i am wrong? please help, thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120812/736af86e/attachment.html>
On Aug 12, 2012, at 3:29 PM, Master Yoda wrote:> /etc/init.d/nut: 1: /etc/nut/nut.conf: MODE: not found > * nut disabled, please adjust the configuration to your needs > * Then set MODE to a suitable value in /etc/nut/nut.conf to enable it > > > I cannot find what kind of mode he talking about, i put in nut.conf "MODE = standalone"I'm not sure if we fixed the documentation in the version of NUT in Ubuntu 12.04, but in that particular configuration file, you need to remove the spaces around the '=' sign. (It gets pulled into a shell script, and needs to conform to Bourne Shell syntax) -- Charles Lepple clepple at gmail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120812/0ab31c0b/attachment.html>