Skip Navigation Links | |
Exit Print View | |
Managing Serial Networks Using UUCP and PPP in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
2. Planning for the PPP Link (Tasks)
3. Setting Up a Dial-up PPP Link (Tasks)
4. Setting Up a Leased-Line PPP Link (Tasks)
5. Setting Up PPP Authentication (Tasks)
6. Setting Up a PPPoE Tunnel (Tasks)
7. Fixing Common PPP Problems (Tasks)
8. Solaris PPP 4.0 (Reference)
9. Migrating From Asynchronous Solaris PPP to Solaris PPP 4.0 (Tasks)
11. Administering UUCP (Tasks)
System-Name Field in /etc/uucp/Systems File
Time Field in /etc/uucp/Systems File
Type Field in /etc/uucp/Systems File
Speed Field in /etc/uucp/Systems File
Phone Field in /etc/uucp/Systems File
Chat-Script Field in /etc/uucp/Systems File
Enabling Dialback Through the Chat Script
Hardware Flow Control in /etc/uucp/Systems File
Setting Parity in /etc/uucp/Systems File
Type Field in /etc/uucp/Devices File
Type Fields in Devices File and Systems File
Line Field in the /etc/uucp/Devices File
Line2 Field in the /etc/uucp/Devices File
Class Field in the /etc/uucp/Devices File
Dialer-Token-Pairs Field in the /etc/uucp/Devices File
Structure of the Dialer-Token-Pairs Field in the /etc/uucp/Devices File
Protocol Definitions in /etc/uucp/Devices File
Enabling Hardware Flow Control in the /etc/uucp/Dialers File
Setting Parity in the /etc/uucp/Dialers File
UUCP /etc/uucp/Permissions File
UUCP NOREAD and NOWRITE Options
Combining MACHINE and LOGNAME Entries for UUCP
Relationship Between User and System Job Grades
You can use files in this section in addition to the Systems, Devices, and Dialers file when doing basic UUCP configuration.
The /etc/uucp/Dialcodes file enables you to define dial-code abbreviations that can be used in the Phone field in the /etc/uucp/Systems file. You can use the Dialcodes file to provide additional information about a basic phone number that is used by several systems at the same site.
Each entry has the following syntax:
Abbreviation Dial-Sequence
This field provides the abbreviation that is used in the Phone field of the Systems file.
This field provides the dial sequence that is passed to the dialer when that particular Systems file entry is accessed.
Compare the fields in the two files. The following are the fields in the Dialcodes file.
Abbreviation Dial-Sequence
The following are the fields in the Systems file.
System-Name Time Type Speed Phone Chat Script
The following table contains sample content for the fields in a Dialcodes file.
Table 12-4 Entries in the DialcodesFile
|
In the first row, NY is the abbreviation to appear in the Phone field of the Systems file. For example, the Systems file might have the following entry:
NY5551212
When uucico reads NY in the Systems file, uucico searches the Dialcodes file for NY and obtains the dialing sequence 1=212. 1=212 is the dialing sequence that is needed for any phone call to New York City. This sequence includes the number 1, an “equal sign” (=) meaning pause and wait for a secondary dial tone, and the area code 212. uucico sends this information to the dialer, then returns to the Systems file for the remainder of the phone number, 5551212.
The entry jt 9=847- would work with a Phone field such as jt7867 in the Systems file. When uucico reads the entry that contains jt7867 in the Systems file, uucico sends the sequence 9=847-7867 to the dialer, if the token in the dialer-token pair is \T.
The /etc/uucp/Sysfiles file lets you assign different files to be used by uucp and cu as Systems, Devices, and Dialers files. For more information about cu, see the cu(1C) man page. You can use Sysfiles for the following:
Different Systems files so that requests for login services can be made to different addresses than uucp services.
Different Dialers files so that you can assign different handshaking for cu and uucp.
Multiple Systems, Dialers, and Devices files. The Systems file in particular can become large, making the file more convenient to split into several smaller files.
The syntax of the Sysfiles file is as follows:
service=w systems=x:x dialers=y:y devices=z:z
Represents uucico, cu, or both commands separated by a colon
Represents one or more files to be used as the Systems file, with each file name separated by a colon and read in the order that it is presented
Represents one or more files to be used as the Dialers file
Represents one or more files to be used as the Devices file
Each file name is assumed to be relative to the /etc/uucp directory unless a full path is given.
The following sample, /etc/uucp/Sysfiles, defines a local Systems file (Local_Systems) in addition to the standard /etc/uucp/Systems file:
service=uucico:cu systems=Systems :Local_Systems
When this entry is in /etc/uucp/Sysfiles, both uucico and cu first check in the standard /etc/uucp/Systems. If the system being called does not have an entry in that file, or if the entries in the file fail, then both commands check /etc/uucp/Local_Systems.
As specified in the previous entry, cu and uucico share the Dialers and Devices files.
When different Systems files are defined for uucico and cu services, your machine stores two different lists of Systems. You can print the uucico list by using the uuname command or the cu list by using the uuname -C command. The following is another example of the file, which shows that the alternate files are consulted first and the default files are consulted if necessary:
service=uucico systems=Systems.cico:Systems dialers=Dialers.cico:Dialers \ devices=Devices.cico:Devices service=cu systems=Systems.cu:Systems \ dialers=Dialers.cu:Dialers \ devices=Devices.cu:Devices
Every machine that uses UUCP must have an identifying name, often referred to as the node name. The node name appears in the remote machine's /etc/uucp/Systems file, along with the chat script and other identifying information. Normally, UUCP uses the same node name as is returned by the uname -n command, which is also used by TCP/IP.
You can specify a UUCP node name independent of the TCP/IP host name by creating the /etc/uucp/Sysname file. The file has a one-line entry that contains the UUCP node name for your system.