1.\" $NetBSD: irdaattach.8,v 1.8 2017/10/23 01:07:27 wiz Exp $ 2.\" 3.\" Copyright (c) 2001 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Lennart Augustsson. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" POSSIBILITY OF SUCH DAMAGE. 29.\" 30.Dd December 4, 2001 31.Dt IRDAATTACH 8 32.Os 33.Sh NAME 34.Nm irdaattach , 35.Nm irda 36.Nd attach serial lines to IrDA frame driver 37.Sh SYNOPSIS 38.Nm 39.Op Fl d Ar dongle 40.Op Fl fHhlmnp 41.Ar ttyname 42.Sh DESCRIPTION 43.Nm 44is used to assign a tty line to an IrDA frame level driver. 45The following operands are supported by 46.Nm : 47.Bl -tag -width Ar 48.It Fl d Ar dongle 49Sets the dongle type. 50The following dongles are supported: 51.Bl -tag -width actisys+ 52.It none 53No dongle 54.It tekram 55Tekram IR-210B 56.It jeteye 57Extended Systems JetEye 58.It actisys 59ACTiSYS IR-220L 60.It actisys+ 61ACTiSYS IR-220L+ 62.It litelink 63Parallax LiteLink 64.It girbil 65Greenwich GIrBIL 66.El 67.Pp 68The default is 69.Dv none . 70.It Fl f 71Print the name of the IrDA frame device that should be used to 72access the frames. 73.It Fl H 74Turn on DTR/CTS flow control. 75By default, no flow control is done. 76.It Fl h 77Turn on RTS/CTS flow control. 78By default, no flow control is done. 79.It Fl l 80Turn on the CLOCAL flag, making it possible to run SLIP on a cable 81without modem control signals (e.g., DTR, DSR, DCD). 82.It Fl m 83Maintain modem control signals after closing the line. 84Specifically, this disables HUPCL. 85.It Fl n 86Do not detach from invoking tty. 87.It Fl p 88Print process id to file. 89.It Ar ttyname 90Specifies the name of the tty device. 91.Ar Ttyname 92should be a string of the form 93.Ql ttyXX , 94or 95.Ql /dev/ttyXX . 96.El 97.Pp 98Only the super-user may attach a network interface. 99.Pp 100The frame driver is detached by killing the 101.Nm 102process. 103.Sh EXAMPLES 104.Bd -literal -offset indent -compact 105irdaattach tty00 106ircomm \-Y \-d `irdaattach \-p \-f /dev/tty02` 107.Ed 108.Sh DIAGNOSTICS 109Messages indicating that the specified interface does not exist, the 110requested address is unknown, or that the user is not privileged but 111tried to alter an interface's configuration. 112.Sh SEE ALSO 113.Xr daemon 3 , 114.Xr irframe 4 , 115.Xr irframetty 4 , 116.Xr slattach 8 117.Sh HISTORY 118The 119.Nm 120command appeared in 121.Nx 1.6 . 122