xref: /freebsd/share/man/man4/urtw.4 (revision 069ac184)
1.\" Copyright (c) 2008 Weongyo Jeong
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.Dd October 17, 2009
26.Dt URTW 4
27.Os
28.Sh NAME
29.Nm urtw
30.Nd Realtek RTL8187B/L USB IEEE 802.11b/g wireless network device
31.Sh SYNOPSIS
32To compile this driver into the kernel,
33place the following lines in your kernel configuration file:
34.Bd -ragged -offset indent
35.Cd "device ehci"
36.Cd "device uhci"
37.Cd "device ohci"
38.Cd "device usb"
39.Cd "device urtw"
40.Cd "device wlan"
41.Ed
42.Pp
43Alternatively, to load the driver as a module at boot time,
44place the following line in
45.Xr loader.conf 5 :
46.Bd -literal -offset indent
47if_urtw_load="YES"
48.Ed
49.Sh DESCRIPTION
50The
51.Nm
52driver supports USB 802.11b/g wireless adapters based on the
53Realtek RTL8187B/L.
54.Pp
55.Nm
56supports
57.Cm station
58and
59.Cm monitor
60mode operation.
61Only one virtual interface may be configured at any time.
62For more information on configuring this device, see
63.Xr ifconfig 8 .
64.Sh HARDWARE
65The
66.Nm
67driver supports Realtek RTL8187B/L based wireless network devices, including:
68.Pp
69.Bl -column "Shuttle XPC Accessory PN20" "RTL8225" "USB" -compact -offset 6n
70.It Em "Card	Radio	Bus"
71.It "Belkin F5D7050E	RTL8225	USB"
72.It "Linksys WUSB54GCv2	RTL8225	USB"
73.It "Netgear WG111v2	RTL8225	USB"
74.It "Netgear WG111v3	RTL8225	USB"
75.It "Safehome WLG-1500SMA5	RTL8225	USB"
76.It "Shuttle XPC Accessory PN20	RTL8225	USB"
77.It "Sitecom WL168v1	RTL8225	USB"
78.It "Sitecom WL168v4	RTL8225	USB"
79.It "SureCom EP-9001-g(2A)	RTL8225	USB"
80.It "TRENDnet TEW-424UB V3.xR	RTL8225	USB"
81.El
82.Sh EXAMPLES
83Join an existing BSS network (i.e., connect to an access point):
84.Bd -literal -offset indent
85ifconfig wlan create wlandev urtw0 inet 192.168.0.20 \e
86    netmask 0xffffff00
87.Ed
88.Pp
89Join a specific BSS network with network name
90.Dq Li my_net :
91.Pp
92.Dl "ifconfig wlan create wlandev urtw0 ssid my_net up"
93.Pp
94Join a specific BSS network with 64-bit WEP encryption:
95.Bd -literal -offset indent
96ifconfig wlan create wlandev urtw0 ssid my_net \e
97	wepmode on wepkey 0x1234567890 weptxkey 1 up
98.Ed
99.Sh SEE ALSO
100.Xr intro 4 ,
101.Xr netintro 4 ,
102.Xr usb 4 ,
103.Xr wlan 4 ,
104.Xr wlan_ccmp 4 ,
105.Xr wlan_tkip 4 ,
106.Xr wlan_wep 4 ,
107.Xr ifconfig 8 ,
108.Xr wpa_supplicant 8
109.Rs
110.%T Realtek
111.%U https://www.realtek.com
112.Re
113.Sh HISTORY
114The
115.Nm
116device driver first appeared in
117.Fx 8.0 .
118.Sh AUTHORS
119.An -nosplit
120The
121.Nm
122driver was written by
123.An Weongyo Jeong Aq Mt weongyo@FreeBSD.org .
124