Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 2004 12:30:47 -0700
From:      Paul Hoffman <phoffman@proper.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Not needing the console for a system reload
Message-ID:  <p06100503bcc2e5939860@[10.20.30.249]>
In-Reply-To: <409D13DF.6020307@gmx.de>
References:  <p06100533bcc2b5cf36f7@[10.20.30.249]> <409D13DF.6020307@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At 7:07 PM +0200 5/8/04, Ph. Schulz wrote:
>>Is there a way to give a "shutdown now; <use /bin/sh>; exit" 
>>command from the command line if I'm logged in remotely? Or do I 
>>really need to use "reboot" and go through the whole hardware 
>>reinitialization?
>>
>
>  I don't think this is possible. The reason is (if I understand 
>things correctly) that if you're in single user mode, the network 
>isn't started, so there's no way of accessing the machine through 
>ssh, rlogin or something similar.

Exactly right. That's why I want a script that starts the process 
while I'm logged in over the network, but finishes the process even 
after I'm kicked off.

>  I think you're best off if you hook up a serial console to your 
>machine and remotely access that console. There are commercial 
>solutions for this but any low-end PC will do.

That is massive overkill for something that should be much simpler 
and hopefully not involve new hard ware.

--Paul Hoffman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06100503bcc2e5939860>