From owner-freebsd-questions@FreeBSD.ORG Thu Nov 24 00:25:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9EF8216A41F for ; Thu, 24 Nov 2005 00:25:05 +0000 (GMT) (envelope-from greg@grokking.org) Received: from herbert.sohotech.ca (herbert.sohotech.ca [206.116.63.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36DB543D6D for ; Thu, 24 Nov 2005 00:24:57 +0000 (GMT) (envelope-from greg@grokking.org) Received: from localhost (unknown [127.0.0.1]) by herbert.sohotech.ca (Postfix) with ESMTP id A4CFA17F25E for ; Wed, 23 Nov 2005 16:24:52 -0800 (PST) Received: from herbert.sohotech.ca ([127.0.0.1]) by localhost (herbert.sohotech.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25510-10 for ; Wed, 23 Nov 2005 16:24:51 -0800 (PST) Received: from [192.168.33.4] (heinlein.sohotech.ca [192.168.33.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by herbert.sohotech.ca (Postfix) with ESMTP id E055F17F01D for ; Wed, 23 Nov 2005 16:24:51 -0800 (PST) Message-ID: <43850860.9090805@grokking.org> Date: Wed, 23 Nov 2005 16:25:04 -0800 From: Greg Maruszeczka User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20051123233612.88693.qmail@web60018.mail.yahoo.com> In-Reply-To: <20051123233612.88693.qmail@web60018.mail.yahoo.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at sohotech.ca Subject: Re: troubles with apcupsd (basic setup) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2005 00:25:05 -0000 Peter wrote: > Hello. I have an APC BackUPS 650 and I want to have my FreeBSD 5.4 system > shutdown on power failure. I received a cable with the unit but there are > no identifying markings. When I run apcupsd it thinks there is a power > failure and proceeds to shut me down. Can anyone help? > > My config file: > > UPSNAME APC_BACKUPS_650 > UPSCABLE 940-0020B > UPSTYPE dumb > DEVICE /dev/cuaa0 > LOCKFILE /var/spool/lock > > ONBATTERYDELAY 10 > > BATTERYLEVEL 20 > MINUTES 5 > TIMEOUT 600 > > > Try this cable: 940-0020C hope that helps you, G