SLATTACH(8) BSD System Manager's Manual SLATTACH(8)NAME
slattach - attach serial lines as network interfaces
SYNOPSIS
slattach ttyname [baudrate]
DESCRIPTION
slattach is used to assign a tty line to a network interface, and to de-
fine the network source and destination addresses. The following
operands are supported by slattach:
ttyname Specifies the name of the tty device. ttyname should be a
string of the form `ttyXX', or `/dev/ttyXX'.
baudrate Specifies the speed of the connection. If not specified,
the default of 9600 is used.
Only the super-user may attach a network interface.
To detach the interface, use ``ifconfig interface-name down'' after
killing off the slattach process. interface-name is the name that is
shown by netstat(1).
Slattach places the specified tty in raw mode using cfmakeraw(3).
Slattach is intended to be used to run SLIP over dedicated lines (typi-
cally used in /etc/netstart). For dial-up services use startslip(8).
EXAMPLE
# Dedicated 57600-baud SLIP on /dev/tty01
ifconfig sl0 myhost rmthost link2 up
stty -f /dev/tty01 cts_oflow rts_iflow
slattach /dev/tty01 57600
DIAGNOSTICS
Messages indicating the specified interface does not exit, the requested
address is unknown, the user is not privileged and tried to alter an in-
terface's configuration.
SEE ALSOnetstat(1), netintro(4), sl(4), ifconfig(8), rc(8), sliplogin(8),
startslip(8)HISTORY
The slattach command appeared in 4.3BSD.
4.3 Berkeley Distribution September 2, 1994 1