Use this procedure to configure a RealPort device for a terminal. See your operating system documentation for more information on configuring a serial device for a terminal.
In HP-UX, TTY devices require the carrier detect
high. This must either be tied high within the cable or it can be forced high in the
driver by entering a ditty command, like the following example, for the port in a startup file:
ditty forcedcd ttya12
Connect a proper cable between the port and terminal. See the PortServer Cable Guide.
Set the port to dev=rp on the PortServer by
entering this command at a PortServer root prompt:
set port dev=rp ra=12
This example sets PortServer port 12 to be a RealPort device.
Note: If your PortServer firmware does not support the dev=rp option,
use dev=prn instead.
If you are using 8-pin RJ-45 cabling from the
PortServer to the terminal, set the port to altpin=on by entering this command at a
PortServer root prompt:
set port altpin=on ra=12
This example sets altpin=on for port 12 of a PortServer.
Enable the port by editing the /etc/inittab
file. Locate the proper RealPort device to enable and change the word off to
respawn.
This line shows an example of a inittab entry for the first port of a PortServer
with a designation letter of "a".
Xx01:23:off:/etc/getty ttya12 H
Change the letter or number at the end of the entry as needed. The last number or letter (H in the previous example) is an entry in the /etc/gettydefs file. This sets the speed, data bits, stop bit(s) and parity for the port. Consult your operating system documentation for more information on /etc/gettydefs.
Enter the following command at a root prompt:
init q