*BSD News Article 47533


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoregon.edu!gatech!news.sprintlink.net!news.chattanooga.net!tarush!tom
From: tom@tarush.chattanooga.net (Tom Rush)
Subject: Re: Bug? (uucp settings)
X-Newsreader: TIN [version 1.2 PL2]
Organization: Rush Co.
Message-ID: <DCEFyp.pu@tarush.chattanooga.net>
References: <3v70u7$55i@news.bu.edu>
Date: Thu, 27 Jul 1995 23:59:12 GMT
Lines: 78

Mikhail Teterin (mi@cs.bu.edu) wrote:
: Every (or almost every) file in /etc/uucp says that it (the file) has to
: be modified and then put into the misterious /usr/local/conf/uucp...

That was an oversight, apparently, or else the sample files would have been
put in /usr/local/conf/uucp.  They do belong in /etc/uucp.  (Taylor's default
location in _his_ source package is /usr/conf/uucp.)

: BTW, if someone will give me their /etc/uucp files, which let his machine,
: retrieve mail from another box OVER the Internet (without phone call), I'll
: be more then gratefull. Thanks!

The nice thing about Taylor config files is that for most setups you really
only need one file, the sys file.  In the case of my example below, you also
need the call file for the \L and \P (login and passwd) escape sequences.
See the 'call.sample' file.

----------------------
# /etc/uucp/sys
#
# defaults section -- settings before the first 'system' line apply to all
#  systems, unless overridden in the individual system descriptions

# call any time
time any

# seconds before chat fails -- set long in case remote system is slow
chat-timeout 60

# use logins and passwds from /etc/uucp/call
call-login *
call-password *

# describe main port and modem chat script here
port type modem
port device /dev/cuaa1
port speed 57600
port dialer chat "" ATZ OK\r ATDT\T CONNECT
port dialer chat-fail BUSY

# first system is regular dialup -- Taylor has a default login chat script
#  that works fine, no need for any more than this
system dialsite
phone 5555555
called-login Udial

# second system is over tcpip
system netsite
called-login Unet

# have to override port definition above
port type tcp
address net.site.com

# ... and default chat won't work here
chat ogin: \L word: \P

-----------------------
I'm assuming you're already on the net; you did say "without phone call".
If you want uucico to invoke a ppp startup script, check the 'chat-program'
config file keyword.

Additional information can be found with 'info uucp'.

Note that if the remote system is not using FreeBSD (but is using Taylor),
they may need to have a separate password file for uucico that is not
encrypted.  Ability to use /etc/passwd is not a default in Taylor, but is
setup in FreeBSD.  Also the remote's inetd.conf needs to be setup to watch
the uucp port (540).  (And for those who don't have a clue (!!), the remote's
uucp config files must have _your_ system's info in it, and have their
sendmail setup to route your mail via uucp!)

Hope this helps.


-- 
Tom Rush
tom@tarush.chattanooga.net