From owner-freebsd-questions Wed Jan 19 13:22:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from benge.graphics.cornell.edu (benge.graphics.cornell.edu [128.84.247.43]) by hub.freebsd.org (Postfix) with ESMTP id 364AB14D95 for ; Wed, 19 Jan 2000 13:22:31 -0800 (PST) (envelope-from mkc@benge.graphics.cornell.edu) Received: from benge.graphics.cornell.edu (mkc@localhost) by benge.graphics.cornell.edu (8.9.3/8.9.3) with ESMTP id QAA94479; Wed, 19 Jan 2000 16:22:24 -0500 (EST) (envelope-from mkc@benge.graphics.cornell.edu) Message-Id: <200001192122.QAA94479@benge.graphics.cornell.edu> To: "Max Clark" Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Console on serial port? In-Reply-To: Message from "Max Clark" of "Wed, 19 Jan 2000 12:39:10 PST." <000f01bf62bd$3df3ebc0$c90110ac@yipinet.com> Date: Wed, 19 Jan 2000 16:22:24 -0500 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I am in the process of compiling a kernel for one of my FreeBSD machines and >I would like to put the console on the serial port. How do you do this? > >The current line is >device sc0 at isa? tty That's just the console driver. You want to affect the console device selection logic. There seems to be more than one way to do this. My favorite is to create a file named /boot.config with it's only contents being "-P". This sets you up to use the graphics screen if the kernel detects a keyboard is plugged in, otherwise it uses the serial port. See boot(8) for details, in particular the section named Boot flags. -Mitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message