From owner-freebsd-stable Mon Oct 9 10:20:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id F037237B503 for ; Mon, 9 Oct 2000 10:20:39 -0700 (PDT) Received: by peitho.fxp.org (Postfix, from userid 1501) id BEACC1360D; Mon, 9 Oct 2000 13:20:35 -0400 (EDT) Date: Mon, 9 Oct 2000 13:20:34 -0400 From: Chris Faulhaber To: matthew zeier Cc: freebsd-stable@freebsd.org Subject: Re: serial console - how-to ? Message-ID: <20001009132034.C28702@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , matthew zeier , freebsd-stable@freebsd.org References: <20001009101242.D29388@intelenet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001009101242.D29388@intelenet.net>; from matthew@intelenet.net on Mon, Oct 09, 2000 at 10:12:42AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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