System Administration Guide: Advanced Administration

ttymon and the Console Port

Console services are not managed by the Service Access Controller nor any explicit ttymon administration file. An entry in the /etc/inittab file is used to manage the console port by using ttymon in express mode. Express mode is a special ttymon mode that is invoked directly by a command that requires login service.

The default console entry in the /etc/inittab file is as follows:


co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: "
 -T terminal_type -d /dev/console -l console -m ldterm,ttcompat

co:234:respawn:

co identifies the entry as the console. 234 identifies the run levels for the action. respawn means the console entry should be restarted if it fails or doesn't exist at run levels 2, 3, and 4.

/usr/lib/saf/ttymon -g -h

The -g option is used so the correct baud rate and terminal setting can be set on a port and connect to a login service without being preconfigured by the SAC. The -h option forces a line hangup by setting the line speed to zero before setting the default or specified speed.

-p "`uname -n` console login:

Identifies the prompt string for the console port. 

-t terminal_type

Identifies the terminal type of the console. 

-d /dev/console -l console -m ldterm,ttcompat

The -d option identifies the console device. The -l option identifies the ttylabel in the /etc/ttydefs file. The -m option identifies the STREAMS modules to be pushed.