Problem with serial console (5.2)
Lanny Baron
lnb at FreeBSDsystems.COM
Mon Jan 19 23:40:44 PST 2004
Hi Rob,
On our iNET<tm> Servers, for our customers that want console redirection
set up 'out-of-the-box', we really only have to press a key when
installing and when the OK shows, type set console=comconsole and press
enter then type boot.
I assume you have already installed. You really need to make sure that
whatever you are using to attach to the serial port is set at 9600 and
if you want a login: prompt you need to edit /etc/ttys and look at the
lines with '3wire' in it:
ttyd0 "/usr/libexec/getty 3wire.9600" dialup on secure
ttyd1 "/usr/libexec/getty 3wire.9600" dialup on secure
That will make sure that upon boot you get a login: via Serial Console.
I hope that helps you out.
Regards,
Lanny
Rob MacGregor wrote:
> Before I start tearing my hair out can somebody confirm that all I
> should have to do is put:
>
> -P
>
> As the only contents of /boot.config and that I should just have to set:
>
> hint.device.sio.0.flags="0x10"
>
> in /boot/device.hints to get a serial console if I don't plug a keyboard
> in?
>
> I'm having problems getting it working, and want to ensure I'm doing the
> right thing (despite following the Handbook). In desparation I did set
> the flags to 0x30, which resulted in the following output from
> dmesg|grep sio0:
>
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A, console
>
> Not that it made any difference :( If people can confirm this means I
> should have a serial console I'll start looking at the null-modem cable,
> the only part of the system that's not been confirmed good.
>
> TIA
>
>
> Please DO NOT send me ANY email directly unless it's a privacy issue.
> Reply-to mangled to assist those who don't read the above.
> --
> Rob | What part of "no" was it you didn't understand?
>
> _________________________________________________________________
> Stay in touch with absent friends - get MSN Messenger
> http://www.msn.co.uk/messenger
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Lanny Baron
Proud to be 100% FreeBSD
http://www.FreeBSDsystems.COM
Toll Free: 1.877.963.1900
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
More information about the freebsd-current
mailing list