Configuring a Modem Device

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.

Note: This procedure uses the device /dev/DIGIras/b00p00m as an example. Substitute your device name where necessary.

Procedure

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

    tip -baud /dev/DIGIras/b00p00m

    where baud is the baud rate such as 38400.

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

  3. Enter any other necessary AT modem commands. 
  4. Save the changes to the modem with this command:

    at&w

  5. Exit cu by entering this command:

    ~. (a tilde followed by a period)

  6. Access admintool by entering this command at a root prompt:

    admintool

  7. Choose Browse > Serial Ports.

  8. Choose a device.

  9. Choose Edit > Modify.

  10. Configure the device parameters. A modem device is typically set to either Dial-in, Dial-out or Bidirectional and Service Enabled.

  11. Set the Baud Rate.

    Note that the default admintool baud rates cycle, meaning the speed at the end of the corresponding /etc/ttydefs entry is different than the speed at the beginning of the entry. It is often preferable to set them to a fixed rate.

    As an example, this line can be added to /etc/ttydefs to configure the device for a 38400 fixed rate.

    38400N:38400 hupcl:38400 hupcl::38400N

    If a custom /etc/ttydefs entry is used, set Baud Rate to Other and enter the /etc/ttydefs identifier (e.g. 38400N).

  12. Edit the file /etc/rc2.d/S99digi (create it if necessary) and add the following command to it:

    ditty rtspace ctspace /dev/DIGIras/b00p00m

  13. Configure modem nationality if necessary. See Configuring Modem Nationality: RAS Adapters for more information.