Hi,
I tried to set up the serial console according to the FreeBSD Handbook chapter 27.6. But I'm unfortunately not succeeding at all, since FreeBSD 9.0 RELEASE seems to be a little different from what's described in the Handbook ... this is what I got thus far:
After a reboot I see uart0 set up for console in boot loader and in dmesg:
But I can't see anything on my remote terminal. I tried using ZTerm and CoolTerm on OSx which both work fine with pfSense and other Serial connections.
I also tried
in /boot/loader.conf but it didn't work as well ;(
Any ideas what I'm missing?
I tried to set up the serial console according to the FreeBSD Handbook chapter 27.6. But I'm unfortunately not succeeding at all, since FreeBSD 9.0 RELEASE seems to be a little different from what's described in the Handbook ... this is what I got thus far:
Code:
echo '
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="9600"
console="comconsole,vidconsole"
' > [FILE]/boot/loader.conf[/FILE]
Code:
cat [FILE]/etc/ttys[/FILE]
[ ... ]
console none unknown off secure
#
ttyv0 "/usr/libexec/getty Pc" xterm on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" xterm off secure
ttyv2 "/usr/libexec/getty Pc" xterm off secure
ttyv3 "/usr/libexec/getty Pc" xterm off secure
ttyv4 "/usr/libexec/getty Pc" xterm off secure
ttyv5 "/usr/libexec/getty Pc" xterm off secure
ttyv6 "/usr/libexec/getty Pc" xterm off secure
ttyv7 "/usr/libexec/getty Pc" xterm off secure
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty std.9600" vt100 on secure
ttyu1 "/usr/libexec/getty std.9600" dialup off secure
ttyu2 "/usr/libexec/getty std.9600" dialup off secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
Code:
kill -HUP 1
Code:
echo '-Dh' > [FILE]/boot.config[/FILE]
chmod 0755 [FILE]/boot.config[/FILE]
After a reboot I see uart0 set up for console in boot loader and in dmesg:
Code:
BTX loader 1.00 BTX version is 1.02
Consoles internal video/keybord serial port
[ ... ]
Code:
dmesg | grep -E "sio[0-9]|uart[0-9]"
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
But I can't see anything on my remote terminal. I tried using ZTerm and CoolTerm on OSx which both work fine with pfSense and other Serial connections.
I also tried
Code:
hint.uart.0.flags="0x30"
Any ideas what I'm missing?