{"id":2751,"date":"2022-12-20T15:17:11","date_gmt":"2022-12-20T18:17:11","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/ldattach-man8\/"},"modified":"2022-12-20T15:17:11","modified_gmt":"2022-12-20T18:17:11","slug":"ldattach-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/ldattach-man8\/","title":{"rendered":"LDATTACH (man8)"},"content":{"rendered":"<h1 align=\"center\">LDATTACH<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#LINE DISCIPLINES\">LINE DISCIPLINES<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AVAILABILITY\">AVAILABILITY<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ldattach \u2212 attach a line discipline to a serial line<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ldattach<\/b> [<b>\u22121278denoVh<\/b>] [<b>\u2212i<\/b> <i>iflag<\/i>] [<b>\u2212s<\/b> <i>speed<\/i>] <i>ldisc device<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>ldattach<\/b> daemon opens the specified <i>device<\/i> file (which should refer to a serial device) and attaches the line discipline <i>ldisc<\/i> 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.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The line discipline <i>ldisc<\/i> may be specified either by name or by number.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In order to detach the line discipline, <b>kill<\/b>(1) the <b>ldattach<\/b> process.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">With no arguments, <b>ldattach<\/b> prints usage information.<\/p>\n<h2>LINE DISCIPLINES <a name=\"LINE DISCIPLINES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Depending on the kernel release, the following line disciplines are supported:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>TTY<\/b>(<b>0<\/b>)<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>The default line discipline, providing transparent operation (raw mode) as well as the habitual terminal line editing capabilities (cooked mode).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>SLIP<\/b>(<b>1<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Serial Line IP (SLIP) protocol processor for transmitting TCP\/IP packets over serial lines.<\/p>\n<p style=\"margin-left:11%;\"><b>MOUSE<\/b>(<b>2<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Device driver for RS232 connected pointing devices (serial mice).<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>PPP<\/b>(<b>3<\/b>)<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>Point to Point Protocol (PPP) processor for transmitting network packets over serial lines.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>STRIP<\/b>(<b>4<\/b>) <b><br \/> AX25<\/b>(<b>5<\/b>)<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>X25<\/b>(<b>6<\/b>)<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>Line driver for transmitting X.25 packets over asynchronous serial lines.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>6PACK<\/b>(<b>7<\/b>) <b><br \/> R3964<\/b>(<b>9<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Driver for Simatic R3964 module.<\/p>\n<p style=\"margin-left:11%;\"><b>IRDA<\/b>(<b>11<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Linux IrDa (infrared data transmission) driver &#8211; see http:\/\/irda.sourceforge.net\/<\/p>\n<p style=\"margin-left:11%;\"><b>HDLC<\/b>(<b>13<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Synchronous HDLC driver.<\/p>\n<p style=\"margin-left:11%;\"><b>SYNC_PPP<\/b>(<b>14<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Synchronous PPP driver.<\/p>\n<p style=\"margin-left:11%;\"><b>HCI<\/b>(<b>15<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Bluetooth HCI UART driver.<\/p>\n<p style=\"margin-left:11%;\"><b>GIGASET_M101<\/b>(<b>16<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Driver for Siemens Gigaset M101 serial DECT adapter.<\/p>\n<p style=\"margin-left:11%;\"><b>PPS<\/b>(<b>18<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Driver for serial line Pulse Per Second (PPS) source.<\/p>\n<p style=\"margin-left:11%;\"><b>GSM0710<\/b>(<b>21<\/b>)<\/p>\n<p style=\"margin-left:22%;\">Driver for GSM 07.10 multiplexing protocol modem (CMUX).<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u22121<\/b>, <b>\u2212\u2212onestopbit<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the number of stop bits of the serial line to one.<\/p>\n<p style=\"margin-left:11%;\"><b>\u22122<\/b>, <b>\u2212\u2212twostopbits<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the number of stop bits of the serial line to two.<\/p>\n<p style=\"margin-left:11%;\"><b>\u22127<\/b>, <b>\u2212\u2212sevenbits<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the character size of the serial line to 7 bits.<\/p>\n<p style=\"margin-left:11%;\"><b>\u22128<\/b>, <b>\u2212\u2212eightbits<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the character size of the serial line to 8 bits.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212d<\/b>, <b>\u2212\u2212debug<\/b><\/p>\n<p style=\"margin-left:22%;\">Keep <b>ldattach<\/b> in the foreground so that it can be interrupted or debugged, and to print verbose messages about its progress to standard error output.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212e<\/b>, <b>\u2212\u2212evenparity<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the parity of the serial line to even.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212i<\/b>, <b>\u2212\u2212iflag<\/b> [<b>\u2212<\/b>]<i>value<\/i>&#8230;<\/p>\n<p style=\"margin-left:22%;\">Set the specified bits in the c_iflag word of the serial line. The given <i>value<\/i> may be a number or a symbolic name. If <i>value<\/i> 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.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212n<\/b>, <b>\u2212\u2212noparity<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the parity of the serial line to none.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212o<\/b>, <b>\u2212\u2212oddparity<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the parity of the serial line to odd.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212s<\/b>, <b>\u2212\u2212speed<\/b> <i>value<\/i><\/p>\n<p style=\"margin-left:22%;\">Set the speed (the baud rate) of the serial line to the specified <i>value<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212c<\/b>, <b>\u2212\u2212intro\u2212command<\/b> <i>string<\/i><\/p>\n<p style=\"margin-left:22%;\">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 \u00b4AT+CMUX=0r\u00b4 is commonly suitable to switch the modem into the CMUX mode.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212p<\/b>, <b>\u2212\u2212pause<\/b> <i>value<\/i><\/p>\n<p style=\"margin-left:22%;\">Sleep for <i>value<\/i> seconds before the invocation of ldattach. Default is one second.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V<\/b>, <b>\u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:22%;\">Display version information and exit.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:22%;\">Display help text and exit.<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Tilman Schmidt (tilman@imap.cc)<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>inputattach<\/b>(1), <b>ttys<\/b>(4)<\/p>\n<h2>AVAILABILITY <a name=\"AVAILABILITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The ldattach command is part of the util-linux package and is available from https:\/\/www.kernel.org\/pub\/linux\/utils\/util-linux\/.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ldattach \u2212 attach a line discipline to a serial line <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,105,4],"class_list":["post-2751","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-ldattach","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2751"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2751\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}