Configuring a TTY 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.

This procedure assumes that a TTY has  been created for the terminal. See Creating and Configuring ttys.

Procedure

  1. Connect a proper cable between the port and terminal. See the PortServer Cable Guide.

  2. Login to the PortServer as root. For information on logging onto a PortServer, see Configuring a PortServer for RealPort.

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

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

  5. At an AIX root prompt, enter this command:

    smit tty

  6. Choose Change/Show Characteristics of a TTY.

  7. Select a TTY device. Here's an example of a listed device:

    tty7 Available 00-00-04-02 Asynchronous Terminal

    In this example, the first 00 is the bus number. This is unused and will always be 00. The second 00 is the slot number. This is unused and will always be 00. The number 04 is the sa device number. The number 02 is the port number.

  8. Set Enable LOGIN to enable.

  9. Set BAUD rate to match the terminal's baud rate.

  10. Set PARITY, BITS per character, and Number of STOP BITS to match the terminal's settings.

  11. Set TERMINAL type to match the type of terminal on the port. This is important if you will be using transparent printing on the auxiliary port of the terminal.

  12. Set FLOW CONTROL to match the flow control used by the terminal

  13. If DCD is not physically wired high in your cable, set Force Carrier to enable.