Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2000 13:20:34 -0400
From:      Chris Faulhaber <jedgar@fxp.org>
To:        matthew zeier <matthew@intelenet.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: serial console - how-to ?
Message-ID:  <20001009132034.C28702@peitho.fxp.org>
In-Reply-To: <20001009101242.D29388@intelenet.net>; from matthew@intelenet.net on Mon, Oct 09, 2000 at 10:12:42AM -0700
References:  <20001009101242.D29388@intelenet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 09, 2000 at 10:12:42AM -0700, matthew zeier wrote:
> 
> In searching the mailing lists, I seem to get different methods to use
> COM1 for console.
> 
> What's needed to get a GENERIC kernel to use COM1 for all console I/O ?

GENERIC is set up for serial console on sio0 (COM1).

> Do I just add "-h" to /boot.config (that file doesn't exist on 4.1.1) ?

In /boot.config:

/boot/loader -P  (to probe whether a keyboard is present)

or:

/boot/loader -h  (to force serial)

both of which are documented in /sys/i386/boot/biosboot/README.serial

> Or do I need to rebuild my kernel setting the flags for com1 to 0x20?
> Do I need to do anything to /etc/ttys ?
> 

You may want to enable the ttyd0 line if you want to login via serial also.

In addition, see /etc/defaults/make.conf WRT BOOT_COMCONSOLE_PORT and
BOOT_COMCONSOLE_SPEED to change the compile-time parameters.

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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