wiki:howto/uucp

Version 7 (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 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 ~

/etc/uucp/sys

### 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

/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.

# Remote system    Remote user    Remote password
gandalf            some_user      some_password

/etc/uucp/passwd

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

# Username<TAB>Password
bar            nf2j34234n341A123BD3g