Date: Fri, 15 Mar 2002 07:51:52 -0500 From: "Jeff Lawton" <jeff@idealso.com> To: "Server Admin" <admin@sage-one.net>, <linux-user@egr.msu.edu>, <freebsd-questions@FreeBSD.ORG> Subject: RE: [GLLUG] Re: apcups Message-ID: <NFBBJDLNADNIPCNOAPMHKEJBCFAA.jeff@idealso.com> In-Reply-To: <3.0.5.32.20020314215200.01178868@mail.sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C1CBF6.45461A20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Is there a better package or port I could use I am not personally attached to acpupsd -----Original Message----- From: Server Admin [mailto:admin@sage-one.net] Sent: Thursday, March 14, 2002 10:52 PM To: jeff@idealso.com; linux-user@egr.msu.edu; freebsd-questions@FreeBSD.ORG Subject: RE: [GLLUG] Re: apcups 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: >>>> 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? -----Original Message----- From: Server Admin [mailto:admin@sage-one.net] Sent: Thursday, March 14, 2002 6:42 PM To: jeff@idealso.com; linux-user@egr.msu.edu; freebsd-questions@FreeBSD.ORG Subject: 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 -----Original Message----- From: linux-user-admin@egr.msu.edu [mailto:linux-user-admin@egr.msu.edu]On Behalf Of Server Admin Sent: Thursday, March 14, 2002 4:28 PM To: jeff@idealso.com; linux-user@egr.msu.edu; freebsd-questions@FreeBSD.ORG Subject: [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 <<<< .... our website: http://www.sage-one.net/ Best regards, Jack L. Stone Server Admin ------=_NextPart_000_0018_01C1CBF6.45461A20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D610105012-15032002><FONT face=3DArial color=3D#0000ff = size=3D2>Is=20 there a better package or port I could use I am not personally attached = to=20 acpupsd</FONT></SPAN></DIV> <BLOCKQUOTE> <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B> Server Admin=20 [mailto:admin@sage-one.net]<BR><B>Sent:</B> Thursday, March 14, 2002 = 10:52=20 PM<BR><B>To:</B> jeff@idealso.com; linux-user@egr.msu.edu;=20 freebsd-questions@FreeBSD.ORG<BR><B>Subject:</B> RE: [GLLUG] Re:=20 apcups<BR><BR></FONT></DIV>Jeff: No, sio0 is not the device. You = should be=20 using this:<BR>"DEVICE /dev/ttyd0" # For com 1<BR>Then make sure you = have the=20 right cable number which is found on the flat side of the connector. I = gather=20 that is where you got the number used. Otherwise your configuration = looks=20 correct.<BR><BR>When starting the daemon, look at #tail -f=20 /var/log/apcupsd.events and see what is happening. If it shows no = errors and=20 that "startup succeeded" then you have the right device assigned. It = will not=20 start with the wrong com port device and show an error in the = log.<BR><BR>I'm=20 afraid with a "dumb UPS" you are not going to see much more.... maybe = some one=20 else has some tricks I don't know about... I'd like to learn about = them too=20 because I have several "dummies" here.<BR><BR>I've overcome the = problem as=20 said before by using a APC smartups as a master on one machine and the = dummies=20 as "slaves" on the other machines. The master can signal the other = machines on=20 the network to shut down after a designated amount of time (well = within the=20 limits of the battery of course). Thus, the dummies (through the = apcupsd=20 daemons on them) do what they are told to do by the master. You can = set the=20 timeouts on each machine.<BR><BR>At 10:29 PM 3.14.2002 -0500, Jeff = Lawton=20 wrote: <BR>>>>><BR><?fontfamily><?param = Arial><?color><?param 0000,0000,ffff><?smaller>Yes=20 i looked throught the apcupsd site and most of the documentation is = about=20 smart ups and the backups is a dumb one. I checked the bios and = everything=20 there is fine. can i access sio0 directly or will that not = work?<BR><?/smaller><?/color><?/fontfamily> <BLOCKQUOTE><?fontfamily><?param Tahoma><?smaller>-----Original=20 Message-----<BR><?/smaller><?/fontfamily><B>From:</B> Server Admin=20 [mailto:admin@sage-one.net]<BR><B>Sent:</B> Thursday, March 14, 2002 = 6:42=20 PM<BR><B>To:</B> jeff@idealso.com; linux-user@egr.msu.edu;=20 freebsd-questions@FreeBSD.ORG<BR><B>Subject:</B> RE: [GLLUG] Re:=20 apcups<BR><BR>Jeff: First, have you visited the very thorough = website=20 at:<BR>http://www.apcupsd.org/<BR><BR>It has almost everything you = want to=20 know.<BR><BR>BUT, I have tried many different types of UPSes and I = could=20 only get the APC Smart-UPS models to actually "talk" to the system = and give=20 out data about the battery. If you have the Backups, I think it is = among the=20 "dumb UPSes" that are described in the documentation and very = limited on the=20 cable signals. If you pull off the cable, you *may* be told it = sensed a=20 break, but as far as any useful data...???<BR><BR>Again, I will = never buy=20 anything BUT an APC Smart-UPS.... if I want to communicate with it. = The=20 so-called "dumb UPSes" are okay IF you have a smart-ups running on = the=20 network to monitor things and tell the ones without ability to shut = down. At=20 least the dumb ones will sense a power outage and run the machines = long=20 enough to save files and shut down.... I may be wrong about your = model, but=20 don't think so....<BR><BR>At 05:55 PM 3.14.2002 -0500, Jeff Lawton = wrote:=20 <BR>>>>><BR>I am using apcupsd from the ports collection = on comm=20 1 and with APC,s serial cable 940-0020C that came with the unit and = freebsd=20 4.5. I have tried both cuaa0 and ttyd0 without success. the ups is = feeding a=20 lightbulb and when I unplug the ups I get no messages, any=20 ideals?<BR><BR>Here is a copy of the conf file.am I missing = something ?=20 <BR><BR>## apcupsd.conf v1.1 ##<BR>UPSCABLE 940-0020C<BR>UPSTYPE=20 backups<BR>DEVICE /dev/ttyd0<BR>LOCKFILE = /var/apcups/lock<BR>UPSCLASS=20 standalone<BR>UPSMODE disable<BR>ANNOY 10<BR>ANNOYDELAY 20<BR> <BLOCKQUOTE>-----Original Message-----<BR><B>From:</B>=20 linux-user-admin@egr.msu.edu = [mailto:linux-user-admin@egr.msu.edu]<B>On=20 Behalf Of </B>Server Admin<BR><B>Sent:</B> Thursday, March 14, = 2002 4:28=20 PM<BR><B>To:</B> jeff@idealso.com; linux-user@egr.msu.edu;=20 freebsd-questions@FreeBSD.ORG<BR><B>Subject:</B> [GLLUG] Re:=20 apcups<BR><BR>Try /dev/ttyd0<BR><BR>At 03:55 PM 3.14.2002 -0500, = Jeff=20 Lawton wrote: <BR>>>>><BR><BR><BR>I am setting up a = APC=20 backups 650 on a freebsd box. It does not seem to be = communicating. Is=20 there a different device I should be using other than=20 cuaa0?<BR><BR><BR><BR>Jeff=20 = Lawton<BR><BR><BR><BR><BR><BR><BR><BR><<<<<BR><BR><BR><BR><BR= ><BR>....=20 our website: http://www.sage-one.net/<BR><BR>Best = regards,<BR><BR>Jack L.=20 Stone<BR>Server Admin = _______________________________________________=20 linux-user mailing list linux-user@egr.msu.edu=20 http://www.egr.msu.edu/mailman/listinfo/linux-user=20 <BR><BR><BR><<<<<BR><BR><BR><BR><BR><BR>.... our = website:=20 http://www.sage-one.net/<BR><BR>Best regards,<BR><BR>Jack L.=20 Stone<BR>Server Admin=20 = <BR></BLOCKQUOTE></BLOCKQUOTE><BR><<<<<BR><BR><BR><BR><BR><BR= >....=20 our website: http://www.sage-one.net/<BR><BR>Best regards,<BR><BR>Jack = L.=20 Stone<BR>Server Admin </BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0018_01C1CBF6.45461A20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NFBBJDLNADNIPCNOAPMHKEJBCFAA.jeff>