Hi guys, Please bare with me, as this is my first attempt at setting up a UPS under Linux. I've been trying to setup a UPS on one of my clients servers. The model of the UPS is a Square one QP1000/QP1010 1Kva I've looked on the following link http://eu1.networkupstools.org/compat/stable.html It says that it should be compatible with the "powermust" driver, then in my /etc/nut/driver.list this driver doesn't exist. I've searched around quite a bit and from what I've found, is that this uses the "megatec protocol", which is the fentonups driver, am I correct in what I've found out? I've tried using all sorts of drivers so far, and either I have a faulty UPS, or I am still using the wrong driver. This is what I get when using the "fentonups" driver... root@mail:/var/state/ups# upsdrvctl start Network UPS Tools - UPS driver controller 2.0.0 Network UPS Tools - Fenton UPS driver 1.21 (2.0.0) Short read during UPS id sequence Short read during UPS id sequence Short read during UPS id sequence Short read during UPS id sequence Short read during UPS id sequence Unable to detect a Fenton or Megatec protocol UPS Driver failed to start (exit status=1) Any assistance would be appreciated. Thanks! Neil Wilson Powered by Linux, driven by passion! -- This email and all contents are subject to the following disclaimer: http://www.dcdata.co.za/emaildisclaimer.html
> Hi guys, > > Please bare with me, as this is my first attempt at setting up a UPS > under Linux. > > I've been trying to setup a UPS on one of my clients servers. > The model of the UPS is a Square one QP1000/QP1010 1Kva > > I've looked on the following link > http://eu1.networkupstools.org/compat/stable.html > > It says that it should be compatible with the "powermust" driver, then > in my /etc/nut/driver.list this driver doesn't exist. > > I've searched around quite a bit and from what I've found, is that this > uses the "megatec protocol", which is the fentonups driver, am I > correct in what I've found out? > > I've tried using all sorts of drivers so far, and either I have a faulty > UPS, or I am still using the wrong driver. > > This is what I get when using the "fentonups" driver... > > root@mail:/var/state/ups# upsdrvctl start > Network UPS Tools - UPS driver controller 2.0.0Before anything else, please upgrade to the latest stable version (2.0.3). The one you're using now is past its 'use by' date.> Network UPS Tools - Fenton UPS driver 1.21 (2.0.0) > Short read during UPS id sequence > Short read during UPS id sequence > Short read during UPS id sequence > Short read during UPS id sequence > Short read during UPS id sequence > Unable to detect a Fenton or Megatec protocol UPS > Driver failed to start (exit status=1) > > Any assistance would be appreciated. > > Thanks! > > Neil Wilson > Powered by Linux, driven by passion! > > -- > This email and all contents are subject to the following disclaimer: > http://www.dcdata.co.za/emaildisclaimer.html
2006/4/6, Neil Wilson <neilw@dcdata.co.za>:> Carlos Rodrigues wrote: > > "powermust" should support that UPS. Maybe it is connected to a serial > > port other than the first one? Have you tried "/dev/ttyS1"? > > > Thanks for the reply. > I also thought that this might be the case, but I they already have a > modem connected to ttyS1, and they only have two serial ports in total.but did you check that /dev/ttyS0 has the right perms for the nut user (ie the one supplied during configure --with-user=username, and which default to nobody)? Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/
Arnaud Quette wrote:> but did you check that /dev/ttyS0 has the right perms for the nut user > (ie the one supplied during configure --with-user=username, and which > default to nobody)?Yip, permissions look correct, user and group are both nut. crw------- 1 nut nut 4, 64 Apr 6 10:08 ttyS0 Thanks. Neil. -- This email and all contents are subject to the following disclaimer: http://www.dcdata.co.za/emaildisclaimer.html
2006/4/6, Neil Wilson <neilw@dcdata.co.za>:> Arnaud Quette wrote: > > but did you check that /dev/ttyS0 has the right perms for the nut user > > (ie the one supplied during configure --with-user=username, and which > > default to nobody)? > > Yip, permissions look correct, user and group are both nut. > > crw------- 1 nut nut 4, 64 Apr 6 10:08 ttyS0try to broaden perms to the group too (ie crw-rw----) and to launch the driver manually in debug mode, ie: /path/to/powermust -DDDDD -a SquareOne and send back the trace. Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/