Users Guide

62
配置 CMC 使用命令行控制台
要使用多个
GRUB
选项通过行连接启动控制,将以下行添
加到所有选项
console=ttyS1,57600
示例
中,
console=ttyS1,57600
添加到第一个选项。
配置 Linux 在引导后进行服务器串行控制台重定向
按照以下说明编辑文 /etc/inittab
添加新行以在
COM2
口上配置
agetty
co:2345:respawn:/sbin/agetty -h -L 57600 ttyS1
ansi
有新行的件。
#
# inittab This file describes how the INIT process
# should set up the system in a certain
# run-level.
#
# Author: Miquel van Smoorenburg
# 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