全部博文(21)
分类: BSD
2011-06-09 10:04:56
This section assumes that you are using the default setup and just want a fast overview of setting up the serial console.
Connect the serial cable to COM1 and the controlling terminal.
To see all boot messages on the serial console, issue the following command while logged in as the superuser:
# echo 'console="comconsole"' >> /boot/loader.conf
Edit /etc/ttys and change off to on and dialup to vt100 for the ttyu0 entry. Otherwise a password will not be required to connect via the serial console, resulting in a potential security hole.
Reboot the system to see if the changes took effect.
If a different configuration is required, a more in depth configuration explanation exists in .