]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - share/man/man4/urtwn.4
MFC r270165,r270191:
[FreeBSD/stable/10.git] / share / man / man4 / urtwn.4
1 .\" Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
2 .\"
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
6 .\"
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 .\"
15 .\" $FreeBSD$
16 .\"
17 .Dd May 3, 2014
18 .Dt URTWN 4
19 .Os
20 .Sh NAME
21 .Nm urtwn
22 .Nd Realtek RTL8188CU/RTL8188EU/RTL8192CU USB IEEE 802.11b/g/n wireless network device
23 .Sh SYNOPSIS
24 To compile this driver into the kernel,
25 place the following lines in your
26 kernel configuration file:
27 .Bd -ragged -offset indent
28 .Cd "device ehci"
29 .Cd "device uhci"
30 .Cd "device ohci"
31 .Cd "device usb"
32 .Cd "device urtwn"
33 .Cd "device wlan"
34 .Ed
35 .Pp
36 Alternatively, to load the driver as a
37 module at boot time, place the following line in
38 .Xr loader.conf 5 :
39 .Bd -literal -offset indent
40 if_urtwn_load="YES"
41 .Ed
42 .Pp
43 In both cases, place the following line in
44 .Xr loader.conf 5
45 to acknowledge the firmware license (see below):
46 .Bd -literal -offset indent
47 legal.realtek.license_ack=1
48 .Ed
49 .Sh DESCRIPTION
50 The
51 .Nm
52 driver supports USB 2.0 wireless network devices based on Realtek
53 RTL8188CUS, RTL8188CE-VAU, RTL8188EUS, RTL8188RU and RTL8192CU chipsets.
54 .Pp
55 The RTL8188CUS and RTL8188EUS are highly integrated 802.11n adapter that
56 combine a MAC, a 1T1R capable baseband and an RF in a single chip.
57 They operate in the 2GHz spectrum only.
58 The RTL8188RU is a high-power variant of the RTL8188CUS.
59 The RTL8188CE-VAU is a PCI Express Mini Card adapter that attaches
60 to the USB interface.
61 .Pp
62 The RTL8192CU is a highly integrated multiple-in, multiple-out (MIMO)
63 802.11n adapter that combines a MAC, a 2T2R capable baseband and an
64 RF in a single chip.
65 It operates in the 2GHz spectrum only.
66 .Pp
67 This driver requires the firmware built with the
68 .Nm urtwnfw
69 module to work.
70 For the loaded firmware to be enabled for use the license at
71 .Pa /usr/share/doc/legal/realtek
72 must be agreed by adding the following line to
73 .Xr loader.conf 5 :
74 .Pp
75 .Dl "legal.realtek.license_ack=1"
76 .Sh FILES
77 .Bl -tag -width ".Pa /usr/share/doc/legal/realtek" -compact
78 .It Pa /usr/share/doc/legal/realtek
79 .Nm
80 firmware license
81 .El
82 .Sh HARDWARE
83 The
84 .Nm
85 driver supports Realtek RTL8188CU/RTL8188EU/RTL8192CU based USB
86 IEEE 802.11b/g/n wireless network adapters, including:
87 .Pp
88 .Bl -tag -width Ds -offset indent -compact
89 .It ASUS USB-N10 NANO
90 .It Belkin F7D1102 Surf Wireless Micro
91 .It D-Link DWA-125 rev D1
92 .It D-Link DWA-131
93 .It Edimax EW-7811Un
94 .It Netgear WNA1000M
95 .It Realtek RTL8192CU
96 .It Realtek RTL8188CUS
97 .It TP-LINK TL-WN723N v3
98 .It TP-LINK TL-WN725N v2
99 .El
100 .Sh EXAMPLES
101 Join an existing BSS network (i.e., connect to an access point):
102 .Bd -literal -offset indent
103 ifconfig wlan create wlandev urtwn0 inet 192.168.0.20 \e
104     netmask 0xffffff00
105 .Ed
106 .Pp
107 Join a specific BSS network with network name
108 .Dq Li my_net :
109 .Pp
110 .Dl "ifconfig wlan create wlandev urtwn0 ssid my_net up"
111 .Pp
112 Join a specific BSS network with 64-bit WEP encryption:
113 .Bd -literal -offset indent
114 ifconfig wlan create wlandev urtwn0 ssid my_net \e
115         wepmode on wepkey 0x1234567890 weptxkey 1 up
116 .Ed
117 .Sh DIAGNOSTICS
118 .Bl -diag
119 .It "urtwn%d: error %d, could not read firmware %s"
120 For some reason, the driver was unable to read the microcode file from the
121 filesystem.
122 The file might be missing or corrupted.
123 .It "urtwn%d: device timeout"
124 A frame dispatched to the hardware for transmission did not complete in time.
125 The driver will reset the hardware.
126 This should not happen.
127 .El
128 .Sh SEE ALSO
129 .Xr intro 4 ,
130 .Xr netintro 4 ,
131 .Xr urtwnfw 4 ,
132 .Xr usb 4 ,
133 .Xr wlan 4 ,
134 .Xr wlan_ccmp 4 ,
135 .Xr wlan_tkip 4 ,
136 .Xr wlan_wep 4 ,
137 .Xr ifconfig 8 ,
138 .Xr wpa_supplicant 8
139 .Rs
140 .%T Realtek
141 .%U http://www.realtek.com.tw
142 .Re
143 .Sh HISTORY
144 The
145 .Nm
146 driver first appeared in
147 .Ox 4.9
148 and
149 .Fx 10.0 .
150 .Sh AUTHORS
151 The
152 .Nm
153 driver was written by
154 .An Damien Bergamini Aq damien@openbsd.org .
155 .Sh CAVEATS
156 The
157 .Nm
158 driver does not support any of the 802.11n capabilities offered by the
159 adapters.