1
17.1 Legacy Series / Re: Cant get serial console to work
« on: August 08, 2017, 06:09:25 pm »
sure (i did a cat instead of tail to get everything):
Code: [Select]
root@OPNsense:~ # cat /etc/ttys
console none unknown off secure
#
ttyv0 "/usr/libexec/getty al.Pc" xterm on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty al.Pc" xterm on secure
ttyv2 "/usr/libexec/getty al.Pc" xterm on secure
ttyv3 "/usr/libexec/getty al.Pc" xterm on secure
ttyv4 "/usr/libexec/getty al.Pc" xterm on secure
ttyv5 "/usr/libexec/getty al.Pc" xterm on secure
ttyv6 "/usr/libexec/getty al.Pc" xterm on secure
ttyv7 "/usr/libexec/getty al.Pc" xterm on 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 al.115200" vt100 onifconsole secure
ttyu1 "/usr/libexec/getty al.115200" vt100 onifconsole secure
ttyu2 "/usr/libexec/getty al.115200" vt100 onifconsole secure
ttyu3 "/usr/libexec/getty al.115200" vt100 onifconsole secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure
Code: [Select]
root@OPNsense:~ # tail /boot/loader.conf
ng_tty_load="YES"
ng_vjc_load="YES"
ng_vlan_load="YES"
# dynamically generated settings follow
comconsole_speed="115200"
boot_multicons="YES"
boot_serial="YES"
#kern.vty
console="comconsole,vidconsole"