xref: /original-bsd/sbin/slattach/slattach.8 (revision d324e8e3)
Copyright (c) 1986 The Regents of the University of California.
All rights reserved.

%sccs.include.redist.man%

@(#)slattach.8 6.3 (Berkeley) 06/24/90

SLATTACH 8 ""
C 6
NAME
slattach - attach serial lines as network interfaces
SYOPNSIS
slattach ttyname [ baudrate ]
DESCRIPTION
Slattach is used to assign a tty line to a network interface, and to define the network source and destination addresses. The ttyname parameter is a string of the form ``ttyXX'', or ``/dev/ttyXX''. The optional baudrate parameter is used to set 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)

EXAMPLES
slattach ttyh8

slattach /dev/tty01 4800

DIAGNOSTICS
Messages indicating the specified interface does not exit, the requested address is unknown, the user is not privileged and tried to alter an interface's configuration.
"SEE ALSO"
netstat(1), netintro(4), ifconfig(8), rc(8)