1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
|
<table class="head">
<tr>
<td class="head-ltitle">RUN(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">RUN(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">run</code> — <span class="Nd">Ralink
Technology USB IEEE 802.11a/b/g/n wireless network device</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">run* at uhub? port ?</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">run</code> driver supports USB 2.0 wireless
adapters based on the Ralink RT2700U, RT2800U and RT3000U chipsets.</p>
<p class="Pp">The RT2700U chipset consists of two integrated chips, an RT2770
MAC/BBP and an RT2720 (1T2R) or RT2750 (dual-band 1T2R) radio
transceiver.</p>
<p class="Pp">The RT2800U chipset consists of two integrated chips, an RT2870
MAC/BBP and an RT2820 (2T3R) or RT2850 (dual-band 2T3R) radio
transceiver.</p>
<p class="Pp">The RT3000U is a single-chip solution based on an RT3070 MAC/BBP
and an RT3020 (1T1R), RT3021 (1T2R), RT3022 (2T2R) or RT3052 (dual-band
2T2R) radio transceiver.</p>
<p class="Pp">These are the modes the <code class="Nm">run</code> driver can
operate in:</p>
<dl class="Bl-tag">
<dt id="infrastructure">BSS mode</dt>
<dd>Also known as
<a class="permalink" href="#infrastructure"><i class="Em">infrastructure</i></a>
mode, this is used when associating with an access point, through which
all traffic passes. This mode is the default.</dd>
<dt>monitor mode</dt>
<dd>In this mode the driver is able to receive packets without associating
with an access point. This disables the internal receive filter and
enables the card to capture packets from networks which it wouldn't
normally have access to, or to scan for access points.</dd>
</dl>
<p class="Pp">The <code class="Nm">run</code> driver can be configured to use
Wired Equivalent Privacy (WEP) or Wi-Fi Protected Access (WPA-PSK and
WPA2-PSK). WPA is the de facto encryption standard for wireless networks. It
is strongly recommended that WEP not be used as the sole mechanism to secure
wireless communication, due to serious weaknesses in it. The
<code class="Nm">run</code> driver offloads both encryption and decryption
of data frames to the hardware for the WEP40, WEP104, TKIP(+MIC) and CCMP
ciphers.</p>
<p class="Pp">The <code class="Nm">run</code> driver can be configured at
runtime with <a class="Xr">ifconfig(8)</a> or on boot with
<a class="Xr">ifconfig.if(5)</a>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<p class="Pp">The driver needs the following firmware files, which are loaded
when an interface is brought up:</p>
<p class="Pp"></p>
<div class="Bd-indent">
<dl class="Bl-tag Bl-compact">
<dt>/libdata/firmware/run/run-rt2870</dt>
<dd style="width: auto;"> </dd>
<dt>/libdata/firmware/run/run-rt3071</dt>
<dd style="width: auto;"> </dd>
</dl>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="HARDWARE"><a class="permalink" href="#HARDWARE">HARDWARE</a></h1>
<p class="Pp">The following adapters should work:</p>
<p class="Pp"></p>
<div class="Bd-indent">
<dl class="Bl-tag Bl-compact">
<dt>Airlink101 AWLL6090</dt>
<dd style="width: auto;"> </dd>
<dt>ASUS USB-N11</dt>
<dd style="width: auto;"> </dd>
<dt>ASUS USB-N13</dt>
<dd style="width: auto;"> </dd>
<dt>ASUS WL-160N</dt>
<dd style="width: auto;"> </dd>
<dt>Belkin F5D8051 ver 3000</dt>
<dd style="width: auto;"> </dd>
<dt>Belkin F5D8053</dt>
<dd style="width: auto;"> </dd>
<dt>Belkin F5D8055</dt>
<dd style="width: auto;"> </dd>
<dt>Belkin F6D4050 ver 1</dt>
<dd style="width: auto;"> </dd>
<dt>Belkin F6D4050 ver 2</dt>
<dd style="width: auto;"> </dd>
<dt>Belkin F7D1101 ver 2</dt>
<dd style="width: auto;"> </dd>
<dt>Buffalo WLI-UC-AG300N</dt>
<dd style="width: auto;"> </dd>
<dt>Buffalo WLI-UC-G300N</dt>
<dd style="width: auto;"> </dd>
<dt>Buffalo WLI-UC-G301N</dt>
<dd style="width: auto;"> </dd>
<dt>Buffalo WLI-UC-GN</dt>
<dd style="width: auto;"> </dd>
<dt>Buffalo WLI-UC-GNHP</dt>
<dd style="width: auto;"> </dd>
<dt>Buffalo WLI-UC-GNM</dt>
<dd style="width: auto;"> </dd>
<dt>Buffalo WLI-UC-GNM2</dt>
<dd style="width: auto;"> </dd>
<dt>Cisco AM10</dt>
<dd style="width: auto;"> </dd>
<dt>Corega CG-WLUSB2GNL</dt>
<dd style="width: auto;"> </dd>
<dt>Corega CG-WLUSB2GNR</dt>
<dd style="width: auto;"> </dd>
<dt>Corega CG-WLUSB300AGN</dt>
<dd style="width: auto;"> </dd>
<dt>Corega CG-WLUSB300GNM</dt>
<dd style="width: auto;"> </dd>
<dt>D-Link DWA-130 rev B1</dt>
<dd style="width: auto;"> </dd>
<dt>D-Link DWA-140</dt>
<dd style="width: auto;"> </dd>
<dt>DrayTek Vigor N61</dt>
<dd style="width: auto;"> </dd>
<dt>Edimax EW-7711UAn</dt>
<dd style="width: auto;"> </dd>
<dt>Edimax EW-7711UTn</dt>
<dd style="width: auto;"> </dd>
<dt>Edimax EW-7717Un</dt>
<dd style="width: auto;"> </dd>
<dt>Edimax EW-7718Un</dt>
<dd style="width: auto;"> </dd>
<dt>Edimax EW-7722UTn</dt>
<dd style="width: auto;"> </dd>
<dt>Gigabyte GN-WB30N</dt>
<dd style="width: auto;"> </dd>
<dt>Gigabyte GN-WB31N</dt>
<dd style="width: auto;"> </dd>
<dt>Gigabyte GN-WB32L</dt>
<dd style="width: auto;"> </dd>
<dt>Hawking HWDN1</dt>
<dd style="width: auto;"> </dd>
<dt>Hawking HWUN1</dt>
<dd style="width: auto;"> </dd>
<dt>Hawking HWUN2</dt>
<dd style="width: auto;"> </dd>
<dt>Hercules HWNU-300</dt>
<dd style="width: auto;"> </dd>
<dt>Linksys AE1000</dt>
<dd style="width: auto;"> </dd>
<dt>Linksys WUSB54GC v3</dt>
<dd style="width: auto;"> </dd>
<dt>Linksys WUSB600N</dt>
<dd style="width: auto;"> </dd>
<dt>Logitec LAN-W150N/U2</dt>
<dd style="width: auto;"> </dd>
<dt>Logitec LAN-W300N/U2</dt>
<dd style="width: auto;"> </dd>
<dt>Mvix Nubbin MS-811N</dt>
<dd style="width: auto;"> </dd>
<dt>Planex GW-US300Mini-X</dt>
<dd style="width: auto;"> </dd>
<dt>Planex GW-US300MiniS</dt>
<dd style="width: auto;"> </dd>
<dt>Planex GW-US300MiniW</dt>
<dd style="width: auto;"> </dd>
<dt>Planex GW-USMicro300</dt>
<dd style="width: auto;"> </dd>
<dt>Planex GW-USMicroN</dt>
<dd style="width: auto;"> </dd>
<dt>Sitecom WL-182</dt>
<dd style="width: auto;"> </dd>
<dt>Sitecom WL-188</dt>
<dd style="width: auto;"> </dd>
<dt>Sitecom WL-301</dt>
<dd style="width: auto;"> </dd>
<dt>Sitecom WL-302</dt>
<dd style="width: auto;"> </dd>
<dt>Sitecom WL-315</dt>
<dd style="width: auto;"> </dd>
<dt>Sitecom WLA-4000</dt>
<dd style="width: auto;"> </dd>
<dt>Sitecom WLA-5000</dt>
<dd style="width: auto;"> </dd>
<dt>SMC SMCWUSBS-N2</dt>
<dd style="width: auto;"> </dd>
<dt>Sweex LW153</dt>
<dd style="width: auto;"> </dd>
<dt>Sweex LW303</dt>
<dd style="width: auto;"> </dd>
<dt>Sweex LW313</dt>
<dd style="width: auto;"> </dd>
<dt>TRENDnet TEW-645UB</dt>
<dd style="width: auto;"> </dd>
<dt>Unex DNUR-81</dt>
<dd style="width: auto;"> </dd>
<dt>Unex DNUR-82</dt>
<dd style="width: auto;"> </dd>
<dt>ZyXEL NWD-211AN</dt>
<dd style="width: auto;"> </dd>
<dt>ZyXEL NWD-271N</dt>
<dd style="width: auto;"> </dd>
<dt>ZyXEL NWD2105</dt>
<dd style="width: auto;"> </dd>
<dt>ZyXEL NWD210N</dt>
<dd style="width: auto;"> </dd>
<dt>ZyXEL NWD2205</dt>
<dd style="width: auto;"> </dd>
<dt>ZyXEL NWD270N</dt>
<dd style="width: auto;"> </dd>
</dl>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<p class="Pp">The following <a class="Xr">ifconfig.if(5)</a> example configures
run0 to join whatever network is available on boot, using WEP key
“0x1deadbeef1”, channel 11, obtaining an IP address using
DHCP:</p>
<div class="Bd Pp Bd-indent Li">
<pre>dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11</pre>
</div>
<p class="Pp">Join an existing BSS network, “my_net”:</p>
<div class="Bd Pp Bd-indent Li">
<pre># ifconfig run0 192.168.1.1 netmask 0xffffff00 nwid my_net</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
<dl class="Bl-diag">
<dt>run%d: error %d, could not read firmware %s</dt>
<dd>For some reason, the driver was unable to read the microcode file from the
filesystem. The file might be missing or corrupted.</dd>
<dt>run%d: could not load 8051 microcode</dt>
<dd>An error occurred while attempting to upload the microcode to the onboard
8051 microcontroller unit.</dd>
<dt>run%d: device timeout</dt>
<dd>A frame dispatched to the hardware for transmission did not complete in
time. The driver will reset the hardware. This should not happen.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">arp(4)</a>, <a class="Xr">ifmedia(4)</a>,
<a class="Xr">netintro(4)</a>, <a class="Xr">usb(4)</a>,
<a class="Xr">ifconfig.if(5)</a>, <a class="Xr">wpa_supplicant.conf(5)</a>,
<a class="Xr">ifconfig(8)</a>, <a class="Xr">wpa_supplicant(8)</a></p>
<p class="Pp">Ralink Technology:
<span class="Pa">http://www.ralinktech.com/</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">run</code> driver first appeared in
<span class="Ux">OpenBSD 4.5</span> and in <span class="Ux">NetBSD
7.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">run</code> driver was written by
<span class="An">Damien Bergamini</span> ⟨damien@openbsd.org⟩
for <span class="Ux">OpenBSD</span> and ported to
<span class="Ux">NetBSD</span> by <span class="An">FUKAUMI Naoki</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
<p class="Pp">The <code class="Nm">run</code> driver does not support any of the
802.11n capabilities offered by the RT2800 and RT3000 chipsets. Additional
work is required in <a class="Xr">ieee80211(9)</a> before those features can
be supported.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">July 31, 2013</td>
<td class="foot-os">NetBSD 10.1</td>
</tr>
</table>
|