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 device
where 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 ttyh1a - 38400 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 38400
where device is the name of the non modem
control device for the port.
ats0=1
at&w
~.
ditty rtspace ctspace -ixon device
Note: The ditty command is not supported for EtherLite devices. Use standard operating system tools (scoadmin or stty) to set device options for EtherLite devices.
enable device
In SCO OpenServer, the uppercase device name is for dial-in, the lower-case name is for dial-out and modem configuration.