<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><PRE><FONT size=2><I>Hi,
</I>&gt;</FONT><FONT size=2><I> I'm at my wits end and need help regarding my UPS. I am a newbie to Linux
</I>&gt;</FONT><FONT size=2><I> (10 months) and need help with trying to configure my UPS to my Linux SME
</I>&gt;</FONT><FONT size=2><I> server.
</I>&gt;</FONT><FONT size=2><I> I have little or no experience with Bash and am finding it overwhelming
</I>&gt;</FONT><FONT size=2><I> when it comes to trying to configure my UPS.
</I>&gt;</FONT><FONT size=2><I>  I have installed my UPS to my Linux SME server and have installed my
</I>&gt;</FONT><FONT size=2><I> driver for it. At best I think its running but not configured properly.
</I>&gt;</FONT><FONT size=2><I> The UPS is connected via USB and am using the megatec-usb driver.
</I>&gt;</FONT><FONT size=2><I> I am able to run the upsmon command and it gives me all the relevant info
</I>&gt;</FONT><FONT size=2><I> about the UPS-charge voltage/input/output etc...
</I>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><FONT size=2><I> Broadcast message from nut (Sun Nov 16 23:05:08 2008):
</I>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><I><FONT size=2> Communications with UPS </FONT><A href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser"><FONT size=2>UPS at localhost</FONT></A><FONT size=2> established
</FONT></I><FONT size=2>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><FONT size=2><I> Broadcast message from nut (Sun Nov 16 23:05:08 2008):
</I>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><I><FONT size=2> Communications with UPS </FONT><A href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser"><FONT size=2>UPS at localhost</FONT></A><FONT size=2> established
</FONT></I><FONT size=2>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><I><FONT size=2> [</FONT><A href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser"><FONT size=2>root at server</FONT></A><FONT size=2> etc]# upsc </FONT><A href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser"><FONT size=2>UPS at localhost</FONT></A>
</I><FONT size=2>&gt;</FONT><FONT size=2><I> battery.charge: 95.0
</I>&gt;</FONT><FONT size=2><I> battery.voltage: 13.50
</I>&gt;</FONT><FONT size=2><I> battery.voltage.nominal: 12.0
</I>&gt;</FONT><FONT size=2><I> driver.name: megatec_usb
</I>&gt;</FONT><FONT size=2><I> driver.parameter.pollinterval: 2
</I>&gt;</FONT><FONT size=2><I> driver.parameter.port: /dev/ttyS0
</I>&gt;</FONT><FONT size=2><I> driver.version: 2.2.0-
</I>&gt;</FONT><FONT size=2><I> driver.version.internal: 1.5.4
</I>&gt;</FONT><FONT size=2><I> input.frequency: 50.0
</I>&gt;</FONT><FONT size=2><I> input.voltage: 235.0
</I>&gt;</FONT><FONT size=2><I> input.voltage.fault: 165.0
</I>&gt;</FONT><FONT size=2><I> input.voltage.maximum: 244.0
</I>&gt;</FONT><FONT size=2><I> input.voltage.minimum: 218.0
</I>&gt;</FONT><FONT size=2><I> output.voltage: 235.0
</I>&gt;</FONT><FONT size=2><I> output.voltage.nominal: 225.0
</I>&gt;</FONT><FONT size=2><I> ups.beeper.status: enabled
</I>&gt;</FONT><FONT size=2><I> ups.delay.shutdown: 0
</I>&gt;</FONT><FONT size=2><I> ups.delay.start: 2
</I>&gt;</FONT><FONT size=2><I> ups.load: 20.0
</I>&gt;</FONT><FONT size=2><I> ups.mfr: KEBO
</I>&gt;</FONT><FONT size=2><I> ups.model: UPS-650VA VER7.03
</I>&gt;</FONT><FONT size=2><I> ups.serial: unknown
</I>&gt;</FONT><FONT size=2><I> ups.status: OL
</I>&gt;</FONT><FONT size=2><I> ups.temperature: 0.0
</I>&gt;</FONT><I><FONT size=2> [</FONT><A href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser"><FONT size=2>root at server</FONT></A><FONT size=2> etc]#
</FONT></I><FONT size=2>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><FONT size=2><I> I keep getting errors from the server regarding loosing and reconnecting
</I>&gt;</FONT><FONT size=2><I> with the UPS appx every 10 mins.
</I>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><FONT size=2><I> here's the email my server generates...
</I>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><I><FONT size=2> Communications with UPS </FONT><A href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser"><FONT size=2>UPS at localhost</FONT></A>
</I><FONT size=2>&gt;</FONT><I><FONT size=2> &lt;</FONT><A href="https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&amp;index=56795#"><FONT size=2>https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&amp;index=56795#</FONT></A><FONT size=2>&gt;
</FONT></I><FONT size=2>&gt;</FONT><FONT size=2><I> established
</I>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><I><FONT size=2> Communications with UPS </FONT><A href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser"><FONT size=2>UPS at localhost</FONT></A>
</I><FONT size=2>&gt;</FONT><I><FONT size=2> &lt;</FONT><A href="https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&amp;index=56792#"><FONT size=2>https://192.168.0.254/horde/imp/message.php?mailbox=INBOX&amp;index=56792#</FONT></A><FONT size=2>&gt;
</FONT></I><FONT size=2>&gt;</FONT><FONT size=2><I> lost
</I>&gt;</FONT><FONT size=2><I> every 10 minutes...
</I>&gt;</FONT></PRE><PRE><SPAN class=625584810-28082009><FONT size=2>Heres some additional information.</FONT></SPAN></PRE><PRE><P><FONT size=2>[root@server ~]# [root@server ~]# upsmon</FONT></P><P><FONT size=2>Network UPS Tools upsmon 2.2.0-</FONT></P><P><FONT size=2>UPS: UPS@localhost (master) (power value 1)</FONT></P><P><FONT size=2>Using power down flag file /etc/killpower</FONT></P><P><FONT size=2>[root@server ~]# lsusb</FONT></P><P><FONT size=2>Bus 003 Device 002: ID 0001:0000 Fry's Electronics</FONT></P><P><FONT size=2>Bus 003 Device 001: ID 0000:0000</FONT></P><P><FONT size=2>Bus 002 Device 001: ID 0000:0000</FONT></P><P><FONT size=2>Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive</FONT></P><P><FONT size=2>Bus 001 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter</FONT></P><P><FONT size=2>Bus 001 Device 001: ID 0000:0000</FONT></P></PRE><PRE><I>
</I><FONT size=2>&gt;</FONT><FONT size=2><I> Can anyone help regarding how to properly configure nut and to edit the
</I>&gt;</FONT><FONT size=2><I> config file. I'm at a lost how to do this within bash- I'm very new to bash
</I>&gt;</FONT><FONT size=2><I> and am only able to use cd,ls, and other very basic command. I run the vi
</I>&gt;</FONT><FONT size=2><I> command to edit the nut config file but just get some kind of weird
</I>&gt;</FONT><FONT size=2><I> display??. Am I beyond help? I'm keen to learn and get all the backup
</I>&gt;</FONT><FONT size=2><I> systems properly sorted on my server. UPS is one and a fail-safe clone
</I>&gt;</FONT><FONT size=2><I> server is another.Can anyone help?
</I>&gt;</FONT><I>
</I><FONT size=2>&gt;</FONT><FONT size=2><I> Hope I've made sense, the terminology may not be accurate, please excuse
</I>&gt;</FONT><I><FONT size=2> me.</FONT></I></PRE><PRE><I><FONT size=2></FONT></I>&nbsp;</PRE><PRE><I><FONT><SPAN class=625584810-28082009></SPAN><FONT size=2>K<SPAN class=625584810-28082009>ind Regards John <A href="mailto:john@ber.net.nz">john@ber.net.nz</SPAN>
</A></FONT></FONT></I></PRE></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>