root@bifrost:/boot # dmesg | grep uartuart0: <16550 or compatible> at port 0x3f8 irq 4 on isa0uart1: <16550 or compatible> at port 0x2f8 irq 3 flags 0x10 on isa0uart1: console (115200,n,8,1)
# If console is marked "insecure", then init will ask for the root password# when going to single-user mode.console none unknown off secure#ttyv0 "/usr/libexec/getty Pc" xterm off secure# Virtual terminalsttyv1 "/usr/libexec/getty Pc" xterm off securettyv2 "/usr/libexec/getty Pc" xterm off securettyv3 "/usr/libexec/getty Pc" xterm off securettyv4 "/usr/libexec/getty Pc" xterm off securettyv5 "/usr/libexec/getty Pc" xterm off securettyv6 "/usr/libexec/getty Pc" xterm off securettyv7 "/usr/libexec/getty Pc" xterm off securettyv8 "/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.115200" vt100 onifconsole securettyU1 "/usr/libexec/getty std.115200" vt100 onifconsole securettyU2 "/usr/libexec/getty std.115200" vt100 onifconsole securettyU3 "/usr/libexec/getty std.115200" vt100 onifconsole secure# Dumb consoledcons "/usr/libexec/getty std.9600" vt100 off secure
root@bifrost:/boot # cat loader.conf.local comconsole_port="0x2F8"comconsole_speed="115200"hint.uart.0.flags=0x0hint.uart.1.flags=0x10
ttyU0 "/usr/libexec/getty std.115200" vt100 onifconsole securettyU1 "/usr/libexec/getty std.115200" vt100 onifconsole securettyU2 "/usr/libexec/getty std.115200" vt100 onifconsole securettyU3 "/usr/libexec/getty std.115200" vt100 onifconsole secure
root@bifrost:/ # ls /dev | grep ttyu ttyu0ttyu0.initttyu0.lockttyu1ttyu1.initttyu1.lock
/* serial terminals */ foreach (array('tty%s0', 'tty%s1', 'tty%s2', 'tty%s3') as $serialport) { $serialport = sprintf($serialport, isset($config['system']['serialusb']) ? 'U' : 'u'); if (stripos($tty, $serialport) === 0) { fwrite($fd, "{$serialport}\t\"/usr/libexec/getty {$serial_type}\"\tvt100\t{$on_off_secure_u}\n"); continue 2; } }
uart0: <16550 or compatible> at port 0x3f8 irq 4 on isa0uart1: <16550 or compatible> at port 0x2f8 irq 3 flags 0x10 on isa0