[GLLUG] Re: apcups

Server Admin admin@sage-one.net
Thu, 14 Mar 2002 21:52:00 -0600


Jeff: No, sio0 is not the device. You should be using this:

"DEVICE /dev/ttyd0"  # For com 1

Then make sure you have the right cable number which is found on the flat
side of the connector. I gather that is where you got the number used.
Otherwise your configuration looks correct.


When starting the daemon, look at #tail -f /var/log/apcupsd.events and
see what is happening. If it shows no errors and that "startup succeeded"
then you have the right device assigned. It will not start with the wrong
com port device and show an error in the log.


I'm afraid with a "dumb UPS" you are not going to see much more.... maybe
some one else has some tricks I don't know about... I'd like to learn
about them too because I have several "dummies" here.


I've overcome the problem as said before by using a APC smartups as a
master on one machine and the dummies as "slaves" on the other machines.
The master can signal the other machines on the network to shut down
after a designated amount of time (well within the limits of the battery
of course). Thus, the dummies (through the apcupsd daemons on them) do
what they are told to do by the master. You can set the timeouts on each
machine.


At 10:29 PM 3.14.2002 -0500, Jeff Lawton wrote: 

>>>>

<fontfamily><param>Arial</param><color><param>0000,0000,ffff</param><smaller>Yes
i looked throught the apcupsd site and most of the documentation is about
smart ups and the backups is a dumb one. I checked the bios and
everything there is fine. can i access sio0 directly or will that not
work?

</smaller></color></fontfamily><excerpt>
<fontfamily><param>Tahoma</param><smaller>-----Original Message-----

</smaller></fontfamily><bold>From:</bold> Server Admin
[mailto:admin@sage-one.net]

<bold>Sent:</bold> Thursday, March 14, 2002 6:42 PM

<bold>To:</bold> jeff@idealso.com; linux-user@egr.msu.edu;
freebsd-questions@FreeBSD.ORG

<bold>Subject:</bold> RE: [GLLUG] Re: apcups


Jeff: First, have you visited the very thorough website at:

http://www.apcupsd.org/


It has almost everything you want to know.


BUT, I have tried many different types of UPSes and I could only get the
APC Smart-UPS models to actually "talk" to the system and give out data
about the battery. If you have the Backups, I think it is among the "dumb
UPSes" that are described in the documentation and very limited on the
cable signals. If you pull off the cable, you *may* be told it sensed a
break, but as far as any useful data...???


Again, I will never buy anything BUT an APC Smart-UPS.... if I want to
communicate with it. The so-called "dumb UPSes" are okay IF you have a
smart-ups running on the network to monitor things and tell the ones
without ability to shut down. At least the dumb ones will sense a power
outage and run the machines long enough to save files and shut down.... I
may be wrong about your model, but don't think so....


At 05:55 PM 3.14.2002 -0500, Jeff Lawton wrote: 

>>>>

I am using apcupsd from the ports collection on comm 1 and with APC,s
serial cable 940-0020C that came with the unit and freebsd 4.5. I have
tried both cuaa0 and ttyd0 without success. the ups is feeding a
lightbulb and when I unplug the ups I get no messages, any ideals?


Here is a copy of the conf file.am I missing something ? 


## apcupsd.conf v1.1 ##

UPSCABLE 940-0020C

UPSTYPE backups

DEVICE /dev/ttyd0

LOCKFILE /var/apcups/lock

UPSCLASS standalone

UPSMODE disable

ANNOY 10

ANNOYDELAY 20

<excerpt> -----Original Message-----

<bold>From:</bold> linux-user-admin@egr.msu.edu
[mailto:linux-user-admin@egr.msu.edu]<bold>On Behalf Of </bold>Server
Admin

<bold>Sent:</bold> Thursday, March 14, 2002 4:28 PM

<bold>To:</bold> jeff@idealso.com; linux-user@egr.msu.edu;
freebsd-questions@FreeBSD.ORG

<bold>Subject:</bold> [GLLUG] Re: apcups


Try /dev/ttyd0


At 03:55 PM 3.14.2002 -0500, Jeff Lawton wrote: 

>>>>



I am setting up a APC backups 650 on a freebsd box. It does not seem to
be communicating. Is there a different device I should be using other
than cuaa0?




Jeff Lawton








<<<<<<<<






.... our website: http://www.sage-one.net/


Best regards,


Jack L. Stone

Server Admin _______________________________________________ linux-user
mailing list linux-user@egr.msu.edu
http://www.egr.msu.edu/mailman/listinfo/linux-user 



<<<<<<<<






.... our website: http://www.sage-one.net/


Best regards,


Jack L. Stone

Server Admin 

</excerpt></excerpt>

<<<<<<<<






.... our website: http://www.sage-one.net/


Best regards,


Jack L. Stone

Server Admin