Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2003 08:13:53 -0600
From:      Robin Damm <robin@damm.ca>
To:        Bryan Ko <bryanko@i-cable.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting up serial console!
Message-ID:  <200301261413.h0QEDrp3041287@lulu.private.lan>
In-Reply-To: <000d01c2c537$ac5eead0$0201a8c0@winxp>
References:  <000d01c2c537$ac5eead0$0201a8c0@winxp>

next in thread | previous in thread | raw e-mail | index | archive | help
"Bryan Ko" <bryanko@i-cable.com> writes:

> Hello all,
> 
> I am trying to set up serial console for the first time and I am having some
> troubles to make it work.
> I bought a null modem cable and connected it to COM1 on two computers. One
> is Windows XP,
> and one is FreeBSD. I created "boot.config" file with the line:
> -Dh
> When I rebooted the FreeBSD box, the dmesg was not shown anymore. I think it
> wrote to serial
> console already. Then I tried to connect to the FreeBSD box in WinXP by
> using the HyperTerminal.
> But nothing was displayed and I rebooted freebsd box again. Still nothing.
>  
> [Deleted...]
>

Boot messages should appear simply by connecting to com1 from
HyperTerm. To get a login prompt you need to edit /etc/ttys.

Change the line:

ttyd0   "/usr/libexec/getty std.9600"   dialup  off secure

to:

ttyd0   "/usr/libexec/getty std.9600"   dialup  on secure

Connect via HyperTerm or "tip com1" from another bsd box, hit Enter
and you should receive a prompt. If you still do not see anything try
using only the -h flag in boot.config.

More info at
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html>.

Hope that helps.

-- 
Robin Damm <robin@damm.ca>

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?200301261413.h0QEDrp3041287>