TCP/IP and Data Communications Administration Guide

Dialer-Token-Pairs Field

The Dialer-Token-Pairs (DTP) field contains the name of a dialer and the token to pass it. The DTP field has this syntax:

dialer token [dialer token]

The dialer portion can be the name of a modem, a port monitor, or it can be direct or uudirect for a direct-link device. You can have any number of dialer-token pairs; if not present, it is taken from a related entry in the Systems file. The token portion can be supplied immediately following the dialer portion.

The last dialer token pair might not be present, depending on the associated dialer. In most cases, the last pair contains only a dialer portion. The token portion is retrieved from the Phone field of the associated Systems file entry.

A valid entry in the dialer portion can be defined in the Dialers file or can be one of several special dialer types. These special dialer types are compiled into the software and are therefore available without having entries in the Dialers file. Table 12-3 shows the special dialer types which include:

Table 12-3 Dialer-Token Pairs

TCP

TCP/IP network 

TLI

Transport Level Interface Network (without STREAMS) 

TLIS

Transport Level Interface Network (with STREAMS) 

See "Protocol Definitions in the Devices File" for more information.

Structure of the Dialer-Token-Pairs Field

The DTP field can be structured four different ways, depending on the device associated with the entry:


Example 12-7 Dialers Field and /etc/uucp/Dialers Correspondence


File Name Type  Line  Line2 Class Dialer-Token-Pairs
 
Devices   ACU   cua/b -     2400  hayes
 
Dialers   hayes =,-,  ""          \\dA\pTE1V1X1Q0S2=255S12=255\r\c 
                                  \EATDT\T\r\c CONNECT
 

Notice that only the dialer portion (hayes) is present in the DTP field of the Devices file entry. This means that the token to be passed on to the dialer (in this case the phone number) is taken from the Phone field of a Systems file entry. (\T is implied, as described in Example 12-9.)


Example 12-8 Dialers Field and /etc/uucp/Dialers Correspondence


File Name  Type     Line  Line2  Class  Dialer-Token-Pairs
 
Devices    develcon cua/a -      1200   develcon
 
Dialers    develcon ,""   ""            \pr\ps\c est:\007 \E\D\e \007
 

As shown, the token portion is left blank. This indicates that it is retrieved from the Systems file. The Systems file entry for this computer contains the token in the Phone field, which is normally reserved for the phone number of the computer. (Refer to "/etc/uucp/Systems File".) This type of DTP contains an escape character (\D), which ensures that the contents of the Phone field not interpreted as a valid entry in the Dialcodes file.


Example 12-9 Dialers Field and /etc/uucp/Dialers Correspondence


File Name  Type     Line  Line2  Class     Dialer-Token-Pairs
 
Devices    ACU      cua/b -      1200      develcon    vent        ventel
 
Dialers    develcon ""    ""     \pr\ps\c  est:\007    \E\D\e      \007
 
Dialers    ventel   =&-%   t""   \r\p\r\c  $           <K\T%\r>\c  ONLINE!

In the first pair, develcon is the dialer and vent is the token that is passed to the Develcon switch to tell it which device (such as Ventel modem) to connect to your computer. This token is unique for each port selector since each switch can be set up differently. After the Ventel modem has been connected, the second pair is accessed, where Ventel is the dialer and the token is retrieved from the Systems file.

Two escape characters can appear in a DTP field: