From owner-freebsd-isp Mon Jul 22 0:22:36 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76EE237B400 for ; Mon, 22 Jul 2002 00:22:30 -0700 (PDT) Received: from park.rambler.ru (park.rambler.ru [217.73.193.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EF8C43E6D for ; Mon, 22 Jul 2002 00:22:28 -0700 (PDT) (envelope-from kaa@rambler-co.ru) Received: from park-gw (park-gw [217.73.193.2]) by park.rambler.ru (8.11.6/8.9.3) with ESMTP id g6M7Lbk88733; Mon, 22 Jul 2002 11:22:02 +0400 (MSD) (envelope-from kaa@rambler-co.ru) Date: Mon, 22 Jul 2002 11:21:37 +0400 (MSD) From: Andrew Kopeyko X-X-Sender: kaa@park.rambler.ru To: Chris Knipe Cc: "Dave [Hawk-Systems]" , FreeBSD-ISP Subject: Re: Restart without reboot In-Reply-To: <001101c23039$1697a020$fe01a8c0@genocide> Message-ID: <20020722105726.Y54776-100000@park.rambler.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 21 Jul 2002, Chris Knipe wrote: > No, > > Once the system is in init 1, it is single-user mode. It only runs one > shell, one one console. > > You'll need to be physically infront of the system... Or you can use 'remote console' to do all remotely: - add 'cuaa0 "/usr/libexec/getty std.9600" cons25 on secure' line to '/etc/ttys' and 'kill -HUP 1' -- now you should have getty prompt on COM1 - connect COM1 to any terminal server (such as CISCO-2509/2511) and configure terminal server port to 9600,8,N,1 - add 'console="comconsole"' to /boot/loader.conf - connect to terminal server remotely (for CISCO use 'telnet 2001' to connect to system attached to CISCO's ASYNC-1 port) -- now reboot you system (may be done remotely via ssh) and see booting process on your terminal server connection. Some server platforms (such as Intel ISP-XXXX) can be cofigured to redirect BIOS input/output to COM1, so you can remotely configure BIOS and add-on cards with theis BIOSes (such as Adaptec SCSI, IDE RAID, etc) via that 'remote console'. > > > ----- Original Message ----- > From: "Dave [Hawk-Systems]" > To: "Chris Knipe" ; "FreeBSD-ISP" > > Sent: Saturday, July 20, 2002 11:23 PM > Subject: RE: Restart without reboot > > > > can this be done remotely (ie via ssh?) > > > > >init 1 > > >init 3 > > > > > >This switches your system to runlevel 1 (what is is when it starts > > >up), and when you go back to runlevel 3, your system will "boot up" > > >like it normally would do after a reboot. > > > > > >>I know you can restart just a process by using 'kill -HUP pid', but > > >>what process do I need to restart after modifying /etc/rc.conf? I've > > >>always rebooted the machine in the past, but I've heard you can have > > >>the rc.conf re-read. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > -- Best regards, Andrew Kopeyko Rambler Co. http://www.rambler.ru/ phone : +7 095 745-3619 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message