xref: /openbsd/share/man/man4/urtw.4 (revision 6f40fd34)
1.\" $OpenBSD: urtw.4,v 1.23 2017/01/06 13:56:32 tb Exp $
2.\"
3.\" Copyright (c) 2008 Weongyo Jeong <weongyo@FreeBSD.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: January 6 2017 $
18.Dt URTW 4
19.Os
20.Sh NAME
21.Nm urtw
22.Nd Realtek RTL8187L/RTL8187B USB IEEE 802.11b/g wireless network device
23.Sh SYNOPSIS
24.Cd "urtw* at uhub? port ?"
25.Sh DESCRIPTION
26The
27.Nm
28driver supports USB 802.11b/g wireless adapters based on the
29Realtek RTL8187L and RTL8187B.
30.Pp
31These are the modes the
32.Nm
33driver can operate in:
34.Bl -tag -width "IBSS-masterXX"
35.It BSS mode
36Also known as
37.Em infrastructure
38mode, this is used when associating with an access point, through
39which all traffic passes.
40This mode is the default.
41.It monitor mode
42In this mode the driver is able to receive packets without
43associating with an access point.
44This disables the internal receive filter and enables the card to
45capture packets from networks which it wouldn't normally have access to,
46or to scan for access points.
47.El
48.Pp
49The
50.Nm
51driver can be configured to use
52Wired Equivalent Privacy (WEP) or
53Wi-Fi Protected Access (WPA-PSK and WPA2-PSK).
54WPA is the current encryption standard for wireless networks.
55It is strongly recommended that WEP
56not be used as the sole mechanism
57to secure wireless communication,
58due to serious weaknesses in it.
59The
60.Nm
61driver relies on the software 802.11 stack for both encryption and decryption
62of data frames.
63.Pp
64The
65.Nm
66driver can be configured at runtime with
67.Xr ifconfig 8
68or on boot with
69.Xr hostname.if 5 .
70.Sh HARDWARE
71The following adapters should work:
72.Pp
73.Bl -tag -width Ds -offset indent -compact
74.It Alfa AWUS036H
75.It ASUS P5B Deluxe
76.It Belkin F5D7050E
77.It Digitus DN-7003GT
78.It Linksys WUSB54GC v2
79.It Netgear WG111v2
80.It Netgear WG111v3
81.It Shuttle XPC Accessory PN20
82.It Sitecom WL-168 v1
83.It Sitecom WL-168 v4
84.It Surecom EP-9001-g rev 2A
85.It TRENDnet TEW-424UB V3.xR
86.El
87.Sh EXAMPLES
88The following example scans for available networks:
89.Pp
90.Dl # ifconfig urtw0 scan
91.Pp
92The following
93.Xr hostname.if 5
94example configures urtw0 to join network
95.Dq mynwid ,
96using WPA key
97.Dq mywpakey ,
98obtaining an IP address using DHCP:
99.Bd -literal -offset indent
100nwid mynwid
101wpakey mywpakey
102dhcp
103.Ed
104.Sh SEE ALSO
105.Xr arp 4 ,
106.Xr ifmedia 4 ,
107.Xr intro 4 ,
108.Xr netintro 4 ,
109.Xr usb 4 ,
110.Xr hostname.if 5 ,
111.\".Xr hostapd 8 ,
112.Xr ifconfig 8
113.Pp
114Realtek Semiconductor:
115.Lk http://www.realtek.com.tw/
116.Sh HISTORY
117The
118.Nm
119device driver first appeared in
120.Ox 4.5 .
121.Sh AUTHORS
122The
123.Nm
124driver was written by
125.An Weongyo Jeong Aq Mt weongyo@FreeBSD.org .
126