You are viewing an article about an obsolete product. Information on this page is provided as-is and not supported.

Configuring Ports for Modems in HP-UX

Setting up ports for bi-directional modems

Use vi to enable the new modem entries in the /etc/inittab file for dial-in. The following entries have been automatically added for the ports installed:

Xx01:23:off:/etc/getty ttya01 H
Xx02:23:off:/etc/getty ttyb02 H
... and so on.

  • Change the word "off" to "respawn" for each terminal you want to be enabled.
  • The numbers associated with each "tty" represent port number.
  • The last number or letter (H) 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, "H" specifies 9600 baud, 8 data bits, 1 stop bit, and no parity.

    init q

  • In /usr/lib/uucp/Devices, make the Direct line look like this:

    Direct cua01 - 38400 direct

  • Comment out any ACU lines relating to this device until dialin is working properly.
  • Connect to the modem using uucp:

    chown uucp:uucp /dev/cua*
    cu -l /dev/cua01 -s 38400
    at&w [train modem to port speed]
    ~. [tilde period, to end cu]

    Note: All devices in HP/UX will require the DCD signal high in order to establish communication. If you are using eight wire cable, enable the altpin option. If using cable with less than eight wires, you may need to force Carrier Detect:

    ditty printer forcedcd ttya01
    ditty printer altpin ttya01 (this should be placed in a startup script)

Last updated: Aug 23, 2017

Filed Under


Recently Viewed

No recently viewed articles

Did you find this article helpful?