====== Serial Port ======
* Use serial port as system console
* ''System'' --> ''Administration'' --> ''Console''
===== Use as console =====
# fstat | grep ttyu
root sh 21461 ctty /dev 68 crw------- ttyu0 rw
root sh 21461 0 /dev 68 crw------- ttyu0 rw
root sh 21461 1 /dev 68 crw------- ttyu0 rw
root sh 21461 2 /dev 68 crw------- ttyu0 rw
root login 76568 ctty /dev 68 crw------- ttyu0 rw
root login 76568 0 /dev 68 crw------- ttyu0 rw
root login 76568 1 /dev 68 crw------- ttyu0 rw
root login 76568 2 /dev 68 crw------- ttyu0 rw
===== Use as serial port =====
Start terminal session on serial port:
[[https://www.freebsd.org/cgi/man.cgi?query=cu&sektion=1&manpath=freebsd-release-ports|cu(1)]]
cu -s 115200 -l /dev/ttyu0
To finish session:
~^D or ~.
Drop the connection and exit. Only the connection is dropped -
the login session is not terminated.