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
Ubuntu串口控制台设置
本文介绍如何在Ubuntu系统中配置串口控制台。主要步骤包括:创建包含启动和服务配置的文件,通过Upstart启动getty服务。适用于需要远程访问或调试的场景。
635

被折叠的 条评论
为什么被折叠?



