*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: uucp_manual_setup | Section: 7 | Source: Digital UNIX | File: uucp_manual_setup.7.gz
uucp_manual_setup(7) Miscellaneous Information Manual uucp_manual_setup(7) NAME uucp_manual_setup - Describes how to manually set up the UNIX-to-UNIX Copy Program (UUCP) DESCRIPTION Setting up UUCP manually includes the following tasks: Checking for re- quired directories Optionally, creating the UUCP manager's account Cre- ating UUCP accounts for remote systems Configuring remote communica- tions links, which consists of editing the following files: Devices /etc/inittab Dialers Systems Dialcodes Permissions Poll remote.unknown /etc/inetd.conf Verifying the configuration files Setting up TCP/IP communications Before you set up UUCP, be certain that all of the appropriate hardware is in place. For information on required hardware, see the Network Ad- ministration manual. Checking for Required Directories Verify that the directories, programs, and support files required to operate the UUCP programs are available on the local system. To per- form the verification, log in as superuser and enter the uucheck -v command. The uucheck program displays an explanation of how it is checking the file structure. Errors reported by uucheck could indicate that the software installation process did not complete successfully. See the Network Administration manual for more information. Creating UUCP Accounts for Remote Systems For a user on a remote system to log in to the local system, the remote system must have an entry in the local /etc/passwd file, or the user must know the login ID and password for a designated UUCP account on the local system. Likewise, for a user on the local system to log in to a remote system, the local system must have an entry in the remote system's /etc/passwd file, or the user must know the login ID and pass- word of a designated UUCP account on the remote system. You must coor- dinate assigning system login names and passwords for the local /etc/passwd file with the system administrator of the remote system. By convention, the login ID assigned to remote systems is the remote system's name with an uppercase U added as a prefix. Many systems, how- ever, have a single UUCP account for all remote systems to use. You must add a user account to the /etc/passwd file for remote systems that log in to your system. Use the following procedure to set up a remote system's account: Invoke vipw to edit the /etc/passwd file: # vipw The format for entries in the /etc/passwd file is: name: password: UID: GID: class: home_dir: shell The following is a sample entry for a remote system: Uhost1::4:2:uucp login for host1:/usr/spool/uucppublic:\ /usr/lbin/uucp/uucico For more information, see the refer- ence page. Use the passwd command to set a password for the new account. Note that the password you supply does not echo to the screen. # passwd Uhost1 Changing password for Uhost1. New password: Retype new password: The Permissions file is used to further control incoming connections and remote systems' access to the local system. For more information on the Permissions file, see the Permissions reference page. Configuring Remote Communications Links There are three ways to set up the link needed for remote communica- tions: Use a hardwired line with a device such as a workstation. The hardwired connection links a port on the local system to a port on the remote system. A hardwired line is advantageous when users on local systems communicate frequently with remote systems; the link is always available and access time is short. However, a port used for a hard- wired communications link is not available for any other purpose. A hardwired connection is made over an RS-232 or RS-422 serial port at transmission rates of up to 19,200 bits per second. The recommended length of such direct links is 50 feet or less be- cause signal noise becomes a problem with greater distances. It is possible to obtain longer lengths by using a lower transmis- sion rate, limited distance modems (short-haul modems), or both at both ends of the link. Use a telephone line with a modem. In this case, the user on the local system establishes the con- nection to a remote system through an Automatic Calling Unit (ACU), also referred to as an autodialer or a modem. The modem attached to the remote system answers the telephone, and the communications software then completes the connection. The advantage of a modem connection using a phone line is that the local and remote ports are not dedicated to a single system. The disadvantage is that the port of the remote system may be busy handling a connection with another system. A dialup link also requires additional software and hardware, such as the ACU, that is not necessary with a hardwired connection. Use a TCP/IP connection over a local area network (LAN). In order for UUCP to function correctly at your site, configure the re- mote communication facilities by doing the following: Edit the Devices file and add a list of the devices used to establish a hardwired commu- nications link, a communications link using TCP/IP, or a communications link using a telephone line and a modem. For more information, see the Devices(4) reference page. Edit the Dialers file and add a list of au- todialers (modems) used to contact remote systems using the telephone network. For more information, see the Dialers(4) reference page. Edit the Systems file and add a list of the remote systems with which the local system can communicate. For more information, see the Sys- tems(4) reference page. Optionally, edit the Dialcodes file and add a list of alphabetic abbreviations representing the prefixes of telephone numbers used to contact the specified remote systems. For more infor- mation, see the Dialcodes(4) reference page. Edit the Permissions file and add the appropriate access permissions specifying the way in which local and remote systems can communicate. For more information, see the Permissions(4) reference page. Edit the Poll file and add a sched- ule for monitoring the networked remote systems. For more information, see the Poll(4) reference page. Verifying the Configuration Files When the UUCP files are customized for your site, issue the uucheck command to check for possible errors in the Permissions file. Remember that the uucheck command does not check file or directory modes, nor does it check for duplicate login or MACHINE names. Issue the uucheck -v command to obtain a detailed explanation of the way that UUCP interprets the Permissions file. If the uucheck -v command displays an error message, use the pg command to examine the Permissions file and make sure the entries are correct. Then reissue the uucheck -v command. Use the uuname command to ensure that all the hosts included in the Systems file on the local system are actually on the UUCP network. If a system is networked correctly, it appears on the list displayed on the screen. The hosts on this list are the systems to which users can send mail. Setting Up TCP/IP Communications The uucpd daemon handles communications between UUCP and TCP/IP. This daemon enables users on systems linked over a local area network (LAN) to establish uucp connections to other systems using TCP/IP connec- tions. Use the following procedure to enable UUCP and TCP/IP to communicate: Check to see whether the /etc/services file includes the following line: uucp 540/tcp uucpd If it does not, add it to the file. To have the uucpd daemon start automatically each time the inetd daemon receives one UUCP request, remove the comment symbol (#) from the following line in the /etc/inetd.conf file: # uucp stream tcp nowait uucp /usr/sbin/uucpd uucpd Restart the inetd daemon. Be sure that the TCP/IP network between the local and remote systems is work- ing. Issue the ping command to test that the systems can communicate with one another. Replace rhost1 with the name of the appropriate re- mote host. # ping rhost1 See the reference page for more information. Update the Systems, Devices, and Permissions files in the /usr/lib/uucp directory to include the relevant TCP/IP entries, as follows: To update the Systems file do, the following: Select the appropriate TCP/IP con- versation protocol to enter in the TCP caller subfield. There are four kinds of protocols: g, t, e, and f. The g protocol, the default, pro- vides error checking and thus is useful over modem connections. How- ever, it creates a large overhead when running UUCP commands. The t protocol presumes an error-free channel and thus it is not reliable for use with modem connections. You can use the t protocol to communicate with a site running both DIGITAL UNIX and Berkeley versions of UUCP. Use the e protocol to communicate with sites running both DIGITAL UNIX UUCP and other versions of UUCP. The e protocol is not reliable for modem connections. Use the f protocol to communicate with sites run- ning versions of UUCP other than DIGITAL UNIX. The f protocol is not reliable for modem connectors. Add the appropriate entries to the Sys- tems file. For example, to connect the local system to system host7 using the default g protocol, enter the following line in the Systems file: host7 Any TCP - - in:--in: uucp1 word: passuucp Re- place the send and expect characters in the example Login field with the login prompt, login, password prompt, and password that applies to the remote system to which you are connecting. The following example shows how to specify that you are using TCP/IP with the t protocol: host7 Any TCP,t - - in:--in: uucp1 word: passuucp To update the Devices file, do the follow- ing: Enter the following line in the Devices file: TCP - - - TCP Specify TCP in the Caller field. Enter dashes (-) in the Line, Line2, and Class fields. Enter TCP as the Dialer. This is done to ensure that outgoing calls over TCP/IP are enabled. To update the Permissions file, enter the appropriate LOGNAME and MACHINE entries. See the Network Administration manual for information on editing the Permissions file. Note that you must set up an appropriate login ID and password for any remote system that initiates uucico and uuxqt activities. RELATED INFORMATION uucp(1), uucp_intro(7), uucpd(8), uucpsetup(8) Network Administration delim off uucp_manual_setup(7)

Navigation Options