[Nut-upsuser] Installing Powercom BNT-2000AP on CentOS 5.6
clepple at gmail.com
Mon Nov 14 01:56:51 UTC 2011
On Nov 13, 2011, at 2:58 PM, Jonathan Borg wrote:
> Hi Guys,
> Am a Linux newbie and need some help setting up this UPS with NUT on Cent OS 5.6. So basically I have the following packages installed with yum:
You may want to find a newer RPM (from rawhide?) - we're on 2.6.2 now.
> and when I run lsusb I can see the UPS that it is hooked up
> Bus 005 Device 002: ID 0d9f:0004 Powercom Co., Ltd
Make sure the nut user can write to /dev/bus/usb/005/002 (or wherever usbdevfs/usbfs is mounted). Group write permission should be sufficient.
> I am outputting the directory /etc/ups using ls -l
> total 32
> -rwxrwxrwx 1 root root 18 Nov 13 19:46 nut.conf
> -rwxrwxrwx 1 root nut 3625 Nov 13 19:30 ups.conf
> -rwxrwxrwx 1 root nut 2009 Nov 13 19:46 upsd.conf
> -rwxrwxrwx 1 root nut 2250 Nov 13 19:01 upsd.users
> -rwxrwxrwx 1 root nut 11900 Nov 11 17:43 upsmon.conf
> -rwxrwxrwx 1 root nut 3891 Mar 23 2011 upssched.conf
Remember to remove read/write permission from at least upsd.users and upsmon.conf, since they contain passwords.
> user = root
Generally speaking, if you need to specify a productid in ups.conf, then the udev rules don't know about your USB vendor/product ID combination, either. Search for 0d9f in your NUT udev rules file, and copy one of those lines (replacing the product ID with yours, 0004).
More information about the Nut-upsuser