Configuring a Device for a Modem

Use this procedure to configure a Digi device for a Dial-in/Dial-out modem connection. Configuring a device for a modem requires familiarity with both the operating system and the modem being used. While the following procedure is sufficient for most cases, it may be necessary to take additional steps to properly configure your modem or to set up the operating system for a specific application.

Procedure

  1. On the HP-UX server, edit the /etc/inittab file to add new modem entries for dial-in. Here are examples of two entries for AccelePort Xp ports:

    Xx01:23:respawn:/etc/getty ttya12 38400
    Xx02:23:respawn:/etc/getty ttyb02 38400
     

    Notes:

  2. Enter this command to force the /etc/inittab changes you made in the previous step to take effect:

    init q

  3. Modify the file /usr/lib/uucp/Devices. Add an entry for the device at the end of the file like this:

  4. Direct cua12 - 38400 direct

    Note: The "cu" devices are most commonly used for dial-out. See Device Names for a description of tty and cu devices.

  5. Connect to the modem by entering this command at a root prompt:

    cu -l /dev/cua12 -s 38400

    Once connected, enter the following AT modem command to train the modem to the port speed:

  6. at&w

  7. To exit cu, enter:

    ~. (a tilde followed by a period)