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
|
<table class="head">
<tr>
<td class="head-ltitle">ZYD(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">ZYD(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">zyd</code> — <span class="Nd">ZyDAS
ZD1211/ZD1211B USB IEEE 802.11b/g wireless network driver</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp">To compile this driver into the kernel, place the following lines
in your kernel configuration file:</p>
<div class="Bd Pp Bd-indent"><code class="Cd">device ehci</code>
<br/>
<code class="Cd">device uhci</code>
<br/>
<code class="Cd">device ohci</code>
<br/>
<code class="Cd">device usb</code>
<br/>
<code class="Cd">device zyd</code>
<br/>
<code class="Cd">device wlan</code>
<br/>
<code class="Cd">device wlan_amrr</code></div>
<p class="Pp">Alternatively, to load the driver as a module at boot time, place
the following line in <a class="Xr">loader.conf(5)</a>:</p>
<div class="Bd Pp Bd-indent Li">
<pre>if_zyd_load="YES"</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">zyd</code> driver provides support for
wireless network adapters based around the ZyDAS ZD1211 and ZD1211B USB
chips.</p>
<p class="Pp"><code class="Nm">zyd</code> supports
<code class="Cm">station</code> and <code class="Cm">monitor</code> mode
operation. Only one virtual interface may be configured at any time. For
more information on configuring this device, see
<a class="Xr">ifconfig(8)</a>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="HARDWARE"><a class="permalink" href="#HARDWARE">HARDWARE</a></h1>
<p class="Pp">The following devices are known to be supported by the
<code class="Nm">zyd</code> driver:</p>
<p class="Pp"></p>
<ul class="Bl-bullet Bd-indent Bl-compact">
<li>3COM 3CRUSB10075</li>
<li>Acer WLAN-G-US1</li>
<li>Airlink+ AWLL3025</li>
<li>Airlink 101 AWLL3026</li>
<li>AOpen 802.11g WL54</li>
<li>Asus A9T integrated wireless</li>
<li>Asus WL-159g</li>
<li>Belkin F5D7050 v.4000</li>
<li>Billion BiPAC 3011G</li>
<li>Buffalo WLI-U2-KG54L</li>
<li>CC&C WL-2203B</li>
<li>DrayTek Vigor 550</li>
<li>Edimax EW-7317UG</li>
<li>Edimax EW-7317LDG</li>
<li>Fiberline Networks WL-43OU</li>
<li>iNexQ UR055g</li>
<li>Linksys WUSBF54G</li>
<li>Longshine LCS-8131G3</li>
<li>MSI US54SE</li>
<li>MyTek MWU-201 USB adapter</li>
<li>Philips SNU5600</li>
<li>Planet WL-U356</li>
<li>Planex GW-US54GZ</li>
<li>Planex GW-US54GZL</li>
<li>Planex GW-US54Mini</li>
<li>Safecom SWMULZ-5400</li>
<li>Sagem XG 760A</li>
<li>Sagem XG 76NA</li>
<li>Sandberg Wireless G54 USB</li>
<li>Sitecom WL-113</li>
<li>SMC SMCWUSB-G</li>
<li>Sweex wireless USB 54 Mbps</li>
<li>Tekram/Siemens USB adapter</li>
<li>Telegent TG54USB</li>
<li>Trendnet TEW-424UB rev A</li>
<li>Trendnet TEW-429UB</li>
<li>TwinMOS G240</li>
<li>Unicorn WL-54G</li>
<li>US Robotics 5423</li>
<li>X-Micro XWL-11GUZX</li>
<li>Yakumo QuickWLAN USB</li>
<li>Zonet ZEW2501</li>
<li>ZyXEL ZyAIR G-202</li>
<li>ZyXEL ZyAIR G-220</li>
</ul>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<p class="Pp">The following example configures zyd0 to join any BSS network
using WEP key “0x1deadbeef1”, channel 11:</p>
<div class="Bd Pp Bd-indent Li">
<pre>ifconfig wlan create wlandev zyd0 channel 11 \
wepmode on wepkey 0x1deadbeef1 weptxkey 1 \
inet 192.0.2.20/24</pre>
</div>
<p class="Pp">Join an existing BSS network, <var class="Ar">my_net</var>:</p>
<div class="Bd Pp Bd-indent Li">
<pre>ifconfig wlan create wlandev zyd0 192.0.2.20/24 \
ssid 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>zyd%d: could not load firmware (error=%d)</dt>
<dd>An error occurred while attempting to upload the firmware to the onboard
microcontroller unit.</dd>
<dt>zyd%d: could not send command (error=%s)</dt>
<dd>An attempt to send a command to the firmware failed.</dd>
<dt>zyd%d: sorry, radio %s is not supported yet</dt>
<dd>Support for the specified radio chip is not yet implemented in the driver.
The device will not attach.</dd>
<dt>zyd%d: device version mismatch: 0x%x (only >= 43.30 supported)</dt>
<dd>Early revisions of the ZD1211 chipset are not supported by this driver.
The device will not attach.</dd>
<dt>zyd%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">intro(4)</a>, <a class="Xr">netintro(4)</a>,
<a class="Xr">usb(4)</a>, <a class="Xr">wlan(4)</a>,
<a class="Xr">wlan_amrr(4)</a>, <a class="Xr">wlan_ccmp(4)</a>,
<a class="Xr">wlan_tkip(4)</a>, <a class="Xr">wlan_wep(4)</a>,
<a class="Xr">networking(7)</a>, <a class="Xr">ifconfig(8)</a>,
<a class="Xr">wpa_supplicant(8)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The original <code class="Nm">zyd</code> driver was written by
<span class="An">Florian Stoehr</span>
<<a class="Mt" href="mailto:ich@florian-stoehr.de">ich@florian-stoehr.de</a>>,
<span class="An">Damien Bergamini</span>
<<a class="Mt" href="mailto:damien@openbsd.org">damien@openbsd.org</a>>,
and <span class="An">Jonathan Gray</span>
<<a class="Mt" href="mailto:jsg@openbsd.org">jsg@openbsd.org</a>>.</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">zyd</code> driver does not support a lot of
the functionality available in the hardware. More work is required to
properly support the IBSS and power management features.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">November 10, 2024</td>
<td class="foot-os">FreeBSD 15.0</td>
</tr>
</table>
|