Solstice X.25 9.2 Administration Guide

Configuring uucp

You need to modify a number of files before uucp/cu calls can be made over the xty driver. All of the files are in the directory /etc/uucp. For more detail, refer to the SunOS 5.x Administering TCP/IP and PPP guide. The files you need to modify are:

Editing the Devices File

The xty device numbers should match those generated by kernelcreate, and should number from one upwards. Add lines like the following to the file:


Pad   xty1   -   Any   pad
Pad   xty2   -   Any   pad

Editing the Dialcodes File

Add entries to the Dialcodes file to specify name to X.25 address mapping. The names you specify here are used in the Permissions and Systems files. Add lines like the following to the file:


hostname1 x.25-address
hostname2 x.25-address

Enter the X.25 address in one of the following formats:

Editing the Permissions File

Add lines like the following to this file:


MACHINE=hostname1:hostname2 \
 REQUEST=yes \
 SENDFILES=yes \
 READ=/ WRITE=/ \
 COMMANDS=ALL
 LOGNAME=nuucp \
 REQUEST=yes \
 SENDFILES=yes \
 READ=/ WRITE=/ \
 COMMANDS=ALL

It is standard practice to use nuucp as the LOGNAME, but this is not mandatory.


Note -

You may want to set more restrictive permissions than those shown above. For more detail, refer to the SunOS 5.x Administering TCP/IP and PPP.


Editing the Dialers File

You need to tell uucp the command to issue to the PAD to allow outgoing calls. Add the following line to this file:


pad   ""   "" P_ZERO   "" CALL\040\T

Editing the Systems File

You need to add lines like this to the Systems file:


systemname Any Pad Any hostname  in:--in: logname word: password

The hostname is the hostname you mapped to an address in the Dialcodes file. Alternatively, enter the X.25 address here.

Use the LOGNAME that you set in the Permissions file. In most cases this is nuucp.