Hi community,
I'm trying to connect serial console to pine64 running Freebsd12-Release, I type
And here's the my related config file
/boot/loader.conf
/etc/ttys
I try to change the console line from off to on, but the after reboot it stuck at CMD] type "?"
Any ideas?
Lin
I'm trying to connect serial console to pine64 running Freebsd12-Release, I type
cu -l /dev/cu.usbserial-001IKOQ -s 115200
and every works fine I can see the boot procedure, and when I type in login info information, each character I type the console throw me an error:
aJan 1 00:06:04 generic getty[828]: tcsetattr /dev/ttyu0: Invalid argument
And here's the my related config file
/boot/loader.conf
Code:
# Configure USB OTG; see usb_template(4).
hw.usb.template=3
umodem_load="YES"
# Multiple console (serial+efi gop) enabled.
boot_multicons="YES"
boot_serial="YES"
# DTB OVERLAYS
fdt_overlays="sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer"
# Disable the beastie menu and color
beastie_disable="YES"
loader_color="NO"
/etc/ttys
Code:
console none unknown off secure
#
ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure
#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm onifexists secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu1 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu2 "/usr/libexec/getty 3wire" vt100 onifconsole secure
I try to change the console line from off to on, but the after reboot it stuck at CMD] type "?"
Any ideas?
Lin