From owner-freebsd-questions@FreeBSD.ORG Thu Mar 9 20:00:30 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 3DF8516A425 for ; Thu, 9 Mar 2006 20:00:30 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84A4043D62 for ; Thu, 9 Mar 2006 20:00:27 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.5/8.12.11) with ESMTP id k29Jxct8047521; Thu, 9 Mar 2006 13:59:38 -0600 (CST) Message-Id: <6.0.0.22.2.20060309135644.02841730@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 09 Mar 2006 13:59:31 -0600 To: James Long , freebsd-questions@freebsd.org, Ion-Mihai Tetcu , Peter From: Derek Ragona In-Reply-To: <20060309174609.GA14114@ns.museum.rain.com> References: <20060309120050.883AF16A424@hub.freebsd.org> <20060309174609.GA14114@ns.museum.rain.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-MailScanner-From: derek@computinginnovations.com Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 20:00:30 -0000 If you set up the rules with NUT to halt the system at the first power outage AND the BIOS of the system is set to stay off, yes it will wait for a human to hit the power button. This is also the case with a system that doesn't power off completely and sits at the prompt saying it is "OK to reboot or power off the system" If you want other behaviors you simply configure NUT and your system BIOS appropriately. -Derek At 11:46 AM 3/9/2006, James Long wrote: > > 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" ? > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"