Configuring a Device for a Terminal

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.

Procedure

  1. 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

  2. Connect a proper cable between the port and terminal. See the Digi One RealPort or PortServer Cable Guide.
  3. Set the port to dev=rp on the Digi One RealPort or PortServer by entering this command at a Digi One RealPort or PortServer root prompt:

    set port dev=rp ra=12

    This example sets PortServer port 12 to be a RealPort device.

    Note: If your Digi One RealPort or PortServer firmware does not support the dev=rp option, use dev=prn instead.

  4. If you are using 8-pin RJ-45 cabling from the Digi One RealPort or PortServer to the terminal, set the port to altpin=on by entering this command at the root prompt:

    set port altpin=on ra=12

    This example sets altpin=on for port 12 of a PortServer.

  5. 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

  6. 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.
  7. Enter the following command at a root prompt:

    init q