This section describes how to establish a modem-based UUCP connection to another computer. The connection described is a simple one-to-one connection between two systems using Hayes-compatible modems, or any modem specifically supported by a dialer binary (for example, Telebit, Multitech, or US Robotics). Both sites are able to dial into each other. It is assumed that the modem on each site is connected to /dev/tty1A. (If your modem is attached to a different serial port, you will need to change this.) Finally, it is assumed that the modems are connected by a hardware-handshaking cables. For more detailed information and for other UUCP configurations, see ``Configuring UUCP''.
To set up the standard UUCP system, you need:
To set up the connection, edit the /usr/lib/uucp/Systems and /usr/lib/uucp/Devices files. You can use the UUCP Manager/uuinstall utility to help you do this.
The Systems file in /usr/lib/uucp contains a list of the systems that UUCP knows about, and specifies the device and method used to contact each system. The Devices file identifies the usable devices, speed to use, and the serial ports that the devices are connected to.
To configure UUCP on a computer called topaz:
UUCP Administration Utility ===========================
1. Display or update site name 2. Display or update list of remote sites (Systems) 3. Display or update direct- or dial-out lines (Devices) 4. Display or update direct- or dial-in lines (/etc/inittab) 5. Check consistency of UUCP files 6. Test connection with remote site 7. Convert old UUCP files to new format
Choose an option (1-7), or q to quit :
Display or update list of remote sites (Systems) ================================================Select Add a new site entry. uuinstall prompts you to enter information about the new site a line at a time:
1. Display the Systems file 2. Add a new site entry 3. Delete a site entry 4. Change a site entry
Choose an option (1-4), or q to quit :
Site name : emerald Schedule : Any Device type : ACU Speed range : 2400 Phone number : 0123456789 Expect login : ogin:-@-ogin:-@-ogin: Send login : topaz Expect login : ssword: Send login : bbsuucpThese fields are described in detail in ``Adding entries for remote sites to the Systems file''.
You should see a menu like this:
Display or update direct- or dial-out lines (Devices) =====================================================Having defined a site to contact, it is necessary to configure the device used to contact the site. In the Systems file (step 4) you specified that the device ACU should be used. So it is necessary to add (or change) the device entry for ACU:
1. Display the Devices file 2. Add a new device entry 3. Delete a device entry 4. Change a device entry
Choose an option (1-4), or q to quit :
Device type ? ACU Tty line ? tty1A Dialer line ? - Speed range ? 2400 Dialer ? hayes2400 Switch token ? New entry is accepted :These fields are described in detail in ``Specifying dial-up parameters with the Devices file''. (If you are not using a Hayes compatible modem, you may need to change the ``Dialer'' field, and optionally the ``Speed range'' field.) Use the dialer same dialer name that you used when you configured your modem. The dialers provided are described in -1.
After adding or updating the ACU device, you should return to the main menu.
Display or update direct- or dial-in lines (/etc/inittab) =========================================================Select Enable login on a line to enable login on a line, and enter the name of the line. (Display the inittab file for a list of acceptable lines.) Note that if the kernel is subsequently relinked, it is necessary to reenable any lines allocated for UUCP logins.
1. Display inittab file 2. Enable login on a line 3. Disable login on a line
These fields are described in ``Limiting access with the Permissions file''.