]>
Commit | Line | Data |
---|---|---|
295b3979 | 1 | //po4a: entry man manual |
6d5b6948 MB |
2 | //// |
3 | Copyright 2008 Tilman Schmidt (tilman@imap.cc) | |
4 | May be distributed under the GNU General Public License version 2 or later | |
5 | //// | |
6 | = ldattach(8) | |
7 | :doctype: manpage | |
a09649ca | 8 | :man manual: System Administration |
6d5b6948 MB |
9 | :man source: util-linux {release-version} |
10 | :page-layout: base | |
11 | :command: ldattach | |
12 | ||
13 | == NAME | |
14 | ||
15 | ldattach - attach a line discipline to a serial line | |
16 | ||
17 | == SYNOPSIS | |
18 | ||
19 | *ldattach* [*-1278denoVh*] [*-i* _iflag_] [*-s* _speed_] _ldisc device_ | |
20 | ||
21 | == DESCRIPTION | |
22 | ||
23 | The *ldattach* daemon opens the specified _device_ file (which should refer to a serial device) and attaches the line discipline _ldisc_ to it for processing of the sent and/or received data. It then goes into the background keeping the device open so that the line discipline stays loaded. | |
24 | ||
25 | The line discipline _ldisc_ may be specified either by name or by number. | |
26 | ||
27 | In order to detach the line discipline, *kill*(1) the *ldattach* process. | |
28 | ||
29 | With no arguments, *ldattach* prints usage information. | |
30 | ||
31 | == LINE DISCIPLINES | |
32 | ||
33 | Depending on the kernel release, the following line disciplines are supported: | |
34 | ||
35 | *TTY*(*0*):: | |
4eab78d3 | 36 | The default line discipline, providing transparent operation (raw mode) as well as the habitual terminal line editing capabilities (cooked mode). |
6d5b6948 MB |
37 | |
38 | *SLIP*(*1*):: | |
4eab78d3 | 39 | Serial Line IP (SLIP) protocol processor for transmitting TCP/IP packets over serial lines. |
6d5b6948 MB |
40 | |
41 | *MOUSE*(*2*):: | |
4eab78d3 | 42 | Device driver for RS232 connected pointing devices (serial mice). |
6d5b6948 MB |
43 | |
44 | *PPP*(*3*):: | |
4eab78d3 | 45 | Point to Point Protocol (PPP) processor for transmitting network packets over serial lines. |
6d5b6948 MB |
46 | |
47 | *STRIP*(*4*); *AX25*(*5*); *X25*(*6*):: | |
4eab78d3 | 48 | Line driver for transmitting X.25 packets over asynchronous serial lines. |
6d5b6948 MB |
49 | |
50 | *6PACK*(*7*); *R3964*(*9*):: | |
4eab78d3 | 51 | Driver for Simatic R3964 module. |
6d5b6948 MB |
52 | |
53 | *IRDA*(*11*):: | |
4eab78d3 | 54 | Linux IrDa (infrared data transmission) driver - see http://irda.sourceforge.net/ |
6d5b6948 MB |
55 | |
56 | *HDLC*(*13*):: | |
4eab78d3 | 57 | Synchronous HDLC driver. |
6d5b6948 MB |
58 | |
59 | *SYNC_PPP*(*14*):: | |
4eab78d3 | 60 | Synchronous PPP driver. |
6d5b6948 MB |
61 | |
62 | *HCI*(*15*):: | |
4eab78d3 | 63 | Bluetooth HCI UART driver. |
6d5b6948 MB |
64 | |
65 | *GIGASET_M101*(*16*):: | |
4eab78d3 | 66 | Driver for Siemens Gigaset M101 serial DECT adapter. |
6d5b6948 MB |
67 | |
68 | *PPS*(*18*):: | |
4eab78d3 | 69 | Driver for serial line Pulse Per Second (PPS) source. |
6d5b6948 MB |
70 | |
71 | *GSM0710*(*21*):: | |
4eab78d3 | 72 | Driver for GSM 07.10 multiplexing protocol modem (CMUX). |
6d5b6948 MB |
73 | |
74 | == OPTIONS | |
75 | ||
76 | *-1*, *--onestopbit*:: | |
4eab78d3 | 77 | Set the number of stop bits of the serial line to one. |
6d5b6948 MB |
78 | |
79 | *-2*, *--twostopbits*:: | |
4eab78d3 | 80 | Set the number of stop bits of the serial line to two. |
6d5b6948 MB |
81 | |
82 | *-7*, *--sevenbits*:: | |
4eab78d3 | 83 | Set the character size of the serial line to 7 bits. |
6d5b6948 MB |
84 | |
85 | *-8*, *--eightbits*:: | |
4eab78d3 | 86 | Set the character size of the serial line to 8 bits. |
6d5b6948 MB |
87 | |
88 | *-d*, *--debug*:: | |
4eab78d3 | 89 | Keep *ldattach* in the foreground so that it can be interrupted or debugged, and to print verbose messages about its progress to standard error output. |
6d5b6948 MB |
90 | |
91 | *-e*, *--evenparity*:: | |
4eab78d3 | 92 | Set the parity of the serial line to even. |
6d5b6948 | 93 | |
4eab78d3 MB |
94 | *-i*, *--iflag* [*-*]_value_...:: |
95 | Set the specified bits in the c_iflag word of the serial line. The given _value_ may be a number or a symbolic name. If _value_ is prefixed by a minus sign, the specified bits are cleared instead. Several comma-separated values may be given in order to set and clear multiple bits. | |
6d5b6948 MB |
96 | |
97 | *-n*, *--noparity*:: | |
4eab78d3 | 98 | Set the parity of the serial line to none. |
6d5b6948 MB |
99 | |
100 | *-o*, *--oddparity*:: | |
4eab78d3 | 101 | Set the parity of the serial line to odd. |
6d5b6948 MB |
102 | |
103 | *-s*, *--speed* _value_:: | |
4eab78d3 | 104 | Set the speed (the baud rate) of the serial line to the specified _value_. |
6d5b6948 MB |
105 | |
106 | *-c*, *--intro-command* _string_:: | |
2b2d3172 | 107 | Define an intro command that is sent through the serial line before the invocation of *ldattach*. E.g. in conjunction with line discipline GSM0710, the command 'AT+CMUX=0\r' is commonly suitable to switch the modem into the CMUX mode. |
6d5b6948 MB |
108 | |
109 | *-p*, *--pause* _value_:: | |
2b2d3172 | 110 | Sleep for _value_ seconds before the invocation of *ldattach*. Default is one second. |
6d5b6948 | 111 | |
a4b17a51 MB |
112 | include::man-common/help-version.adoc[] |
113 | ||
6d5b6948 MB |
114 | == AUTHORS |
115 | ||
116 | mailto:tilman@imap.cc[Tilman Schmidt] | |
117 | ||
118 | == SEE ALSO | |
119 | ||
120 | *inputattach*(1), | |
121 | *ttys*(4) | |
122 | ||
625e9c61 | 123 | include::man-common/bugreports.adoc[] |
6d5b6948 | 124 | |
625e9c61 | 125 | include::man-common/footer.adoc[] |
6d5b6948 MB |
126 | |
127 | ifdef::translation[] | |
625e9c61 | 128 | include::man-common/translation.adoc[] |
6d5b6948 | 129 | endif::[] |