xref: /openbsd-src/share/man/man4/urtw.4 (revision 50b7afb2c2c0993b0894d4e34bf857cb13ed9c80)
1.\" $OpenBSD: urtw.4,v 1.21 2014/02/15 20:28:19 tedu 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: February 15 2014 $
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 Linksys WUSB54GC v2
78.It Netgear WG111v2
79.It Netgear WG111v3
80.It Shuttle XPC Accessory PN20
81.It Sitecom WL-168 v1
82.It Sitecom WL-168 v4
83.It Surecom EP-9001-g rev 2A
84.It TRENDnet TEW-424UB V3.xR
85.El
86.Sh EXAMPLES
87The following example scans for available networks:
88.Pp
89.Dl # ifconfig urtw0 scan
90.Pp
91The following
92.Xr hostname.if 5
93example configures urtw0 to join network
94.Dq mynwid ,
95using WPA key
96.Dq mywpakey ,
97obtaining an IP address using DHCP:
98.Bd -literal -offset indent
99nwid mynwid
100wpakey mywpakey
101dhcp
102.Ed
103.Sh SEE ALSO
104.Xr arp 4 ,
105.Xr ifmedia 4 ,
106.Xr intro 4 ,
107.Xr netintro 4 ,
108.Xr usb 4 ,
109.Xr hostname.if 5 ,
110.Xr hostapd 8 ,
111.Xr ifconfig 8
112.Pp
113Realtek Semiconductor:
114.Lk http://www.realtek.com.tw/
115.Sh HISTORY
116The
117.Nm
118device driver first appeared in
119.Ox 4.5 .
120.Sh AUTHORS
121The
122.Nm
123driver was written by
124.An Weongyo Jeong Aq Mt weongyo@FreeBSD.org .
125