Configuring a Device for a Terminal
Use this procedure to configure an HP-UX device for a terminal.
See your operating system documentation for more information on
configuring a serial device for a terminal.
Procedure
- In HP-UX, dial-in devices require the CD (Carrier Detect)
signal to be asserted (high). This may be accomplished by
connecting the terminal's DTR (Data Terminal Ready) line to CD on
the Digi port.
- On the HP-UX server, use a text editor to add a terminal device
entry in the /etc/inittab file. Here are examples of two entries
for Digi ports:
Xx01:23:respawn:/etc/getty ttyc23 H
Xx02:23:respawn:/etc/getty ttyn12 H
Notes:
- The id field (the first field) for an /etc/inittab entry must
be from one to four characters long and it must be unique. The
word, respawn, in the third field means that the port will be
enabled for login. For more information, consult your HP-UX
documentation or consult man pages for
inittab.
- The last letter in this example, H, is an index into the
/etc/gettydefs file. Entries other than H may be
used. Consult your HP-UX documentation for more
information.
- Enter the following command at a root prompt:
init q