> Hi all, > > I know there are some howto's about Powerware 5115 and Ubuntu, but I can't > still get that thing working. > > Can someone give some light... > > 1. Powerware 5115, serial port (ttyS0) > > 2. Ubuntu 6.06.1 as LTSP-server > > As reference: > > http://gentoo-wiki.com/HOWTO_NUT > http://keystoneit.wordpress.com/2006/09/25/network-ups-tools-nut-on-ubuntu/ > > --- > > a. I try to start driver as root. > > [EMAIL PROTECTED]:/home/juuri# upsdrvctl -u root start
You probably want to change this to upsdrvctl -u nut start > Network UPS Tools - UPS driver controller 2.0.3 > Network UPS Tools - BCMXCP UPS driver 0.10 (2.0.3) > > Communications with UPS lost: Error executing command > Communications with UPS lost: Error executing command > Communications with UPS lost: Error executing command > Communications with UPS re-established > Connected to UPS on /dev/ttyS0 baudrate: 9600 > Model = PW5115 750i 750VA > Firmware = 01.00 > Shutdown delay = 120 seconds > > b. I try to start upsd as root. > > [EMAIL PROTECTED]:/home/juuri# upsd This will start the server with whatever user was compiled in. If you really want to start the server as root, you need to specify that on the commandline: upsd -u root > Network UPS Tools upsd 2.0.3 > /etc/nut/upsd.conf is world readable That is bad. Fix it. > Can't connect to UPS [powerware] (bcmxcp-ttyS0): Permission denied > /etc/nut/upsd.users is world readable > Synchronizing........ giving up > [EMAIL PROTECTED]:/home/juuri# > > c. I got user monuser in group dialout (ttyS0) > > [EMAIL PROTECTED]:/home/juuri# ls -al /dev/ttyS0 > crw-rw---- 1 root dialout 4, 64 2007-09-21 10:43 /dev/ttyS0 > [EMAIL PROTECTED]:/home/juuri# > > [EMAIL PROTECTED]:/home/juuri# cat /etc/group | grep nut > nut:x:115:monuser > [EMAIL PROTECTED]:/home/juuri# > > [EMAIL PROTECTED]:/home/juuri# cat /etc/group | grep dialout > dialout:x:20:[removed],monuser > [EMAIL PROTECTED]:/home/juuri# > > --- > > Conf-files for nut. > > a. ups.conf > > [powerware] > driver = bcmxcp > port = /dev/ttyS0 > > b. upsd.conf > > ACL all 0.0.0.0/0 > ACL localhost 127.0.0.1/32 > > ACCEPT localhost > REJECT all > > c. upsd.users > > [monuser] > password = usermon > allowfrom = localhost > upsmon master > > d. upsmon.conf > > [clip] > MONITOR [EMAIL PROTECTED] 1 monuser usermon master > SHUTDOWNCMD "/sbin/shutdown -h +0" > [more clip] > > Best regards Asmo Koskinen. Best regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57 _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser