Configuring HP-UX For Peripherals
112 Chapter4
Configuring Terminals and Modems
Additionally Configuring HP-UX for a Terminal
• The /usr/sbin/getty is the process used to set up serial terminal
and modem ports and provide the initial login prompt.
• The -h option ensures that the getty will not hang up the line before
setting the port speed.
• The -t 60 is a security option to require that the user login name and
password is typed within 60 seconds.
• tty0p3 identifies the port in /dev to which the getty attaches.
• The 9600 (highlighted) does not represent the baud rate. It is a
pointer into the /etc/gettydefs file, telling the system side what
entry to use. An H entry is also provided for hard-wired terminals. See
gettydefs (4).
Step 3. Invoke the following command to activate the updated /etc/inittab
file:
/sbin/init q
Step 4. Add an (optional) entry to /etc/ttytype. Entries should conform to the
format documented on the ttytype (4) manpage. In the following example,
2392 is the terminal type; console and tty0p3 are the device file names
in the /dev directory.
2392 console
2392 tty0p3
Step 5. Now that HP-UX is set to communicate with the new terminal, verify
that the communication parameters for the terminal correspond to their
/etc/gettydefs entries. Instructions on necessary changes will be
discussed in “Differences between Console and Terminal Configuration”,
the next section.
Step 6. With the configuration complete, your terminal should display a login
prompt. If no login is displayed, press Return several times. If a prompt
fails to appear, consult the “Troubleshooting Terminal Problems” toward
the end of this chapter.
Differences between Console and Terminal
Configuration
As shipped, HP terminals are configured properly for use as a system
console. To use the terminal as a serial terminal, the parameters shown