Users Guide
串行端口控制台重定向
125
启用引导后登录到控制台
按照以下说明编辑文件 /etc/inittab:
添加新行在
COM1
串行端口上配置
getty
:
co:2345:respawn:/sbin/agetty -h -L 19200 ttyS0
vt100
请参阅示例文件,其中显示添加的新行。
表 8-2. 示例文件:/etc/innitab
#
# inittab This file describes how the INIT process
should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg,
<miquels@drinkel.nl.mugnet.org
# Modified for RHS Linux by Marc Ewing and
Donnie Barnes
#
# Default runlevel.The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do
not have
# networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit