{"id":3407,"date":"2022-12-20T17:02:35","date_gmt":"2022-12-20T20:02:35","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/slattach-man8\/"},"modified":"2022-12-20T17:02:35","modified_gmt":"2022-12-20T20:02:35","slug":"slattach-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/slattach-man8\/","title":{"rendered":"SLATTACH (man8)"},"content":{"rendered":"<h1 align=\"center\">SLATTACH<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">slattach \u2212 attach a network interface to a serial line<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>slattach [\u2212dehlLmnqv] [\u2212c command] [\u2212p proto] [\u2212s speed] [tty]<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Slattach<\/b> is a tiny little program that can be used to put a normal terminal (&#8220;serial&#8221;) line into one of several &#8220;network&#8221; modes, thus allowing you to use it for point-to-point links to other computers.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\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=\"4%\">\n<p style=\"margin-top: 1em\"><b>tty<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Path to a serial device like <i>\/dev\/ttyS*<\/i>, <i>\/dev\/cua*<\/i> or <i>\/dev\/ptmx<\/i> to spawn a new pseudo tty.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>[\u2212c command]<\/b><\/p>\n<p style=\"margin-left:22%;\">Execute <b>command<\/b> when the line is hung up. This can be used to run scripts or re-establish connections when a link goes down.<\/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=\"6%\">\n<p><b>[\u2212d]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Enable debugging output. Useful when determining why a given setup doesn\u2019t work.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212h]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Exit when the carrier is lost. This works on both \/dev\/tty and \/dev\/cua devices by directly monitoring the carrier status every 15 seconds.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212v]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Enable verbose output. Useful in shell scripts.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212q]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Operate in quiet mode &#8211; no messages at all.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212l]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Create an UUCP-style lockfile for the device in \/var\/lock.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212n]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Equivalent to the &#8220;mesg n&#8221; command.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212m]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Do <b>not<\/b> initialize the line into 8 bits raw mode.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212e]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Exit right after initializing device, instead of waiting for the line to hang up.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>[\u2212L]<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Enable 3 wire operation. The terminal is moved into CLOCAL mode, carrier watching is disabled.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>[\u2212p proto]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set a specific kind of protocol to use on the line. The default is set to <b>cslip<\/b>, i.e. compressed SLIP. Other possible values are <b>slip<\/b> (normal SLIP), <b>adaptive<\/b> (adaptive CSLIP\/SLIP), <b>ppp<\/b> (Point-to-Point Protocol) and <b>kiss<\/b> (a protocol used for communicating with AX.25 packet radio terminal node controllers). The special argument <b>tty<\/b> can be used to put the device back into normal serial operation. Using \u2019ppp\u2019 mode is not normally useful as ppp requires an additional ppp daemon <b>pppd<\/b> to be active on the line. For kiss connections the <b>axattach<\/b> program should be used.<\/p>\n<p style=\"margin-left:11%;\"><b>[\u2212s speed]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set a specific line speed, other than the default.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If no arguments are given, the current terminal line (usually: the login device) is used. Otherwise, an attempt is made to claim the indicated terminal port, lock it, and open it.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\/dev\/cua* \/var\/lock\/LCK.* \/dev\/ttyS0 \/dev\/ttyS1 \/dev\/ttyS2 \/dev\/ttyS3 \/dev\/ptmx<\/i><\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">None known.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">axattach(8), dip(8) pppd(8), sliplogin(8).<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> <br \/> Alan Cox, <Alan.Cox@linux.org> <br \/> Miquel van Smoorenburg, <miquels@drinkel.ow.org> <br \/> George Shearer, <gshearer@one.net> <br \/> Yossi Gottlieb, <yogo@math.tau.ac.il><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  slattach \u2212 attach a network interface 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,4,535],"class_list":["post-3407","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-slattach"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3407","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=3407"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3407\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}