Ok. Obvously the serial port is working fine if you can login to it. I'd try the UPS software agin. If it still doesn work. Maybee try the windows software out. That would at least verify that your cable is wired correctly to the UPS.. John Stoffel earlier mentioned using the apcupsd. I'd give that a shot too. I use that to monitor some APC smart UPS's On Tue, 4 Jun 2002, Bill Mills-Curran wrote:
Karl,
I've done the testing you suggested... I hooked up a null modem cable to another linux box that was configured to allow serial port logins. After using minicom to configure the port (9600 bps), I was able to log in. I could also exit minicom and, using 2 terminal windows:
term 1: cat > /dev/ttyS0 term 2: cat /dev/ttys0
I was able to get the login and password prompts with the above, so I have some indication that the serial port is working, although I don't know if it's right for the UPS.
My next test is to scrounge a signal analyzer (and someone who knows how to use it) to see if the upsd daemon is sending signals out the port.
more below...
On Tue, 4 Jun 2002, Karl Hiramoto wrote:
Date: Tue, 4 Jun 2002 12:16:23 -0400 (EDT) From: Karl Hiramoto <karl@zoop.org> Reply-To: wlug@mail.wlug.org To: Worcester Linux Users Group <wlug@mail.wlug.org> Subject: Re: [Wlug] monitoring a Matrix 3000
Bill,
I've had problems with serial ports in the past. Usually a really dumb reasion for it not working. Verify the BIOS has the port turned on. With the default IO address and IRQ settings.
Since I'm getting communications going, I don't think I need to dig deeper in the serial port (BIOS, IRQ, IO address). Do you agree?
Does a mouse work on the port?
Didn't try. Do I still need this?
If you have a null modem cable. (Switches RX and TX lines) you can hook two computers together. Run terminal programs on each (with the same baud rate settings, no flow control). You should be able to type chars between the two boxes. Have minicom installed? can it open the port without an error? If you don't have a null modem cable/connector you can pick them up at most radio shacks. Or you could try communicating with an external modem.
This worked.
Running a redhat default kernel? Should work fine. If you compiled your own make sure you have the serial port setup correctly in your kernel config.
I'm running the kernel from the 7.2 distro.
Try chmod 666 /dev/ttyS0
Yes, I did this.
Serial HOWTO: http://tldp.org/HOWTO/Serial-HOWTO.html
I looked at some of this. Thanks.
Serial Laplink howto: http://tldp.org/HOWTO/Serial-Laplink-HOWTO/index.html
Have a DOS bootdisk? You could try running an old skool terminal program like procomm or something like that. Or hypertermainal in M$ Windowz.
Oooohhh. DOS to help debug linux? Yeouch. :-)
Thanks, Bill <snip>
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø Karl Hiramoto <karl@hiramoto.org> Work: 978-425-2090 ext 25 Cell: 508-517-4819 Personal web page: http://karl.hiramoto.org/ Zoop Productions: http://www.zoop.org/ KTEQ Rapid City: http://www.kteq.org/ AOL IM ID = KarlH420 ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø The worst part of valor is indiscretion.