Setting up serial consoles
You can configure a serial device, rather than a display
adapter, as your system console. The
boot(HW)
program sets the default console at boot time
according to this procedure:
-
The boot program looks for the entry SYSTTY=x
(where x is a number that specifies the system console device)
in the /stand/etc/default/boot file.
-
If the SYSTTY entry is not found or the
/stand/etc/default/boot file is not readable,
boot checks your system for a display adapter and
designates it as your system console.
-
If no display adapter is found, boot looks for
tty1a, sets the serial port to 9600bps, 8 data
bits, 1 stop bit, and no parity, and uses it as the system
console.
To change the console device to a serial terminal:
-
Enter system maintenance mode.
-
Enter the following commands (all 12 tty devices need to be specified
on the second line):
enable tty1a
disable tty01 tty02 tty03 tty04 ... tty10 tty11 tty12
This enables the serial device and disables the console multiscreen
devices associated with a display adapter.
-
Edit the /etc/default/login file
to change the value of the parameter
OVERRIDE from ``tty01'' to the tty line of
the serial console (normally its value is ``tty1a'').
After editing, the line in /etc/default/login (if
the tty line is tty1a), should read:
OVERRIDE=tty1a
-
Edit the file /etc/default/boot (not
/stand/etc/default/boot) and add the following
line to the end of the file:
SYSTTY=1
-
Reboot.
To temporarily change the system console device from the command line,
enter systty=x at the boot prompt
(where x is ``cn'' for a
display adapter or ``sio'' for a COM1 serial port).
This does not create or change a SYSTTY entry in
the /etc/default/boot file.
Next topic:
Setting up scancode-compatible terminals
Previous topic:
Removing terminals
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003