summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/otus.4 3.html
blob: ca566b813fef488befd89fe2a08fc7bc160f29a7 (plain)
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
<table class="head">
  <tr>
    <td class="head-ltitle">OTUS(4)</td>
    <td class="head-vol">Device Drivers Manual</td>
    <td class="head-rtitle">OTUS(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">otus</code> &#x2014; <span class="Nd">Atheros USB
    IEEE 802.11a/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">otus* 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">otus</code> driver supports USB 2.0 wireless
    network devices based on Atheros Communications AR9001U chipset.</p>
<p class="Pp">The AR9001U chipset is made of an AR9170 MAC/Baseband and an
    AR9101 (1T2R), AR9102 (2T2R) or AR9104 (dual-band 2T2R) Radio.</p>
<p class="Pp">These are the modes the <code class="Nm">otus</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">otus</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.</p>
<p class="Pp">The <code class="Nm">otus</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 at least version 1.0 of the following firmware
    files, which are loaded when an interface is attached:</p>
<p class="Pp"></p>
<div class="Bd-indent">
<dl class="Bl-tag Bl-compact">
  <dt>/libdata/firmware/if_otus/otus-init</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>/libdata/firmware/if_otus/otus-main</dt>
  <dd style="width: auto;">&#x00A0;</dd>
</dl>
</div>
<p class="Pp">Although these firmware files are freely redistributable, their
    usage is restricted.</p>
</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>Arcadyan WN7512</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>CACE AirPcap Nx</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>D-Link DWA-130 rev D1</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>D-Link DWA-160 rev A1</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>D-Link DWA-160 rev A2</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>IO-Data WN-GDN/US2</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>NEC Aterm WL300NU-G</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>Netgear WNDA3100</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>Netgear WN111 v2</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>Planex GW-US300</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>SMC SMCWUSB-N2</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>TP-Link TL-WN821N</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>Ubiquiti SR71 USB</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>Unex DNUA-81</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>Z-Com UB81</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>Z-Com UB82</dt>
  <dd style="width: auto;">&#x00A0;</dd>
  <dt>ZyXEL NWD-271N</dt>
  <dd style="width: auto;">&#x00A0;</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
    otus0 to join whatever network is available on boot, using WEP key
    &#x201C;0x1deadbeef1&#x201D;, channel 11, obtaining an IP address using
    DHCP:</p>
<div class="Bd Pp Bd-indent Li">
<pre>nwkey 0x1deadbeef1 chan 11
dhcp</pre>
</div>
<p class="Pp">Join an existing BSS network, &#x201C;my_net&#x201D;:</p>
<div class="Bd Pp Bd-indent Li">
<pre># ifconfig otus0 192.168.1.1 netmask 0xffffff00 nwid my_net</pre>
</div>
<p class="Pp">To use WPA, see <a class="Xr">wpa_supplicant(8)</a> and
    <a class="Xr">wpa_supplicant.conf(5)</a>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
<dl class="Bl-diag">
  <dt>otus%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>otus%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">wpa_supplicant.conf(5)</a>, <a class="Xr">ifconfig(8)</a>,
    <a class="Xr">wpa_supplicant(8)</a></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">otus</code> driver first appeared in
    <span class="Ux">OpenBSD 4.6</span>. It was ported to
    <span class="Ux">NetBSD</span> by Anon Ymous and first appeared in
    <span class="Ux">NetBSD 6.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">otus</code> driver was written by
    <span class="An">Damien Bergamini</span>
    &lt;<a class="Mt" href="mailto:damien@openbsd.org">damien@openbsd.org</a>&gt;
    based on source code licensed under the ISC released in 2008 by Atheros
    Communications for Linux.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
<p class="Pp">The AVM FRITZ!WLAN USB Stick N adapter is currently not
  supported.</p>
<p class="Pp">The <code class="Nm">otus</code> driver does not support any of
    the 802.11n capabilities offered by the AR9001U chipset. Additional work is
    required in <a class="Xr">ieee80211(9)</a> before those features can be
    supported.</p>
<p class="Pp">The <code class="Nm">otus</code> driver also does not currently
    support EDCA as this is missing in the <span class="Ux">NetBSD</span>
    network stack. The hooks for it are in the driver code.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">November 4, 2010</td>
    <td class="foot-os">NetBSD 10.1</td>
  </tr>
</table>