From owner-freebsd-questions@FreeBSD.ORG Thu Mar 9 17:46:52 2006 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 C6F5D16A423 for ; Thu, 9 Mar 2006 17:46:52 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [65.75.192.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 916C943D5A for ; Thu, 9 Mar 2006 17:46:49 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.13.4/8.13.4) with ESMTP id k29HkAPc014720 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 9 Mar 2006 09:46:10 -0800 (PST) (envelope-from james@umpquanet.com) Received: (from james@localhost) by ns.museum.rain.com (8.13.4/8.13.4/Submit) id k29Hk9qJ014719; Thu, 9 Mar 2006 09:46:09 -0800 (PST) (envelope-from james) Date: Thu, 9 Mar 2006 09:46:09 -0800 From: James Long To: freebsd-questions@freebsd.org, Ion-Mihai Tetcu , Peter Message-ID: <20060309174609.GA14114@ns.museum.rain.com> References: <20060309120050.883AF16A424@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060309120050.883AF16A424@hub.freebsd.org> User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ns.museum.rain.com X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-2.0.2 (ns.museum.rain.com [127.0.0.1]); Thu, 09 Mar 2006 09:46:17 -0800 (PST) Cc: Subject: Re: coming back up after power failure (UPS) 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, 09 Mar 2006 17:46:52 -0000 > Date: Thu, 9 Mar 2006 01:37:21 +0200 > From: Ion-Mihai Tetcu > Subject: Re: coming back up after power failure (UPS) > To: Peter > Cc: freebsd-questions > Message-ID: <20060309013721.3c523303@it.buh.tecnik93.com> > Content-Type: text/plain; charset=US-ASCII > > On Wed, 8 Mar 2006 16:39:02 -0500 (EST) > Peter wrote: > > > On an updated 5.4 box I am using Network UPS Tools (NUT) with an APC > > Smart-UPS. > > > > All is going very well but I cannot bring my box back up after > > simulating a power failure. At the end of the shutdown the screen > > shows: > > > > "Press any key to reboot" > > > > Obviously this is not the desired outcome. > > > > How can I get my system to go down completely? Beyond this I > > understand there may be some BIOS adjustments to be made. > > You should set up your UPS (via NUT) to kill power when you reach this > stage (and batteries are exhausted), and to restore power to the > computer when the line power is back again. And set you BIOS to always > on or last state or what ever you BIOS is calling it. > > I can't say how to achieve this with NUT or if it's possible, but I'm > sure that sysutils/apcupsd can do it since I use (and maintain) that > port. What happens if: 1) power fails 2) NUT detects this and halts the machine 3) power returns before batteries are exhausted Will the machine sit forever waiting for someone to "Press any key to reboot" ?