Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2002 19:16:43 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Jason Borkowsky" <jcborkow@tcpns.com>, <questions@FreeBSD.ORG>
Subject:   Re: Headless FreeBSD/redirecting console
Message-ID:  <041701c25d0d$f564fef0$1200a8c0@gsicomp.on.ca>
References:  <Pine.BSF.4.44.0209151901120.341-100000@bemused.tcpns.com>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: "Jason Borkowsky" <jcborkow@tcpns.com>
To: <questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?041701c25d0d$f564fef0$1200a8c0>