From owner-freebsd-questions Sun Sep 15 16:16:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 944D337B400 for ; Sun, 15 Sep 2002 16:16:47 -0700 (PDT) Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F4AE43E3B for ; Sun, 15 Sep 2002 16:16:46 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.177.86]) by tomts6-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020915231645.GFQY12912.tomts6-srv.bellnexxia.net@xena.gsicomp.on.ca>; Sun, 15 Sep 2002 19:16:45 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g8FM2rX97478; Sun, 15 Sep 2002 18:02:54 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <041701c25d0d$f564fef0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Jason Borkowsky" , References: Subject: Re: Headless FreeBSD/redirecting console Date: Sun, 15 Sep 2002 19:16:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Jason Borkowsky" To: Sent: Sunday, September 15, 2002 7:06 PM Subject: Headless FreeBSD/redirecting console > > Greetings! I am looking how to make a headless FreeBSD server. I have a box > running FreeBSD 4.6.2 and want to redirect console to the serial port. When > I do a "man sio": > > 0x00020 device is forced to become system console > > So in my kernel file, I added that for sio1, recompile, installed, and > rebooted: > > device sio1 at isa? port IO_COM2 flags 0x20 irq 3 > > However, console is still going to the monitor. So how can I redirect it? > > Also, I have a Tyan motherboard and can redirect console to the serial port, > and this works fine until FreeBSD boots. Once it boots, it takes back > control and the console once again goes to the monitor. > > So any info on redirecting console to the serial port would be greatly > appreciated. Thanks! I'm not 100% on this, but I think adding console="comconsole" to /boot/loader.conf will do the trick. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message