installing ups monitor

Karl Auer kauer at biplane.com.au
Fri Jan 8 08:21:34 UTC 2021


On Thu, 2021-01-07 at 22:58 -0800, Bob wrote:
> So I installed the nut-client.

I had that working on my last laptop with an APC BR900I, but never
really needed it. It monitored a USB connection as I recall (though the
UPS may have shown up as a serial port I suppose).

> It seems that the nut-client program can not find the apc1250.  Is
> there a program to test the serial ports?

If you are actually using an actual serial port (9-pin or 25-pin D-
shell, RS-232), then your first step should be to check the BIOS and
make sure the port is enabled there. Use of serial ports in commodity
PCs rare these days and some modern BIOSes disable them by default.

You can also look to see if you have any devices like "/dev/ttyS0",
though they may be placeholders.

The only way to really test a serial port is to connect a serial device
to it and play with it in cutecom or minicom ("apt install minicom",
then "sudo minicom -o -w -D /dev/ttyS0" or whatever). If your serial
port is live and the other device is talking you should see something.
Read "man minicom" but the most important things you need are CtlA-Z
for help, CtlA-P to set comms parameters and CtlA-O to get out of Dodge
City :-)

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer

GPG fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170
Old fingerprint: 8D08 9CAA 649A AFEF E862 062A 2E97 42D4 A2A0 616D







More information about the ubuntu-users mailing list