OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / net-tools / original / man8 / slattach.8
1 .TH SLATTACH 8 "12 Feb 1994" "" ""
2 .SH NAME
3 slattach \- attach a network interface to a serial line
4 .SH SYNOPSIS
5 .B "slattach [-dehlLmnqv] [-c command] [-p proto] [-s speed] [tty]"
6 .br
7 .SH DESCRIPTION
8 .B Slattach
9 is a tiny little program that can be used to put a normal terminal
10 ("serial") line into one of several "network" modes, thus allowing
11 you to use it for point-to-point links to other computers.
12 .SH OPTIONS
13 .TP
14 .B "[-c command]"
15 Execute
16 .B command
17 when the line is hung up. This can be used to run scripts or re-establish
18 connections when a link goes down.
19 .TP
20 .B "[-d]"
21 Enable debugging output.  Useful when determining why a given
22 setup doesn't work.
23 .TP
24 .B "[-h]"
25 Exit when the carrier is lost. This works on both /dev/tty and /dev/cua
26 devices by directly monitoring the carrier status every 15 seconds.
27 .B "[-v]"
28 Enable verbose output.  Useful in shell scripts.
29 .TP
30 .B "[-q]"
31 Operate in quiet mode - no messages at all.
32 .TP
33 .B "[-l]"
34 Create an UUCP-style lockfile for the device in /var/lock.
35 .TP
36 .B "[-n]"
37 Equivalent to the "mesg n" command.
38 .TP
39 .B "[-m]"
40 Do \fBnot\fP initialize the line into 8 bits raw mode.
41 .TP
42 .B "[-e]"
43 Exit right after initializing device, instead of waiting for the
44 line to hangup.
45 .TP
46 .B "[-L]"
47 Enable 3 wire operation. The terminal is moved into CLOCAL mode, 
48 carrier watching is disabled.
49 .TP
50 .B "[-p proto]"
51 Set a specific kind of protocol to use on the line.  The default
52 is set to
53 .B "cslip"
54 , i.e. compressed SLIP.  Other possible values are
55 .B "slip"
56 (normal SLIP), 
57 .B "adaptive"
58 (adaptive CSLIP/SLIP),
59 .B "ppp"
60 (Point-to-Point Protocol)
61 and
62 .B "kiss"
63 (a protocol used for communicating with AX.25 packet radio terminal node controllers).
64 The special argument
65 .B "tty"
66 can be used to put the device back into normal serial operation.
67 Using 'ppp' mode is not normally useful as ppp requires an additional ppp daemon
68 .B pppd
69 to be active on the line. For kiss connections the 
70 .B axattach
71 program should be used.
72 .TP
73 .B "[-s speed]"
74 Set a specific line speed, other than the default.
75 .PP
76 If no arguments are given, the current terminal line (usually: the
77 login device) is used.  Otherwise, an attempt is made to claim the
78 indicated terminal port, lock it, and open it.
79 .SH FILES
80 .I /dev/cua* /var/lock/LCK.*
81 .SH BUGS
82 None known.
83 .SH SEE ALSO
84 axattach(8), dip(8) pppd(8), sliplogin(8).
85 .SH AUTHORS
86 Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
87 .br
88 Alan Cox, <Alan.Cox@linux.org>
89 .br
90 Miquel van Smoorenburg, <miquels@drinkel.ow.org>
91 .br
92 George Shearer, <gshearer@one.net>
93 .br
94 Yossi Gottlieb, <yogo@math.tau.ac.il>
95 .br