Creating a new atdial dialer
You can create a new atdial dialer without
having the SCO OpenServer Development System installed.
An atdial dialer is actually a link to
the binary /usr/lib/uucp/atdialer that
calls a configuration file in the /usr/lib/uucp/default
directory. The configuration file contains all the
commands specific to that modem.
For example, atdialHAY is linked
to atdialer and the configuration file is in
/usr/lib/uucp/default/atdialHAY.
To create a new atdial dialer, atdialMINE
for example, follow these steps:
Alternatively you can use the make.dialer script to create an atdial dialer. See make.dialer(C) for more information.
Set the MDM_MODE parameter in /usr/lib/uucp/default/atdial* to ``AUTO'' to configure a modem to detect incoming FAX messages automatically. Use the -f option with the getty(M) program defined for the modem port to invoke an appropriate program defined in /etc/gettyacts (see gettyacts(F)) if an incoming connection is a FAX message or another communications protocol such as PPP.
Most modern modems can perform speed conversion which allows them to negotiate a different connection speed with the remote modem than the serial line speed that they use with the local computer.
If you use hardware flow control with the modem, and the modem is capable of performing speed conversion, do not use the RTC_speed strings. Instead, use the RTC_CONNECT string and set it to the value ``CONNECT''. This will give you the fastest available connection speed. The computer to modem speed will be set by the value in the /usr/lib/uucp/Devices file.
The RTC_speed strings in the /usr/lib/uucp/default/atdial* configuration files allow the dialer to recognize connect messages from the modem and map them to appropriate speed(s). For example:
RTC_9600=CONNECT 9600The dialer then recognizes ``CONNECT 9600'' as a 9600bps connection. The connect messages for each speed must be unique. If the message is set to ``CONNECT'', the first speed mapped to the connect message is used. For unused speeds, simply set the RTC_speed string to ``not used'', for example:
RTC_300=not usedIt is possible to specify all valid connect messages. For example:
RTC_2400=CONNECT 2400 RTC_9600=CONNECT 9600For a modem that performs speed conversion, this more accurate setup is only necessary if you need to guard against long UUCP transfers at 2400bps. This is because the speed recognized by the dialer is matched against the speed range in the Systems file or the speed range on the cu command line. If it is out of range, an
EXECDIAL LOCAL FAILURE will result.
In the following command
the speed range specified is 9600 - 9600:
Connections at 2400bps using the above command will fail
if separate RTC_speed lines are set up.
Either of the following commands allow a 2400bps
connection in this case:
cu -ltty1A -s2400 5551212
cu -ltty1A -s2400-9600 5551212