|
GAP/SCO Dial-in Modem Configuration GAP/SCO Dial-in Modem Configuration Modem Configuration requires familiarity with both the specific OS 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 OS for a specific
application.
1) The Cable
Use the Standard Modem Cable as diagrammed in The
Digi Standard Cable FAQ
2) The Unix Server
in inittab, set the upper-case device to gettydefs entry o
[o is for 38400 speed, which should work with any 14.4 or faster modem]
disable the upper and lower case devices
in /usr/lib/uucp/Devices, make the Direct line look like this:
Direct ttya01 - 38400 direct [lower case device name]
Comment out any ACU lines relating to this device until dialin is working properly.
Note: Some applications may require an ACU entry in the Devices file. If your application requires an entry, refer to your modem manual or to the modem manufacturer for the correct modem initialization string
to use for your modem, and to the SCO Administration handbook for guidance on setting up an appropriate ACU entry that uses this initialization string.
connect to the modem:
cu -l /dev/ttya01 -s 38400
ats0=1 [answer after first ring]
at&w [train modem to port speed]
[any other commands specific to the particular modem]
~. [tilde period, to end cu]
finish configuring the port
ditty rtspace ctspace -ixon -ixoff -ixany /dev/ttya01 [to set hardware flow control]
ditty altpin /dev/ttya01 [if using 8 wire cable]
(These lines can be run from command prompt so they take effect immediately, but also need to be added to /etc/rc.d/8/userdef to automatically execute at boot time)
Note:Altpin switches the pin assignment of DSR and DCD. When used with 8 wire RJ-45 cables, this makes DCD accesible on 8 wire pin 1. ditty -altpin would be the command to disable this flag.
The port is now configured for dial-out use. To add dial-in capability,
The port is now configured for dial-in.
Possible error messages
- NO DEVICES AVAILABLE -- check Devices file
- SYSTEM not in Systems FILE -- check Devices file
- DEVICE LOCKED -- there is a lock file in /usr/spool/uucp/LCK..##
- CAN'T ACCESS DEVICE -- check owner and permissions of /dev/ttya01
this can be caused by the lack of an ACU entry in the Devices file
- DIALER [whatever] -- the ACU entry is incorrect, refer to the modem
and system operators manuals
*In SCO Unix, the upper case device name is for dial-in, the lower case name is for dial-out and configuration:
| Device | Dialin | Dialout/Printer/Terminal
|
|---|
xem, c/x, epc/x
and portserver | ttyA01 | ttya01 | | xe and xi | ttyi1A | ttyi1a | | xr | ttyr1A | ttyr1a
|
Related Information:
http://supportold.digi.com/support/techsupport/common/cables/async/apcableindex.html
|