From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 02:40:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8145410656AD for ; Sun, 17 Jul 2011 02:40:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 48BE88FC12 for ; Sun, 17 Jul 2011 02:40:19 +0000 (UTC) Received: by gyf3 with SMTP id 3so1174573gyf.13 for ; Sat, 16 Jul 2011 19:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=8rPGLhQnecAHKhA1IFs7VAkvL7bOPpiv1JxH4CGgFAo=; b=ltqkFZ8Zy2Ek3t42Sm6aiIRlmCrW5abBLkrvSzo4bEoK9K6A4j+pbFjt5Pax4n9KK7 Kmf2mbUPoRAzpAkEG5/6/Wtpti/viPHQkYy4pM3bucfH13P+MjTKLCUydDya+d4rSfru /WanFvSRbAs/Mus2yW+q0OgU89Xdlx+eKTKGM= MIME-Version: 1.0 Received: by 10.236.185.36 with SMTP id t24mr6462059yhm.172.1310870419372; Sat, 16 Jul 2011 19:40:19 -0700 (PDT) Received: by 10.236.110.40 with HTTP; Sat, 16 Jul 2011 19:40:19 -0700 (PDT) Date: Sat, 16 Jul 2011 22:40:19 -0400 Message-ID: From: Aryeh Friedman To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 02:40:20 -0000 Is there any way to force a complete power down and then reset of a i386 without physically being present? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 02:48:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8179C106566C for ; Sun, 17 Jul 2011 02:48:32 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 44B078FC15 for ; Sun, 17 Jul 2011 02:48:32 +0000 (UTC) Received: by iyb11 with SMTP id 11so2648069iyb.13 for ; Sat, 16 Jul 2011 19:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ptjBea6f8G+yzfhOjQ63snzvlnG0KwcCwFPgW2x1qp8=; b=ajWF2xAtnNf9xg5dhqI9Z/A00mbawe3OzER68aUNMCBYVt+65rGkdSW4XHd5cJx9yr unVCzhFyEDQiQvb1EQg4/7RxGFDvwXY9eXSNiOKH/cX6uF7/1dMYKEHesl+C6pNI8G/B 7sY9Hii8LDypzDCaCU/VU4QEUHuQ1VdM25rL4= MIME-Version: 1.0 Received: by 10.43.46.201 with SMTP id up9mr5136092icb.499.1310870911558; Sat, 16 Jul 2011 19:48:31 -0700 (PDT) Received: by 10.42.166.74 with HTTP; Sat, 16 Jul 2011 19:48:31 -0700 (PDT) In-Reply-To: References: Date: Sun, 17 Jul 2011 02:48:31 +0000 Message-ID: From: Antonio Olivares To: Aryeh Friedman Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 02:48:32 -0000 On Sun, Jul 17, 2011 at 2:40 AM, Aryeh Friedman wrote: > Is there any way to force a complete power down and then reset of a > i386 without physically being present? > _______________________________________________ Sure! If I understand your question correctly, reboot yes, shutdown then powerup by itself *Don't know :( * You can setup a crontab (as root user or with setuid ), something like 30 09 * * * /sbin/init 6 > /dev/null; would reboot the machine at 9:30 am. But if you mean shut it down and then restart it automatically, I don't know for sure if it can be done? Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 03:08:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3FD2106566C for ; Sun, 17 Jul 2011 03:08:56 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id B334A8FC08 for ; Sun, 17 Jul 2011 03:08:56 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p6H38VdT011659; Sat, 16 Jul 2011 22:08:31 -0500 (CDT) Date: Sat, 16 Jul 2011 22:08:31 -0500 (CDT) From: Robert Bonomi Message-Id: <201107170308.p6H38VdT011659@mail.r-bonomi.com> To: aryeh.friedman@gmail.com, freebsd-questions@freebsd.org In-Reply-To: Cc: Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 03:08:57 -0000 > From owner-freebsd-questions@freebsd.org Sat Jul 16 21:40:19 2011 > Date: Sat, 16 Jul 2011 22:40:19 -0400 > From: Aryeh Friedman > To: FreeBSD Mailing List > Subject: how to force a hard reboot remotely > > Is there any way to force a complete power down and then reset of a > i386 without physically being present? Powerdown: 'man shutdown' see the -p option. Hardware dependant. Reset after powerdown: Hardware dependant. requires remomte 'console' access of some sort, e.g. 'lights out' managment console. _Just_ "force a hard reboot', per Subject line: 'man reboot'. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 03:30:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED36106564A for ; Sun, 17 Jul 2011 03:30:47 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 539ED8FC08 for ; Sun, 17 Jul 2011 03:30:46 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 992E7267E8AB; Sat, 16 Jul 2011 22:36:30 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G6l8R5VmNhhh; Sat, 16 Jul 2011 22:36:17 -0500 (CDT) Received: from [10.0.1.3] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id D646D267E8AA; Sat, 16 Jul 2011 22:36:17 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <201107170308.p6H38VdT011659@mail.r-bonomi.com> Date: Sat, 16 Jul 2011 22:30:32 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201107170308.p6H38VdT011659@mail.r-bonomi.com> To: Robert Bonomi X-Mailer: Apple Mail (2.1084) Cc: aryeh.friedman@gmail.com, freebsd-questions@freebsd.org Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 03:30:47 -0000 Won't " -p " power it down and leave it powered down? On Jul 16, 2011, at 10:08 PM, Robert Bonomi wrote: >> =46rom owner-freebsd-questions@freebsd.org Sat Jul 16 21:40:19 2011 >> Date: Sat, 16 Jul 2011 22:40:19 -0400 >> From: Aryeh Friedman >> To: FreeBSD Mailing List >> Subject: how to force a hard reboot remotely >>=20 >> Is there any way to force a complete power down and then reset of a >> i386 without physically being present? >=20 > Powerdown: 'man shutdown' see the -p option. Hardware dependant. >=20 > Reset after powerdown: Hardware dependant. requires remomte = 'console'=20 > access of some sort, e.g. 'lights out' managment console. >=20 > _Just_ "force a hard reboot', per Subject line: 'man reboot'. >=20 >=20 > _______________________________________________ > 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" From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 03:31:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8993D1065672 for ; Sun, 17 Jul 2011 03:31:54 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from nm13-vm0.bullet.mail.bf1.yahoo.com (nm13-vm0.bullet.mail.bf1.yahoo.com [98.139.213.79]) by mx1.freebsd.org (Postfix) with SMTP id 2A67C8FC1A for ; Sun, 17 Jul 2011 03:31:53 +0000 (UTC) Received: from [98.139.212.153] by nm13.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jul 2011 03:31:53 -0000 Received: from [98.139.212.201] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jul 2011 03:31:53 -0000 Received: from [127.0.0.1] by omp1010.mail.bf1.yahoo.com with NNFMP; 17 Jul 2011 03:31:53 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 458563.22829.bm@omp1010.mail.bf1.yahoo.com Received: (qmail 70734 invoked by uid 60001); 17 Jul 2011 03:31:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1310873512; bh=OWWOSssqVM8o6tNMFEAPCQt75jCJDpE7YjZPQJLHYr4=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=5LpYMfCx/2G9UzqzljUNbPjR/nmOOOKI3ZrxxXjzcmLFRlqPofkvJBkXsC9PeKif2PCAInyoM/KgDBCKrxyAKPHy81jByE/UyeitEzY5Wktm9eR6sTqG26w0475qGMQ3cqOp8H64bYEAWtTdoYSy3mJkb8XoCIeR5zYaYyLq0PA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=DWy3+Y0/2L4uhZ+z7EcEgFynb049xF/ERhKoM2j4ihiwHVkac+gWoKmqNJQNBAE9xXk7w/oCtPK66I/Bonq09HfoOC5qFSf94JTXt99QTX7QsCB33yzzwHpVQONSUzpaRkMVZ6advXEMnSNfvL2TsOTiQGef4ReogSuDYTc91uU=; X-YMail-OSG: yfKvmFoVM1lF6CpYmEk23dVyfYJk5oSoN_B_p.Oao64wGLH Mr5_ExJZzrj3KxU5lnRnK_x1y.xhcZBKIT9wb3TlIwcRwvQ2lzzeOSf4993H n5duEpmmdq3JCLb9Lf34aBkfpFw_i93crbSZiulTv6juYlCGpfKby3XUm82B kmJ5A4Jqt5qPBTSeFQLa9RKDTWk_umQ6YNVsisbkB9mHG1uGv895R0DLFes2 7dHPPZjR9d5jUBbvwy4GELJuiha.J_4VFBf1M64FgTHsCAngu6TxpqRvWcM9 g99NlngpYKM1bZJqy4wnNCakQYdLFjqnXjGwU8deB44cNL3PZD9GL5PZ6qAK 7N8.c6kTguvtYcZv6.G4EN7tDphGEyWFehANmJXcCfBZOlPWSZEor3ms- Received: from [76.186.244.148] by web36508.mail.mud.yahoo.com via HTTP; Sat, 16 Jul 2011 20:31:52 PDT X-Mailer: YahooMailRC/572 YahooMailWebService/0.8.112.307740 References: Message-ID: <1310873512.63641.YahooMailRC@web36508.mail.mud.yahoo.com> Date: Sat, 16 Jul 2011 20:31:52 -0700 (PDT) From: Bill Tillman To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 03:31:54 -0000 ________________________________ From: Aryeh Friedman To: FreeBSD Mailing List Sent: Sat, July 16, 2011 10:40:19 PM Subject: how to force a hard reboot remotely Is there any way to force a complete power down and then reset of a i386 without physically being present? _______________________________________________ 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" WOW! That's a tall order. A reboot from remote is simple, but a cold boot....I don't think that's possible unless you have some kind of Wake-On-Lan capable NIC which could detect a connection attempt while the machine is off. I can't say that for sure because what you've got to remember is that with a cold boot, the machine will no longer remember what OS it was running until it reboots. My advice would be to get to the console if you absolutely have to cold boot it. Or call someone nearby the console and have the actually turn the machine off, wait the obligatory 30 seconds and then restart it. Someone else may have a better idea. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 03:39:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1062106564A for ; Sun, 17 Jul 2011 03:39:20 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8599D8FC08 for ; Sun, 17 Jul 2011 03:39:20 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 42D23267E8AD; Sat, 16 Jul 2011 22:45:04 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ied6gsGC5Tat; Sat, 16 Jul 2011 22:44:51 -0500 (CDT) Received: from [10.0.1.3] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id 6E41A267E8AC; Sat, 16 Jul 2011 22:44:51 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <1310873512.63641.YahooMailRC@web36508.mail.mud.yahoo.com> Date: Sat, 16 Jul 2011 22:39:06 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1310873512.63641.YahooMailRC@web36508.mail.mud.yahoo.com> To: Bill Tillman X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 03:39:20 -0000 When bottom replying, please clear the header and signature - thanks. You can set up a BIOS boot time, if you can get onsite... that would = allow you to power it down at, say, 11:59PM and have it power back on at = Midnight. Or a UPS that's controlled by another machine. Or the magic packet WOL = option... but those require another machine. Maybe a switch or router = than can send WOL packets would be a possibility? -- Ryan On Jul 16, 2011, at 10:31 PM, Bill Tillman wrote: >=20 > WOW! That's a tall order. A reboot from remote is simple, but a cold = boot....I=20 > don't think that's possible unless you have some kind of Wake-On-Lan = capable NIC=20 > which could detect a connection attempt while the machine is off. I = can't say=20 > that for sure because what you've got to remember is that with a cold = boot, the=20 > machine will no longer remember what OS it was running until it = reboots. My=20 > advice would be to get to the console if you absolutely have to cold = boot it. Or=20 > call someone nearby the console and have the actually turn the machine = off, wait=20 > the obligatory 30 seconds and then restart it. Someone else may have a = better=20 > idea. > _______________________________________________ > 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" From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 03:45:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D07841065672 for ; Sun, 17 Jul 2011 03:45:03 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8C58FC1C for ; Sun, 17 Jul 2011 03:45:03 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p6H3j2i5060903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Jul 2011 22:45:03 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p6H3j2Vs058942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Jul 2011 22:45:02 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p6H3j20f058936; Sat, 16 Jul 2011 22:45:02 -0500 (CDT) (envelope-from dan) Date: Sat, 16 Jul 2011 22:45:01 -0500 From: Dan Nelson To: Aryeh Friedman Message-ID: <20110717034459.GN6611@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Sat, 16 Jul 2011 22:45:03 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: FreeBSD Mailing List Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 03:45:03 -0000 In the last episode (Jul 16), Aryeh Friedman said: > Is there any way to force a complete power down and then reset of a i386 > without physically being present? If you have a server motherboard with IPMI (or a high-end server with a service processor module), you can use that to power cycle the system remotely even if the OS is hung. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 04:01:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 566F8106566B for ; Sun, 17 Jul 2011 04:01:44 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 13FEB8FC08 for ; Sun, 17 Jul 2011 04:01:43 +0000 (UTC) Received: by iwr19 with SMTP id 19so2666711iwr.13 for ; Sat, 16 Jul 2011 21:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=sRMze5DWLhFK3NFCRx9BGBCjvZT5WqWA2hld8hSEI7M=; b=mInEFdTPT4MBO8yCfuapji0PWoregkvm14aySbH8ZZSyywMEGBgIlWemlvhoSEG0KJ Zi/HqTf2nK7z0LZMjpu5ieMhfzZWxa4dT74u7WeDwZYCMiUaEXtGjjRJdAPLErz8MGg5 k+T0kU8yaRZn9Iwe5XR7uHURNmX4swYFbuV7I= Received: by 10.42.154.10 with SMTP id o10mr5583416icw.365.1310875303415; Sat, 16 Jul 2011 21:01:43 -0700 (PDT) Received: from [192.168.1.6] (c-98-212-201-29.hsd1.il.comcast.net [98.212.201.29]) by mx.google.com with ESMTPS id y3sm1971111ibc.20.2011.07.16.21.01.42 (version=SSLv3 cipher=OTHER); Sat, 16 Jul 2011 21:01:42 -0700 (PDT) Message-ID: <4E225EA4.9040507@gmail.com> Date: Sat, 16 Jul 2011 23:01:40 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 04:01:44 -0000 On 7/16/2011 9:40 PM, Aryeh Friedman wrote: > Is there any way to force a complete power down and then reset of a > i386 without physically being present? > _______________________________________________ > 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" Odds are this would be a little bit of a hardware mod. Get a microcontroller and a relay, and tell the microcontroller to kill power to the system. Make sure in the BIOS you're set to restart when the power comes back on. If that fails you'll need another relay to short the on button. I don't know of anything in the computer that could be easily used instead of a microcontroller. You might be able to find something that'll work related to home automation. But the only guarantee of a power down is physically killing power, even if you're a thousand miles away. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 04:07:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B01521065672 for ; Sun, 17 Jul 2011 04:07:21 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 538958FC15 for ; Sun, 17 Jul 2011 04:07:21 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 25794267E8AF; Sat, 16 Jul 2011 23:13:05 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JK4c1kEX+UCL; Sat, 16 Jul 2011 23:12:52 -0500 (CDT) Received: from [10.0.1.3] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id 4299E267E8AE; Sat, 16 Jul 2011 23:12:52 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Ryan Coleman In-Reply-To: <4E225EA4.9040507@gmail.com> Date: Sat, 16 Jul 2011 23:07:07 -0500 Message-Id: References: <4E225EA4.9040507@gmail.com> To: Joshua Isom X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 04:07:21 -0000 On Jul 16, 2011, at 11:01 PM, Joshua Isom wrote: > On 7/16/2011 9:40 PM, Aryeh Friedman wrote: >> Is there any way to force a complete power down and then reset of a >> i386 without physically being present? >> _______________________________________________ >> 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" >=20 > Odds are this would be a little bit of a hardware mod. Get a = microcontroller and a relay, and tell the microcontroller to kill power = to the system. Make sure in the BIOS you're set to restart when the = power comes back on. If that fails you'll need another relay to short = the on button. I don't know of anything in the computer that could be = easily used instead of a microcontroller. I think I kinda covered that with the UPS remote control thing...=20 From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 04:26:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11A031065675 for ; Sun, 17 Jul 2011 04:26:55 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id E03B68FC0C for ; Sun, 17 Jul 2011 04:26:54 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id D1E89E80CD9; Sat, 16 Jul 2011 21:26:53 -0700 (PDT) Date: Sat, 16 Jul 2011 21:26:53 -0700 From: Gary Kline To: Ryan Coleman Message-ID: <20110717042653.GA28019@thought.org> References: <1310873512.63641.YahooMailRC@web36508.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Bill Tillman , freebsd-questions@freebsd.org Subject: Re: how to force a hard reboot remotely 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: Sun, 17 Jul 2011 04:26:55 -0000 On Sat, Jul 16, 2011 at 10:39:06PM -0500, Ryan Coleman wrote: > Date: Sat, 16 Jul 2011 22:39:06 -0500 > From: Ryan Coleman > Subject: Re: how to force a hard reboot remotely > To: Bill Tillman > Cc: freebsd-questions@freebsd.org > X-Mailer: Apple Mail (2.1084) > > When bottom replying, please clear the header and signature - thanks. > > You can set up a BIOS boot time, if you can get onsite... that would allow you to power it down at, say, 11:59PM and have it power back on at Midnight. > > Or a UPS that's controlled by another machine. Or the magic packet WOL option... but those require another machine. Maybe a switch or router than can send WOL packets would be a possibility? > > -- > Ryan I had something like this in late 1995. Remotely "shutdown -h [time]" got my box powered down, then a remote timer cycled the power. Problems were: that the timer was hard to set exacrly. [There may have ben two timers; it was a bear of a problem. ] gary > > On Jul 16, 2011, at 10:31 PM, Bill Tillman wrote: > > > > > WOW! That's a tall order. A reboot from remote is simple, but a cold boot....I > > don't think that's possible unless you have some kind of Wake-On-Lan capable NIC > > which could detect a connection attempt while the machine is off. I can't say > > that for sure because what you've got to remember is that with a cold boot, the > > machine will no longer remember what OS it was running until it reboots. My > > advice would be to get to the console if you absolutely have to cold boot it. Or > > call someone nearby the console and have the actually turn the machine off, wait > > the obligatory 30 seconds and then restart it. Someone else may have a better > > idea. > > _______________________________________________ > > 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" > > _______________________________________________ > 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" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.51a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 06:32:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51F30106564A for ; Sun, 17 Jul 2011 06:32:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 162AC8FC0A for ; Sun, 17 Jul 2011 06:32:08 +0000 (UTC) Received: from r55.edvax.de (port-92-195-103-124.dynamic.qsc.de [92.195.103.124]) by mx02.qsc.de (Postfix) with ESMTP id 1C3571E807; Sun, 17 Jul 2011 08:32:06 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p6H6W6gN001549; Sun, 17 Jul 2011 08:32:06 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 17 Jul 2011 08:32:06 +0200 From: Polytropon To: Aryeh Friedman Message-Id: <20110717083206.db111314.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: how to force a hard reboot remotely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 06:32:09 -0000 On Sat, 16 Jul 2011 22:40:19 -0400, Aryeh Friedman wrote: > Is there any way to force a complete power down and then reset of a > i386 without physically being present? I'm not fully sure what you mean by "reset" in terms that it happens _after_ powering down. When a machine is powered down (i. e. switched off), it's "implicitely" a reset - compare to pressing the RESET button which will keep the system powered on, but will perform a (very hard) reset. Allow me to point you to the following manpages: man shutdown man reboot man init A problem will be: How to power a machine back on that has been powered off? I assume you don't want the hard reset, you want to perform a clean shutdown first, followed by a powering down, and THEN power the machine back up. That's quite easy, although you need something more than just onboard means. I may introduce a (quite stupid) solution I "invented" many years ago: Prior to performing the "shutdown -p