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