Dial-in/Dial-out Configuration

Use this procedure to configure an AccelePort RAS device for dial-in and dial-out capability. Configuring a device for dial-in and dial-out requires familiarity with both the operating system and your modem configuration requirements. While the following procedure is sufficient for most cases, it may be necessary to take additional steps to properly configure your device and modem or to set up the operating system for a specific application.

Note: This procedure use specific device names. Substitute your specific device names as appropriate.

Procedure

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

    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.

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

    cu -l /dev/cua12 -s 38400

  3. If you are configuring the modem for dial-in use, set the modem to auto-answer with this command:

    ats0=#

    where  #  is the number of rings before the modem picks up the call.

  4. Enter any other necessary AT modem commands.  See Basic AT Commands for more information.
  5. Save the changes to the modem with this command:

    at&w

  6. Exit cu by entering this command:

    ~. (a tilde followed by a period)

  7. If you are configuring the modem for dial-in use, perform these two steps:

    1. Edit the /etc/inittab file and add a new modem entry for the device. Here are examples of two entries for Digi AccelePort RAS ports:

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

      Notes:

      • The id field (the first field) for an /etc/inittab entry must be from one to four characters long and it must be unique.  The word respawn in the third field means that the port will be enabled for login. For more information, consult your HP-UX documentation or consult man pages for inittab.
      • The "tty" devices are most commonly used for dial-in. See  Device Names for a description of tty and cu devices.
      • The last number in this example, 38400, is an index into the /etc/gettydefs file.  Entries other than 38400 may be used.  Consult your HP-UX documentation for more information.
    2. Enter this command to force the /etc/inittab changes to take effect:

      at&w