From owner-freebsd-questions Sun Jan 19 16:58:39 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BECBC37B401 for ; Sun, 19 Jan 2003 16:58:37 -0800 (PST) Received: from sage-american.com (adsl-65-71-135-139.dsl.crchtx.swbell.net [65.71.135.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 669BC43EB2 for ; Sun, 19 Jan 2003 16:58:28 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea.sage-american [192.168.0.3]) by sage-american.com (8.12.6/8.12.6) with SMTP id h0K0w7J7046117; Sun, 19 Jan 2003 18:58:07 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030119185811.011becd0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 19 Jan 2003 18:58:11 -0600 To: Mark , From: "Jack L. Stone" Subject: Re: Shutdown for APC Back-UPS 350 CS In-Reply-To: <200301200008.H0K08PL33572@asarian-host.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-0.3 required=4.5 tests=IN_REP_TO,SPAM_PHRASE_01_02 version=2.43-jlsrules1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 01:08 AM 1.20.2003 +0100, Mark wrote: >I know I have asked this before, a month or so ago, but I am still rather >stuck with this. So, if anyone has a useful suggestion, I would appreciate >you sharing it with me. > >Has anyone ever managed to get the APC Back-UPS 350 CS to shutdown? It runs >on /dev/ttyd0, with the appropriate cable. But it never sees the power go >off-line, and, hence, does not go into shutdown mode. :( When I do an >"apcaccess status", it gives me this: > >-------------------------- >DATE : Mon Jan 20 01:02:14 CET 2003 >HOSTNAME : asarian-host.net >RELEASE : 3.8.5 >UPSNAME : UPS_IDEN >CABLE : APC Cable 940-0128A >MODEL : BackUPS >UPSMODE : Stand Alone >STARTTIME: Sun Jan 19 19:54:05 CET 2003 >LINEFAIL : OK >BATTSTAT : OK >STATFLAG : 0x008 Status Flag >END APC : Mon Jan 20 01:02:14 CET 2003 >-------------------------- > >It all seems dandy, but it just will not notice the power-loss. :( Has >anyone ever got this to work on FreeBSD 4.7 (the machine the APC Back-UPS >350 CS runs on)? > >Thanks. > >- Mark > To do what you want requires a UPS with "SmartUPS" to "talk" to your system. You have what is referred to as a "dumb UPS". I use SmartUPSes on "master" machines to tell the "slave" machines when to shut down and other instructions. The SmartUPSes will carry on an exchange with the machine, but the dumb ones will not. The slaves are attached to the dumb UPSes for continuations of power, but the SmartUPS tells each slave what to do and when to shut down. Each slave must have an apcupsd daemon installed, running and configured to communicate with the master over the network for this to work. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message