wiki:howto/uucp

Version 5 (modified by welterde, 9 years ago) (diff)

Configure UUCP

Installation

Debian

aptitude install uucp

Configuration

/etc/uucp/config

Configure the hostname to use in the uucp-network, the location of the other configuration files, the location of the uucp spool directory, the public spool directory and the behaviour for guest logins.

nodename unique_hostname_in_i2p

# Default configuration file locations
sysfile /etc/uucp/sys
portfile /etc/uucp/port
dialfile /etc/uucp/dial
callfile /etc/uucp/call
passwdfile /etc/uucp/passwd

# spool directory and public file directory
spool /var/spool/uucp
pubdir /var/spool/uucppublic

# don't allow guest systems to upload file
unknown receive-request no

# Allow guest systems to fetch files from the public file directory only
unknown pubdir /var/spool/uucppublic
unknown remote-send ~

/etc/uucp/sys

### Default configuration parameters for all systems
# use parameters from the call file
call-login *
call-password *

# public uucp spool dir for sharing some files
pubdir /var/spool/uucppublic

# give remote end some time to login
chat-timeout 120

# always allow UUCP connections
time any

# allow a connection from some peer every 100s
success-wait 100

# allowed commands(mail and news for now)
commands rmail rnews

# List of systems to call
## Call system 'foo' at any time we have something for them
system foo
time any

## Call system 'bar' at any time we have something for them
system bar
time any

/etc/uucp/port

Configure the port to use for incoming connections.

# define the 'TCP' port
port TCP
type tcp

/etc/uucp/call

Define usernames and passwords to use for outgoing connections to specific hosts. Not required for hosts that poll data from us.

# Remote system    Remote user   Remote password
foo                some_user     some_password