version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SLATTACH |
|
|
2 |
!!!SLATTACH |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
FILES |
|
|
8 |
BUGS |
|
|
9 |
SEE ALSO |
|
|
10 |
AUTHORS |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
slattach - attach a network interface to a serial line |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__slattach [[-dehlLmnqv] [[-c command] [[-p proto] [[-s speed] |
|
|
20 |
[[tty]__ |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
__Slattach__ is a tiny little program that can be used to |
|
|
25 |
put a normal terminal ( |
|
|
26 |
__ |
|
|
27 |
!!OPTIONS |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
__[[-c command]__ |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
Execute __command__ when the line is hung up. This can be |
|
|
34 |
used to run scripts or re-establish connections when a link |
|
|
35 |
goes down. |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
__[[-d]__ |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
Enable debugging output. Useful when determining why a given |
|
|
42 |
setup doesn't work. |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
__[[-h]__ |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
Exit when the carrier is lost. This works on both /dev/tty |
|
|
49 |
and /dev/cua devices by directly monitoring the carrier |
|
|
50 |
status every 15 seconds. __[[-v]__ Enable verbose output. |
|
|
51 |
Useful in shell scripts. |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
__[[-q]__ |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
Operate in quiet mode - no messages at all. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
__[[-l]__ |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
Create an UUCP-style lockfile for the device in |
|
|
64 |
/var/lock. |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
__[[-n]__ |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
Equivalent to the |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
__[[-m]__ |
|
|
74 |
|
|
|
75 |
|
|
|
76 |
Do __not__ initialize the line into 8 bits raw |
|
|
77 |
mode. |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
__[[-e]__ |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
Exit right after initializing device, instead of waiting for |
|
|
84 |
the line to hangup. |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
__[[-L]__ |
|
|
88 |
|
|
|
89 |
|
|
|
90 |
Enable 3 wire operation. The terminal is moved into CLOCAL |
|
|
91 |
mode, carrier watching is disabled. |
|
|
92 |
|
|
|
93 |
|
|
|
94 |
__[[-p proto]__ |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
Set a specific kind of protocol to use on the line. The |
|
|
98 |
default is set to __cslip__ , i.e. compressed SLIP. Other |
|
|
99 |
possible values are __slip__ (normal SLIP), |
|
|
100 |
__adaptive__ (adaptive CSLIP/SLIP), __ppp__ |
|
|
101 |
(Point-to-Point Protocol) and __kiss__ (a protocol used |
|
|
102 |
for communicating with AX.25 packet radio terminal node |
|
|
103 |
controllers). The special argument __tty__ can be used to |
|
|
104 |
put the device back into normal serial operation. Using |
|
|
105 |
'ppp' mode is not normally useful as ppp requires an |
|
|
106 |
additional ppp daemon __pppd__ to be active on the line. |
|
|
107 |
For kiss connections the __axattach__ program should be |
|
|
108 |
used. |
|
|
109 |
|
|
|
110 |
|
|
|
111 |
__[[-s speed]__ |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
Set a specific line speed, other than the |
|
|
115 |
default. |
|
|
116 |
|
|
|
117 |
|
|
|
118 |
If no arguments are given, the current terminal line |
|
|
119 |
(usually: the login device) is used. Otherwise, an attempt |
|
|
120 |
is made to claim the indicated terminal port, lock it, and |
|
|
121 |
open it. |
|
|
122 |
!!FILES |
|
|
123 |
|
|
|
124 |
|
|
|
125 |
''/dev/cua* /var/lock/LCK.*'' |
|
|
126 |
!!BUGS |
|
|
127 |
|
|
|
128 |
|
|
|
129 |
None known. |
|
|
130 |
!!SEE ALSO |
|
|
131 |
|
|
|
132 |
|
|
|
133 |
axattach(8), dip(8) pppd(8), sliplogin(8). |
|
|
134 |
!!AUTHORS |
|
|
135 |
|
|
|
136 |
|
|
|
137 |
Fred N. van Kempen, |
|
|
138 |
Alan Cox, |
|
|
139 |
Miquel van Smoorenburg, |
|
|
140 |
George Shearer, |
|
|
141 |
Yossi Gottlieb, |
|
|
142 |
---- |