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.
tip -baud /dev/DIGIras/b00p00m
where baud is the baud rate such as 38400.
ats0=#
where # is the number of rings before the
modem picks up the call.
at&w
~. (a tilde followed by a period)
admintool
Choose Browse > Serial Ports.
Choose a device.
Choose Edit > Modify.
Configure the device parameters. A modem device is typically set to either Dial-in, Dial-out or Bidirectional and Service Enabled.
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).
Edit the file /etc/rc2.d/S99digi (create it if necessary) and add the following command to it:
ditty rtspace ctspace /dev/DIGIras/b00p00m
Configure modem nationality if necessary. See Configuring Modem Nationality: RAS Adapters for more information.