beautypg.com

Console port, Using the console port as a standard tty port – Comtrol DM ATS-LNX User Manual

Page 23

background image

CONSOLE Port

23

CONSOLE Port

This section contains information about how to use the CONSOLE port. In
addition, this section discusses how to change the default configuration and use it
as a standard RS-232 serial port.

By default, the CONSOLE (ttyS0) port is configured for serial console
administration.

Using the CONSOLE Port as a Standard TTY Port

To disable the login prompt on the CONSOLE port, comment out the ttyS0 line in
the /etc/inittab file.

#T0:23:respawn:/sbin/getty -L ttyS0 57600 vt100

In both cases you will have to either reboot or do one of the following:

Notify init of the changes with this command:

# telinit q

Kill any getty or mgetty running on the port in question:

# ps
PID TTY STAT TIME COMMAND
1 ? S 0:05 init [2]
2 ? SW 0:00 [keventd]
[...]
1149 ttyS0 S 0:00 /sbin/getty -L ttyS0 57600 vt100
[...]
# kill 1149