Examples: BNU configuration for a telephone connection
Example files are set up to connect systems venus
and merlin
over
a telephone line by using modems.
The system venus
is the local system, and the
system merlin
is the remote system.
On both systems, the device tty1
is connected
to a Hayes modem at 1200 baud. The login ID used for system venus
to log
in to system merlin
is uvenus
, and
the associated password is mirror
. The login ID for
system merlin
to log in to system venus
is umerlin
,
and the associated password is oaktree
. The phone
number for the modem that is attached to venus
is 9=3251436
;
the number of the merlin
modem is 9=4458784
.
Both computers include partial phone numbers in their Systems files
and include dial-codes in their Dialcodes files.
The following example files are set up to connect systems venus
and merlin
:
- Systems File: The Systems file on
system
venus
contains the following entry for systemmerlin
, including a phone number and a dialing prefix:merlin Any ACU 1200 local8784 "" in:--in: uvenus word: mirror
System
venus
can call systemmerlin
at any time, by using anACU
device at1200
baud and logging in asuvenus
with the passwordmirror
. The telephone number is expanded based on the codelocal
in the Dialcodes file, and the device to be used is determined based on the Type and Class entries. BNU checks the Devices files for a device of typeACU
and class1200
. - Dialcodes File: The Dialcodes file
on system
venus
contains the following dial-code prefix for use with the number in the Systems file:local 9=445
Given this code, the telephone number for system
merlin
in the Systems file is expanded to9=4458784
. - Devices file: The Devices file on
system
venus
contains the following entry for the connection to systemmerlin
:ACU tty1 - 1200 hayes \T
The port to be used is
tty1
, and the Dialer entry in the Dialer-Token Pairs field ishayes
. The Token entry,\T
, indicates that the telephone number is to be expanded by using a code from the Dialcodes file. BNU checks the Dialers files for ahayes
dialer type. - Dialers file: The Dialers file that
is used by the uucico daemon on system
venus
contains the following entry for thehayes
modem:hayes =,-, "" \dAT\r\c OK \pATDT\T\r\c CONNECT
Note: The expect-send characters are defined in the Dialers file format. - Permissions file: The Permissions file
on system
venus
contains the following entries, which specify the ways in which systemmerlin
can conduct uucico and uuxqt transactions with systemvenus
:LOGNAME=umerlin REQUEST=yes SENDFILES=yes \ READ=/var/spool/uucppublic:/home/merlin \ WRITE=/var/spool/uucppublic:/home/merlin MACHINE=venus:merlin VALIDATE=umerlin REQUEST=yes SENDFILES=yes \ COMMANDS=ALL \ READ=/var/spool/uucppublic:/home/merlin \ WRITE=/var/spool/uucppublic:/home/merlin
System
merlin
logs in to systemvenus
asumerlin
, which is a unique login for systemmerlin
. Systemmerlin
can request and send files regardless of who initiated the call. Also, systemmerlin
can read and write to the /var/spool/uucppublic directory and to the /home/merlin directory on systemvenus
. Systemmerlin
can issue all commands in the default command-set on systemvenus
.