# dynamically generated console settings followcomconsole_speed="115200"boot_multicons="YES"boot_serial="YES"#kern.vtyconsole="efi,comconsole"
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.ttyu0 "/usr/libexec/getty 3wire.115200" vt100 onifconsole securettyu1 "/usr/libexec/getty 3wire.115200" vt100 onifconsole securettyu2 "/usr/libexec/getty 3wire.115200" vt100 onifconsole securettyu3 "/usr/libexec/getty 3wire.115200" vt100 onifconsole secure
hint.uart.0.disabled=1
hint.uart.1.flags=0x10
echo "test" > /dev/ttyu1
stty -a -f /dev/ttyu0
This can be changed by the uart flags, see "man uart" and this page, which also explains how to set ports if they are non-standard. Again, this should be done in the "Tuneables" section in OpnSense, not in the FreeBSD files themselves.