Date: Thu, 9 Sep 2004 15:21:31 -0700 From: Mike Hunter <mhunter@ack.Berkeley.EDU> To: Marian Hettwer <Mh@kernel32.de> Cc: freebsd-current@freebsd.org Subject: Re: 5.3-BETA3 serial console Message-ID: <20040909222130.GA29369@ack.Berkeley.EDU> In-Reply-To: <41408070.4060107@kernel32.de> References: <413EB55D.4060307@kernel32.de> <20040908162133.GA17274@ack.Berkeley.EDU> <41408070.4060107@kernel32.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 09, "Marian Hettwer" wrote: > Mike Hunter wrote: > >On Sep 08, "Marian Hettwer" wrote: > > > >Sorry this doesn't answer the question, but what's the status of using > >"-h" in /boot.config instead of mucking with the /etc files? Is that The > /boot.config is toggling around with the serial console for the boot > loader and the bootup process. > /etc/ttys is needed to enable a serial console after the bootprocess is > finished. Thing of something like a getty in Linux running on ttyS0 ... > > at least this is how I understood serial consoles in FreeBSD-4 ... > > If I was wrong, I'm sure somebody on this list would correct me ;) You're right. The quick config section of the handbook reads: 1. Connect the serial port. The serial console will be on COM1. 2. echo -h > /boot.config to enable the serial console for the boot loader and kernel. 3. Edit /etc/ttys and change off to on for the ttyd0 entry. This enables a login prompt on the serial console, which mirrors how video consoles are typically setup. 4. shutdown -r now will reboot the system with the serial console. I just don't remember doing step 3 for the life of me, but I see that either I or the hacker who 0wns all my boxes did :) Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040909222130.GA29369>