xref: /csrg-svn/usr.bin/uucp/DOC/README.TCP (revision 62377)
1*46868SbosticThe rest of this file is oriented to updating a vanilla 4.2 system.
2*46868SbosticAs 4.3 comes configured, all you have to do is uncomment the "uucpd"
3*46868Sbosticline in /etc/inetd.conf (and of course update your L.sys as needed).
4*46868SbosticIf you want to turn off logging uucp logins in wtmp, set the "user"
5*46868Sbosticfield in inetd.conf to "uucp", who doesn't have write permission on wtmp.
6*46868Sbostic
7*46868Sbostic----------------------------------------------------------------------
8*46868SbosticBasically, to run UUCP on top of TCP, the code had to be changed to
9*46868Sbosticnot do ioctl's on sockets,etc. Also, a new protocl 't' was added.
10*46868SbosticThis is because the 'g' protocol maxes out at about 9000 baud
11*46868Sbosticregardless of the physical medium. The 't' protocol presumes an
12*46868Sbosticerror free channel, and is essentially the 'g' protocol with the
13*46868Sbosticchecksumming and packetizing ripped out.
14*46868Sbostic
15*46868SbosticTo install it, make uucp with BSD4_2 defined in uucp.h.
16*46868Sbostic
17*46868SbosticAdd a line in /etc/services that looks like:
18*46868Sbosticuucp		540/tcp		uucpd
19*46868Sbostic
20*46868SbosticAdd lines to /etc/rc.local that looks something like:
21*46868Sbosticif [ -f /etc/uucpd ]; then
22*46868Sbostic	/etc/uucpd & echo -n ' uucpd'				>/dev/console
23*46868Sbosticfi
24*46868Sbostic
25*46868SbosticThe L.sys entry should look something like:
26*46868Sbosticuucpname time-to-call TCP port networkname standard uucp login chat
27*46868Sbostic
28*46868SbosticThis is how it would look for rochester.
29*46868Sbosticrochester Any TCP uucp ur-seneca "" uucplogin "" uucppasswd
30*46868Sbostic
31*46868SbosticUUCP site rochester is arpanet site ur-seneca (and there is a
32*46868Sbosticarpanet site rochester  that is a different machine)
33*46868Sbostic
34*46868SbosticThe "port" field is either a word or a number. It is a number,
35*46868Sbosticthat number is used as the port. If it is a word, the word is
36*46868Sbosticlooked up in /etc/services and the port is taken from there.
37*46868Sbostic
38*46868SbosticAnother example would be:
39*46868Sbosticseismo Any TCP 33 seismo "" uucplogin "" uucppassword
40*46868Sbostic
41*46868SbosticIn almost every case, the networkname field will be the same as the
42*46868Sbosticuucpname field. Similarly, the port field will usually be "uucp", which
43*46868Sbosticsays to use the standard uucp port from the services file.
44*46868Sbostic
45*46868SbosticThe daemon expects the incoming site to send its login and password
46*46868Sbosticfor authentication.
47*46868Sbostic
48*46868SbosticIf you have any problems feel free to call me:
49*46868Sbostic
50*46868Sbostic	Rick Adams
51*46868Sbostic	Center for Seismic Studies
52*46868Sbostic	1300 North 17th Street, Suite 1450
53*46868Sbostic	Arlington, VA 22209
54*46868Sbostic	(703) 276-7900
55*46868Sbostic	rick@seismo.ARPA
56*46868Sbostic	seismo!rick
57