don't wait for packets on SIGINTR, just die
[unix-history] / usr / src / sbin / slattach / slattach.8
CommitLineData
7b4d48f8
KB
1.\" Copyright (c) 1986 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15.\"
16.\" @(#)slattach.8 6.2 (Berkeley) %G%
17.\"
18.TH SLATTACH 8 ""
f80973db
MK
19.UC 6
20.SH NAME
21slattach \- attach serial lines as network interfaces
22.SH SYOPNSIS
23.B /etc/slattach
46f57dae 24ttyname [
f80973db
MK
25.I baudrate
26]
27.SH DESCRIPTION
28.I Slattach
29is used to assign a tty line to a network interface,
30and to define the network source and destination addresses. The
31.I ttyname
46f57dae
MK
32parameter is a string of the form ``ttyXX'', or ``/dev/ttyXX''.
33The optional
f80973db
MK
34.I baudrate
35parameter is used to set the speed of the connection. If not specified, the
36default of 9600 is used.
37.PP
38Only the super-user may attach a network interface.
39.PP
40To detach the interface, use `ifconfig
41.I interface-name
42down' after killing off the
43.I slattach
44process.
45.I interface-name
46is the name that is shown by
47.B netstat(1)
48.SH EXAMPLES
49.ta 8
46f57dae 50 /etc/slattach ttyh8
f80973db 51.br
46f57dae 52 /etc/slattach /dev/tty01 4800
f80973db
MK
53.SH DIAGNOSTICS
54Messages indicating the specified interface does not exit, the
55requested address is unknown, the user is not privileged and
56tried to alter an interface's configuration.
57.SH "SEE ALSO"
7b4d48f8 58netstat(1), netintro(4), ifconfig(8), rc(8)