Commit | Line | Data |
---|---|---|
b7c9e667 | 1 | .\" @(#)slattach.8 6.1 (Berkeley) %G% |
46f57dae | 2 | .TH SLATTACH 8C "" |
f80973db MK |
3 | .UC 6 |
4 | .SH NAME | |
5 | slattach \- attach serial lines as network interfaces | |
6 | .SH SYOPNSIS | |
7 | .B /etc/slattach | |
46f57dae | 8 | ttyname [ |
f80973db MK |
9 | .I baudrate |
10 | ] | |
11 | .SH DESCRIPTION | |
12 | .I Slattach | |
13 | is used to assign a tty line to a network interface, | |
14 | and to define the network source and destination addresses. The | |
15 | .I ttyname | |
46f57dae MK |
16 | parameter is a string of the form ``ttyXX'', or ``/dev/ttyXX''. |
17 | The optional | |
f80973db MK |
18 | .I baudrate |
19 | parameter is used to set the speed of the connection. If not specified, the | |
20 | default of 9600 is used. | |
21 | .PP | |
22 | Only the super-user may attach a network interface. | |
23 | .PP | |
24 | To detach the interface, use `ifconfig | |
25 | .I interface-name | |
26 | down' after killing off the | |
27 | .I slattach | |
28 | process. | |
29 | .I interface-name | |
30 | is the name that is shown by | |
31 | .B netstat(1) | |
32 | .SH EXAMPLES | |
33 | .ta 8 | |
46f57dae | 34 | /etc/slattach ttyh8 |
f80973db | 35 | .br |
46f57dae | 36 | /etc/slattach /dev/tty01 4800 |
f80973db MK |
37 | .SH DIAGNOSTICS |
38 | Messages indicating the specified interface does not exit, the | |
39 | requested address is unknown, the user is not privileged and | |
40 | tried to alter an interface's configuration. | |
41 | .SH "SEE ALSO" | |
42 | rc(8), intro(4N), netstat(1), ifconfig(8C) |