slip(1)

NAME
slip, mkslipuser, dslipuser - dialup SLIP utilities

SYNOPSIS
/usr/sbin/slip
/usr/sbin/mkslipuser [ #_of_logins  host_address ]
/usr/sbin/dslipuser

DESCRIPTION

The slip program sets up a SLIP protocol over a dialup line. The SLIP protocol is obtained by logging into a host and executing the slip program. Because slip must execute slattach and ifconfig, it must run setuid to root.

Slip uses two files to control access; a host table (/etc/slip.hosts) that maps login IDs to internet addresses, and a user file (/etc/slip.user) that keeps track of users logged in over slip. The host table file must be created by hand and has the following format:

#  Lines starting with "#" are ignored.
#  The first field is the IP address to be assigned the remote host that
#  is logging in.  The second field is the login ID which is used to find
#  the appropriate IP address.
#
# <IP address> <login ID>
192.9.2.1       rkl
192.9.2.2       sjg

If the file /var/slip/slip.log exists, slip will append log entries that show when users invoked slip and when they disconnected.

The mkslipuser program is used to create a blank user file. You may want to envoke mkslipuser from the /etc/init.d/inetinit rc file to insure a sane system after reboot. Mkslipuser uses information supplied either on the command line or from the configuration file /etc/slip.config. The configuration file consists of a number of one-line entries; one for each simultaneous login that is allowed. The number of simultaneous logins must, of course, be less than or equal to the number of SLIP interfaces available. Each entry contains an internet address (specified by hostname or dot notation format) for the server side of a SLIP line. The entries may all be the same or unique depending on how you prefer to administer your network. The configuration file may also contain comments which are lines starting with a "#". Here is an example:

#  Lines that start with "#" are ignored.
#  This example allows 4 simultaneous SLIP logins all using the same server
#  side IP address.
#
#  <address of server side of point to point link>
aslan.acme.com
aslan.acme.com
aslan.acme.com
aslan.acme.com

In the case where all of the server side addresses are the same, command line arguments may be used instead of a configuration file. The first argument is the number of simultaneous logins to allow, and the second argument is the address of the server side of the point-point link.

The dslipuser program displays the contents of the user file which identifies who is logged in and what internet addresses they are using.

SEE ALSO
ifconfig(1M), slattach(1M), slhangupd(1M), slip(7)

FILES
/etc/slip.hosts
/etc/slip.user
/etc/slip.config
/var/slip/slip.log

ORIGINAL AUTHOR
Greg Whitehead 10-02-87
Computing Services
University of California, Davis