使用 Serial Port 當 Console

想要使用Serial Port 當 Console

下列提供兩種方法.

方法一:
修改

vi /boot.config
-Dh

方法二:

echo ‘console=”comconsole”‘ >> /boot/loader.conf

and 修改

vi /etc/ttys
ttyd0 replace to ttyd0 “/usr/libexec/getty std.9600” xterm-color on secure
reboot

搞定收工. :p

ps.當然要準備 usb serial port and Null modem cable….

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.