1SLATTACH(8) SLATTACH(8)
2
3
4
6 slattach - attach a network interface to a serial line
7
9 slattach [-dehlLmnqv] [-c command] [-p proto] [-s speed] [tty]
10
12 Slattach is a tiny little program that can be used to put a normal ter‐
13 minal ("serial") line into one of several "network" modes, thus allow‐
14 ing you to use it for point-to-point links to other computers.
15
17 [-c command]
18 Execute command when the line is hung up. This can be used to
19 run scripts or re-establish connections when a link goes down.
20
21 [-d] Enable debugging output. Useful when determining why a given
22 setup doesn't work.
23
24 [-h] Exit when the carrier is lost. This works on both /dev/tty and
25 /dev/cua devices by directly monitoring the carrier status every
26 15 seconds. [-v] Enable verbose output. Useful in shell
27 scripts.
28
29 [-q] Operate in quiet mode - no messages at all.
30
31 [-l] Create an UUCP-style lockfile for the device in /var/lock.
32
33 [-n] Equivalent to the "mesg n" command.
34
35 [-m] Do not initialize the line into 8 bits raw mode.
36
37 [-e] Exit right after initializing device, instead of waiting for the
38 line to hangup.
39
40 [-L] Enable 3 wire operation. The terminal is moved into CLOCAL mode,
41 carrier watching is disabled.
42
43 [-p proto]
44 Set a specific kind of protocol to use on the line. The default
45 is set to cslip , i.e. compressed SLIP. Other possible values
46 are slip (normal SLIP), adaptive (adaptive CSLIP/SLIP), ppp
47 (Point-to-Point Protocol) and kiss (a protocol used for communi‐
48 cating with AX.25 packet radio terminal node controllers). The
49 special argument tty can be used to put the device back into
50 normal serial operation. Using 'ppp' mode is not normally use‐
51 ful as ppp requires an additional ppp daemon pppd to be active
52 on the line. For kiss connections the axattach program should be
53 used.
54
55 [-s speed]
56 Set a specific line speed, other than the default.
57
58 If no arguments are given, the current terminal line (usually: the
59 login device) is used. Otherwise, an attempt is made to claim the
60 indicated terminal port, lock it, and open it.
61
63 /dev/cua* /var/lock/LCK.*
64
66 None known.
67
69 axattach(8), dip(8) pppd(8), sliplogin(8).
70
72 Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
73 Alan Cox, <Alan.Cox@linux.org>
74 Miquel van Smoorenburg, <miquels@drinkel.ow.org>
75 George Shearer, <gshearer@one.net>
76 Yossi Gottlieb, <yogo@math.tau.ac.il>
77
78
79
80 12 Feb 1994 SLATTACH(8)