您的位置:首页 > 其它

ubuntu里设置从串口登录

2013-03-12 13:23 141 查看
https://help.ubuntu.com/community/SerialConsoleHowto

1) Create a file called /etc/init/ttyS0.conf containing the following:

# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.

start on stopped rc or RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -L 115200 ttyS0 vt102


2) Ask upstart to start the getty

sudo start ttyS0
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: