SLATTACH(ADMN) UNIX System V
Name
slattach, sldetach - attach and detach serial lines as
network interfaces
Syntax
/etc/slattach devname source destination [ baudrate ]
/etc/sldetach interface-name
Description
slattach is used to assign a serial (tty) line to a network
interface using the DARPA Internet Protocol, and to define
the source and destination network addresses. The devname
parameter is the name of the device the serial line is
attached to, that is, /dev/tty001. The source and
destination are either host names present in the host name
data base (see hosts(SFF)), or DARPA Internet addresses
expressed in the Internet standard ``dot notation.'' The
optional baudrate parameter is used to set the speed of the
connection; if not specified, the default of 9600 is used.
Only the superuser may attach or detach a network interface.
There should not be a getty(M) on the line.
sldetach is used to remove the serial line that is being
used for IP from the network tables and allow it to be used
as a normal terminal again. interface-name is the name that
is shown by netstat(TC).
Examples
/etc/slattach tty001 tom-src genstar
/etc/slattach /dev/tty001 hugo dahl 4800
/etc/sldetach sl01
Files
/etc/hosts
/dev/*
/usr/spool/locks/slippid.*
Diagnostics
Various messages indicating:
- the specified interface does not exist
- the requested address is unknown
- the user is not the superuser
See Also
hosts(SFF), netstat(TC), ifconfig(ADMN).
(printed 8/17/89) SLATTACH(ADMN)