1 .\" $NetBSD: slattach.8,v 1.27 2003/08/07 10:04:40 agc Exp $
3 .\" Copyright (c) 1986, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" @(#)slattach.8 8.2 (Berkeley) 4/1/94
37 .Nd attach serial lines as network interfaces
46 is used to assign a tty line to a network interface which uses asynchronous
51 command is used to attach
56 These interfaces have to be created using the
62 The network source and destination addresses and other interface parameters
66 The following operands are supported by
70 Turn on DTR/CTS flow control.
71 By default, no flow control is done.
73 Turn on RTS/CTS flow control.
74 By default, no flow control is done.
76 Turn on the CLOCAL flag, making it possible to run SLIP on a cable
77 without modem control signals (e.g. DTR, DSR, DCD).
79 Maintain modem control signals after closing the line.
80 Specifically, this disables HUPCL.
82 Don't detach from invoking tty.
84 Specifies the speed of the connection.
85 If not specified, the default of 9600 is used.
87 Specifies the line discipline to use for the tty.
88 Supported line disciplines are
97 If this option is not specified, the default is
100 Specifies the name of the tty device.
102 should be a string of the form
108 Only the super-user may attach a network interface.
110 To detach the interface, use
111 .Dq Li ifconfig interface-name down
112 after killing off the
116 is the name that is shown by
119 .Bd -literal -offset indent -compact
121 slattach \-s 4800 /dev/tty01
124 Messages indicating that the specified interface is not configured or created,
125 the requested address is unknown, or that the user is not privileged
126 but tried to alter an interface's configuration.
143 There is no way to specify the interface name (sl%d etc.) to be attached by the
146 There is no way to see which interface is assigned to the specified tty by the
150 It would be better if the network interfaces were created by the
152 command rather than by using the
155 subcommand before the