Use these procedures 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.
If you are using 8-pin RJ-45 cabling from the Digi serial port to the modem, enable altpin by inserting a ditty command (or adding the altpin option to an existing ditty command) in the file /dev/rc.d/8/userdef.
Example
ditty altpin devicewhere device is the name of the Digi device.Note: By inserting the command in the startup file, it will
execute every time the system is booted. For the altpin option to take
effect immediately, enter the ditty altpin command at a SCO OpenServer prompt.
disable modem-control-device
disable non-modem-control-device
where modem-control-device
is the name of the modem control device for the port and non-modem-control-device
is the name of the non modem control device for the port.
Direct ttyn1a - 9600 direct device
The "D" in Direct must be the first character on the line.
Some applications may require an ACU entry in the Devices file. If an application requires an entry, refer to the modem manual or to the modem manufacturer for the correct modem initialization string, and to the SCO OpenServer Administration handbook for guidance on setting up an appropriate ACU entry that uses this initialization string.
cu -l /dev/device -s 9600
where device
is the name of the non modem control device for the port.
ats0=1
at&w
~.
ditty rtspace ctspace -ixon device
Note: In setting the modem speed under SCO OpenServer, it is recommended using a letter rather than the actual numeric setting. The letter o will work with most modems that are 14400 or faster. Further information on configuring a modem is available at the Digi support site at http://www.digi.com. Go to the FAQ section and choose SCO OpenServer.
enable device
In SCO OpenServer, the uppercase device name is for dial-in, the lower-case name is for dial-out and modem configuration.