### Configuring a Device for a Modem

Use this procedure to configure a Digi serial 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. Connect a proper cable between the port and modem. Refer to the AccelePort Cable Guide.

2. Power the modem on.

3. Connect to the modem with tip:

   `tip -38400 /dev/dty/a001s`

   The speed (38400) and device (/dev/dty/a001s) are used as examples in the previous tip command.

4. Enter one of the following commands depending on your modem:

   Command | Comment
   `AT&H1&B0&W` | Typically works for US Robotics modems
   `AT&H1&W` | Typically works for a Hayes or "other" modem

5. Terminate the connection to the modem with:

   `~.` (a tilde followed by a period)

6. Access admintool through a window interface, or 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. Typically a terminal device is set to Terminal-Hardwired 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/ttytype entry is different than the speed at the beginning of the entry. It is often preferable to set them to a fixed rate.

    For example, this line can be added to /etc/ttytype to configure the device for a 38400 fixed rate:

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

    If a custom /etc/ttytype entry is used, set Baud Rate to Other and enter the /etc/ttytype 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/dty/a001m`

    The device a001m is used as an example in the previous ditty command.