📄 slattach.8
字号:
.TH SLATTACH 8 "12 Feb 1994" "" "".SH NAMEslattach \- attach a network interface to a serial line.SH SYNOPSIS.B "slattach [-dehlLmnqv] [-c command] [-p proto] [-s speed] [tty]".br.SH DESCRIPTION.B Slattachis a tiny little program that can be used to put a normal terminal("serial") line into one of several "network" modes, thus allowingyou to use it for point-to-point links to other computers..SH OPTIONS.TP.B "[-c command]"Execute.B commandwhen the line is hung up. This can be used to run scripts or re-establishconnections when a link goes down..TP.B "[-d]"Enable debugging output. Useful when determining why a givensetup doesn't work..TP.B "[-h]"Exit when the carrier is lost. This works on both /dev/tty and /dev/cuadevices by directly monitoring the carrier status every 15 seconds..B "[-v]"Enable verbose output. Useful in shell scripts..TP.B "[-q]"Operate in quiet mode - no messages at all..TP.B "[-l]"Create an UUCP-style lockfile for the device in /var/lock..TP.B "[-n]"Equivalent to the "mesg n" command..TP.B "[-m]"Do \fBnot\fP initialize the line into 8 bits raw mode..TP.B "[-e]"Exit right after initializing device, instead of waiting for theline to hangup..TP.B "[-L]"Enable 3 wire operation. The terminal is moved into CLOCAL mode, carrier watching is disabled..TP.B "[-p proto]"Set a specific kind of protocol to use on the line. The defaultis set to.B "cslip", i.e. compressed SLIP. Other possible values are.B "slip"(normal SLIP), .B "adaptive"(adaptive CSLIP/SLIP),.B "ppp"(Point-to-Point Protocol)and.B "kiss"(a protocol used for communicating with AX.25 packet radio terminal node controllers).The special argument.B "tty"can be used to put the device back into normal serial operation.Using 'ppp' mode is not normally useful as ppp requires an additional ppp daemon.B pppdto be active on the line. For kiss connections the .B axattachprogram should be used..TP.B "[-s speed]"Set a specific line speed, other than the default..PPIf no arguments are given, the current terminal line (usually: thelogin device) is used. Otherwise, an attempt is made to claim theindicated terminal port, lock it, and open it..SH FILES.I /dev/cua* /var/lock/LCK.*.SH BUGSNone known..SH SEE ALSOaxattach(8), dip(8) pppd(8), sliplogin(8)..SH AUTHORSFred N. van Kempen, <waltje@uwalt.nl.mugnet.org>.brAlan Cox, <Alan.Cox@linux.org>.brMiquel van Smoorenburg, <miquels@drinkel.ow.org>.brGeorge Shearer, <gshearer@one.net>.brYossi Gottlieb, <yogo@math.tau.ac.il>.br
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -