Solstice X.25 9.2 Administration Guide

Chapter 10 Configuring uucp and tip to Run Over Solstice X.25

The configurations described in this chapter are not part of the Solstice X.25 configuration, but they are provided here for your convenience.

An xty device emulates a tty device, and is required to make outgoing calls using uucp or tip.

By default, Solstice X.25 provides 16 xty devices. This is sufficient for most purposes. If you require more than 16 xty devices, add them by editing the /etc/system file. For example, if you need 20 xty devices, you would add the following line:

set xty:xty_cnt = 20

Incoming calls are handled directly by the PAD daemon which executes the login process.

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.

Configuring tip

To configure tip, add the name of the remote node you want to reach to your /etc/remote file. The entry must include the device type and also specify the pad command needed to reach the remote device. If the remote destination is in the hosts database, you can give the hostname you entered there. The entry looks like this:


hostname:\
          :dv=/dev/xtydevice:cm=CALL x25.address:

Use the xty device you set using x25tool.

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