Chapter 8: Installing and Configuring Peripherals
184
In some cases the terminal may need special recognition from the system software. You
can check or set up the system software to work under specific parameters by following
these steps:
1. Log in to the system as root.
2. Edit the file /etc/gettydefs to choose the proper baud rate, prompt, and line
conditioning.
vi /etc/gettydefs
3. Modify the file /etc/inittab, if necessary, to enable getty on the appropriate port at the
desired baud rate:
vi /etc/inittab
The following lines are for the system console and the second serial port:
t1:23:respawn:/etc/getty ttyd1 co_9600
t2:23:off:/sbin/getty -N ttyd2 co_9600
These lines are for ports 3 and 4 on a second module:
t5:23:off:/sbin/getty -N ttyd3 co_9600
t6:23:off:/sbin/getty -N ttyd4 co_9600
Notice that ports 2, 3, and 4 are marked "off." This means that you cannot log in on
those ports. To allow logging in on, for example, port 3, change the line for port 3 to
the following:
t5:23:respawn:/sbin/getty -N ttyd3 co_9600
To use a higher baud rate, for example, 38400, change the line to the following:
t5:23:respawn:/sbin/getty -N ttyd3 dx_38400
4. After modifying the /etc/inittab file, inform init of any changes by entering
telinit q
# alt console
# port 2
# port 3
# port 4
# port 3
# port 3