xref: /openbsd/share/man/man4/urtw.4 (revision 891d7ab6)
1.\" $OpenBSD: urtw.4,v 1.16 2010/11/01 17:59:09 jmc 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: November 1 2010 $
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 de facto 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
88.Xr hostname.if 5
89example configures urtw0 to join whatever network is available on boot,
90using WEP key
91.Dq 0x1deadbeef1 ,
92channel 11, obtaining an IP address using DHCP:
93.Bd -literal -offset indent
94dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
95.Ed
96.Pp
97Configure urtw0 to join network
98.Dq my_net
99using WPA with passphrase
100.Dq my_passphrase :
101.Bd -literal -offset indent
102# ifconfig urtw0 nwid my_net wpakey my_passphrase
103.Ed
104.Pp
105Join an existing BSS network,
106.Dq my_net :
107.Bd -literal -offset indent
108# ifconfig urtw0 192.168.1.1 netmask 0xffffff00 nwid my_net
109.Ed
110.Sh SEE ALSO
111.Xr arp 4 ,
112.Xr ifmedia 4 ,
113.Xr intro 4 ,
114.Xr netintro 4 ,
115.Xr usb 4 ,
116.Xr hostname.if 5 ,
117.Xr hostapd 8 ,
118.Xr ifconfig 8
119.Pp
120Realtek Semiconductor:
121.Pa http://www.realtek.com.tw/
122.Sh HISTORY
123The
124.Nm
125device driver first appeared in
126.Ox 4.5 .
127.Sh AUTHORS
128The
129.Nm
130driver was written by
131.An Weongyo Jeong Aq weongyo@FreeBSD.org .
132