Configuring HP-UX For Peripherals
Chapter 4 111
Configuring Terminals and Modems
Additionally Configuring HP-UX for a Terminal
Additionally Configuring HP-UX for a
Terminal
The previous procedure ensured the system side was set up properly;
now you are setting up the terminal side.
• If the terminal will be used as a console, the default configuration is
likely to be correct.
• If the terminal will not be used as a console (but rather as an
additional serial terminal), you might have to set configuration
modes.
Step 1. From the new terminal, use the function keys to set the terminal's
features. In most cases, default settings will be sufficient.
NOTE Newer terminals have default modes correct for communicating with
HP-UX. If you are uncertain the terminal is configured in default mode,
1. Power off the terminal.
2. Hold D key down while powering on.
The terminal will power on with correct default modes. Make any
adjustments that might be necessary.
Step 2. Add a getty entry for each new terminal in /etc/inittab. Entries must
conform to the pattern id:run_state:action:process, as documented
on the inittab (4) manpage. A sample terminal entry resembles the
following:
ttp3:2:respawn:/usr/sbin/getty -h -t 60 tty0p3 9600
• ttp3 is a label used by init to identify the action uniquely (see init
(1M)).
• The 2 is the run state. Systems are shipped with the multi-user run
state (see the initdefault entry in inittab). When the system is
running in single-user mode (state s), this process is not executed.
• The respawn tells init to restart the process if it exits.