From owner-freebsd-questions Sun Jan 19 16:47:19 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 7540737B401 for ; Sun, 19 Jan 2003 16:47:16 -0800 (PST) Received: from mail4.atl.registeredsite.com (mail4.atl.registeredsite.com [64.224.219.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AAD843E4A for ; Sun, 19 Jan 2003 16:47:10 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail4.atl.registeredsite.com (8.12.2/8.12.6) with ESMTP id h0K0l3m8007968 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Sun, 19 Jan 2003 19:47:03 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.6/8.11.0) id h0K0l2u38835 for freebsd-questions@freebsd.org; Mon, 20 Jan 2003 01:47:02 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Mon, 20 Jan 2003 01:47:02 +0100 (CET) From: Mark Message-Id: <200301200047.H0K0L0L38808@asarian-host.net> Date: Mon, 20 Jan 2003 01:46:51 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: Re: Shutdown for APC Back-UPS 350 CS X-Trace: 6mdTYRPlJfp3GjfvbqkSG+Xp2PSOGD+bWCqoOlQvUkEBFlbaNMm97HzsvR4I0azC X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Per olof Ljungmark" Cc: References: <200301200008.H0K08PL33572@asarian-host.net> <3E2B4378.5020908@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPitHBjFqW1BleBN9AQHkGQf/VN2V48W1h2fvaMzWbUcbqeUzfYghEPSS kqFnn7I+IZgXh3yoVwlbDb2dGMZ1JCIBmha+0R+bFdOFBHRAeh2M4cG4mYdHqkaT fTena0mjPIH9u39zM8zJayLdl3JTeQqDpuD8ETabHenx10Bc25nlmQ8uLPJS6gg8 JEQN1/Gkud8Io7UBAMcTfZ1mSrnBz5mOcAztz1JWjo15dYDN6v9pclC9ETLOEu3o Za3B2pXwBd+SVUjc1nyX5ektpp3iaVQn150WDIEblOu10Ipz+kQuH7cP6+hgJRQW V3KZWl+RbUOX8B1OCn2PwkUdndybvT5K6ZGBO2hLxEvVnv3N1k4bcg== =+2Bj 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 ----- Original Message ----- From: "Per olof Ljungmark" To: "Mark" Cc: Sent: Monday, January 20, 2003 1:31 AM Subject: Re: Shutdown for APC Back-UPS 350 CS > 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)? > > I don't know specifically about the 350CS, about the only thing I know > is you have to have exactly the right cable/software combination. Did > you confirm that there is a 940-0128A between the units? Perhaps trying > other options as advised at > http://www.sibbald.com/apcupsd/3.8manual/configure.html#ConfigGeneral > could give you a hint in the right direction. Thank you for the quick reply. Yes, I have the correct cable; in fact, APC specifically sent it to me as I could not get USB to work at all (seems not yet supported on FreeBSD), and the number is stamped in the cable. I am familiar with the document you pointed me to, and I believe I set everything according to how it should be; here is my config (stripped off comments): UPSCABLE 940-0128A UPSTYPE backups DEVICE /dev/ttyd0 LOCKFILE /var/spool/lock BATTERYLEVEL 10 MINUTES 3 TIMEOUT 15 ANNOY 10 ANNOYDELAY 5 NOLOGON always KILLDELAY 0 NETSERVER off NISPORT 7000 EVENTSFILE /var/log/apcupsd.events STATTIME 3600 STATFILE /var/log/apcupsd.status LOGSTATS off DATATIME 0 UPSNAME UPS_IDEN BEEPSTATE 0 LOWBATT 2 UPSCLASS standalone UPSMODE disable NETACCESS true Understanding the docs right, the "TIMEOUT 15" should start a forced shutdown after 15 secs of power loss (set so low for test-purposes). Alas, nothing happens. :( Thanks anyway. - Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message