Version 10 (modified by welterde, 10 years ago) (diff)

Configure UUCP



aptitude install uucp



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 files
unknown receive-request no

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


Define remote systems we want to communicate with.

### Default configuration parameters for all systems
# use parameters from the call(for outgoing connections) or passwd(for incoming connections) file
call-login *
call-password *

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

# 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 'gandalf' at any time we have something for them
# Use localhost:12500 as address:port(replace port with whatever port you configured in I2PTunnel!)
system gandalf
time any
address localhost
port type tcp
port service 12500

## List of systems that can call us
# Never call system 'bar', but define it anyway to allow incoming connections
system bar
time never


Configure the port to use for incoming connections.

# define the 'TCP' port
port TCP
type tcp


Define usernames and passwords to use for outgoing connections to specific hosts.

# Remote system    Remote user    Remote password
gandalf            some_user      some_password


Define usernames and passwords to accept for incoming connections to this host.

# Username<TAB>Password
bar            nf2j34234n341A123BD3g


Define a protocol for logging in and stuff.. usually not needed.

# empty!


When to poll other systems for incoming files.

# schedule a call..
schedule gandalf 1 3 5 7 9 11 13 15 17 19 21 23
# if the first try fails, we try a second time(schedule 1 => try in 1 and in 2 if the first try fails)
poll     gandalf 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23