Configuring Terminals for Login in HP-UX

Enabling the New Ports


  • Connect terminals to the ports (using a Digi standard terminal cable) and test the connections to each terminal by entering the following command for each port added:

    date > /dev/ttya01 (Assuming the terminal is connected to ttya01.)

    (Please note that in the above, the "date" command is used as a simple test, to provide text output that can be redirected; there is no other significance to "date" in this test.)

    * If the date appears on the terminal's screen, the device is properly connected.
    * If the date does not appear on the terminal's screen, then that terminal is not receiving data; check the power, cables, connections, etc.
    * If nonsense characters are printed on the terminal''''s screen, check the baud rates, data bits, stop bits, and parity setting on your terminal (UNIX default parameters are 9600 baud, 8 data bits, 1 stop bit, and no parity).

  • Use the vi editor to enable the new terminal entries in the /etc/inittab file. The following entries have been automatically added for the boards (and ports) installed:

    Xx01:23:off:/etc/getty ttya01 9600 Xx02:23:off:/etc/getty ttyb02 9600... and so on. * Change the word "off" to "respawn" for each terminal you want to be enabled.

    * The numbers associated with each "tty" represent the board and port number.

    * The last number is an entry into the /etc/gettydefs file, which may be set to any of the allowable baud rates. (Check your Operating System's manual.) In this case, "9600" specifies 9600 baud, 8 data bits, 1 stop bit, and no parity.

  • Finally, enter the following command to get the login prompt on the screen:

    init q

Last updated: Aug 23, 2017