slipd(1C) TCP/IP R4.11 slipd(1C)
NAME
slipd - attach a serial line network interface
SYNOPSIS
For outbound connections:
slipd -bbaud -ltty [-hlocalhost] [-rremotehost] [-mnetmask] [-fflags]
[-d] dialsystem
For inbound connections:
slipd [-hlocalhost] [-rremotehost] [-mnetmask] [-fflags] [dialsystem]
where:
baud 300, 1200, 2400, 4800, 9600, 19200, or 38400
tty A TTY device name that exists in /dev
localhost
The hostname or IP address of the local host
remotehost
The hostname or IP address of the remote host
netmask
A number specifying the network mask
flags Flags c, e, and r each preceded by + or -
dialsystem
For outbound connections, the name used as a key to access the
send-expect strings in the $HOME/.slipdialinfo and
/etc/slipdialinfo databases. For inbound or outbound
connections, the name used as a key to access link parameters
in the /etc/slipusers database; default = user's login name
DESCRIPTION
The slipd command turns a terminal line into a Serial Line IP link to
a remote host. To do this, slipd needs to know the local interface
address of the link, the remote interface address, and the applicable
(sub)net mask.
For outbound connections, baud rate, tty device and dialsystem must
be specified on the command line for slipd to initiate a dial-out
sequence. The $HOME/.slipdialinfo file is consulted first in an
attempt to find the send-expect strings for dialing and logging-in on
the remote host. If the appropriate entry cannot be found, or if the
file does not exist, then slipd will attempt to read from
/etc/slipdialinfo. dialsystem is used as a key to obtain entries
from both databases. The /etc/slipusers file is then consulted,
using dialsystem as a key, for the local interface address, remote
interface address, initialization flags, and (sub)net mask. These
values may be overridden using the command line options; however, the
user executing the command must be listed in the /etc/slipusers file
regardless.
For inbound connections, the /etc/slipusers file is consulted for the
appropriate values for local interface address, remote interface
address, initialization flags, and (sub)net mask. The key used to
access the /etc/slipusers file can be specified on the command line
(dialsystem), or it will default to the user's login name. These
values can be overridden using the command line options; however, the
user executing the command (or the specified dialsystem) must be
listed in /etc/slipusers regardless.
The IP address parameters may be specified either by name (which will
be looked up using gethostbyname(3N) and getnetbyname(3)), or as a
dotted quad that the inetaddr(3N) function can interpret.
Options
Most options are used to override values in the /etc/slipusers
database.
-b Specify the baud rate to use for communicating with the
connected device.
-l Specify a device name to use as the communication line. The
device must exist in the /dev directory and may be specified
without the "/dev/" prefix.
-h Assign an IP address to the local host. This can be expressed
either as a name (found in the hosts database) or as an
Internet address expressed in the Internet standard dot
notation.
-r Assign an IP address to the remote host. This can be
expressed either as a name (found in the hosts database) or as
an Internet address expressed in the Internet standard dot
notation.
-m Identify (using Internet standard dot notation) which bits of
the host's Internet address indicate the subnet number.
-f Tailor the slip link by setting flags c, e, and r to control
header compression and default routing. Prefixing the flag
with + or - turns the option on or off. c controls IP packet
header compression; e controls automatic header compression
recognition and activation. r installs a default route for
the slip interface if one does not exist. For example, -f+c+r
enables header compression and installs a default route.
-d Print debug traces. This option forces slipd to remain
running in the foreground, retaining the controlling terminal.
FILES
/etc/slipdialinfo Local SLIP dialer database file
/etc/slipusers SLIP link parameters database file
EXAMPLES
In the following example, a slip link will be initiated at 2400 baud
using /dev/tty00. Send-expect strings and link parameters are obtained
using dialsystem slipserver.
slipd -b2400 -ltty00 slipserver
SEE ALSO
admslipdial(1M), admslipuser(1M), slipdialinfo(4M), slipusers(4M).
Licensed material--property of copyright holder(s)