xref: /freebsd/share/man/man4/zyd.4 (revision 93b30f1b6caec5083efacf3fb5049b72e75cc09e)
10c1154eaSWarner Losh.\" $OpenBSD: zyd.4,v 1.22 2007/05/24 02:49:57 cnst Exp $
20c1154eaSWarner Losh.\" $NetBSD: zyd.4,v 1.1 2007/06/09 11:20:55 kiyohara Exp $
30c1154eaSWarner Losh.\"
40c1154eaSWarner Losh.\" Copyright (c) 1997, 1998, 1999
50c1154eaSWarner Losh.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
60c1154eaSWarner Losh.\"
70c1154eaSWarner Losh.\" Redistribution and use in source and binary forms, with or without
80c1154eaSWarner Losh.\" modification, are permitted provided that the following conditions
90c1154eaSWarner Losh.\" are met:
100c1154eaSWarner Losh.\" 1. Redistributions of source code must retain the above copyright
110c1154eaSWarner Losh.\"    notice, this list of conditions and the following disclaimer.
120c1154eaSWarner Losh.\" 2. Redistributions in binary form must reproduce the above copyright
130c1154eaSWarner Losh.\"    notice, this list of conditions and the following disclaimer in the
140c1154eaSWarner Losh.\"    documentation and/or other materials provided with the distribution.
150c1154eaSWarner Losh.\" 3. All advertising materials mentioning features or use of this software
160c1154eaSWarner Losh.\"    must display the following acknowledgement:
170c1154eaSWarner Losh.\" This product includes software developed by Bill Paul.
180c1154eaSWarner Losh.\" 4. Neither the name of the author nor the names of any co-contributors
190c1154eaSWarner Losh.\"    may be used to endorse or promote products derived from this software
200c1154eaSWarner Losh.\"   without specific prior written permission.
210c1154eaSWarner Losh.\"
220c1154eaSWarner Losh.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
230c1154eaSWarner Losh.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
240c1154eaSWarner Losh.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
250c1154eaSWarner Losh.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
260c1154eaSWarner Losh.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
270c1154eaSWarner Losh.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
280c1154eaSWarner Losh.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
290c1154eaSWarner Losh.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
300c1154eaSWarner Losh.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
310c1154eaSWarner Losh.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
320c1154eaSWarner Losh.\" THE POSSIBILITY OF SUCH DAMAGE.
330c1154eaSWarner Losh.\"
34*93b30f1bSAlexander Ziaee.Dd November 10, 2024
350c1154eaSWarner Losh.Dt ZYD 4
360c1154eaSWarner Losh.Os
370c1154eaSWarner Losh.Sh NAME
380c1154eaSWarner Losh.Nm zyd
39*93b30f1bSAlexander Ziaee.Nd ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network driver
400c1154eaSWarner Losh.Sh SYNOPSIS
418b9003d1SChristian BruefferTo compile this driver into the kernel,
428b9003d1SChristian Bruefferplace the following lines in your
438b9003d1SChristian Bruefferkernel configuration file:
448b9003d1SChristian Brueffer.Bd -ragged -offset indent
458b9003d1SChristian Brueffer.Cd "device ehci"
468b9003d1SChristian Brueffer.Cd "device uhci"
478b9003d1SChristian Brueffer.Cd "device ohci"
488b9003d1SChristian Brueffer.Cd "device usb"
498b9003d1SChristian Brueffer.Cd "device zyd"
508b9003d1SChristian Brueffer.Cd "device wlan"
518b9003d1SChristian Brueffer.Cd "device wlan_amrr"
528b9003d1SChristian Brueffer.Ed
538b9003d1SChristian Brueffer.Pp
548b9003d1SChristian BruefferAlternatively, to load the driver as a
558b9003d1SChristian Brueffermodule at boot time, place the following line in
568b9003d1SChristian Brueffer.Xr loader.conf 5 :
578b9003d1SChristian Brueffer.Bd -literal -offset indent
588b9003d1SChristian Bruefferif_zyd_load="YES"
598b9003d1SChristian Brueffer.Ed
600c1154eaSWarner Losh.Sh DESCRIPTION
610c1154eaSWarner LoshThe
620c1154eaSWarner Losh.Nm
630c1154eaSWarner Loshdriver provides support for wireless network adapters based around
640c1154eaSWarner Loshthe ZyDAS ZD1211 and ZD1211B USB chips.
650c1154eaSWarner Losh.Pp
660c1154eaSWarner Losh.Nm
67b032f27cSSam Lefflersupports
68f4841b53SWeongyo Jeong.Cm station
69b032f27cSSam Lefflerand
70b032f27cSSam Leffler.Cm monitor
71b032f27cSSam Lefflermode operation.
72b032f27cSSam LefflerOnly one virtual interface may be configured at any time.
73b032f27cSSam LefflerFor more information on configuring this device, see
74b032f27cSSam Leffler.Xr ifconfig 8 .
750c1154eaSWarner Losh.Sh HARDWARE
760c1154eaSWarner LoshThe following devices are known to be supported by the
770c1154eaSWarner Losh.Nm
780c1154eaSWarner Loshdriver:
790c1154eaSWarner Losh.Pp
80*93b30f1bSAlexander Ziaee.Bl -bullet -offset indent -compact
81*93b30f1bSAlexander Ziaee.It
82*93b30f1bSAlexander Ziaee3COM 3CRUSB10075
83*93b30f1bSAlexander Ziaee.It
84*93b30f1bSAlexander ZiaeeAcer WLAN-G-US1
85*93b30f1bSAlexander Ziaee.It
86*93b30f1bSAlexander ZiaeeAirlink+ AWLL3025
87*93b30f1bSAlexander Ziaee.It
88*93b30f1bSAlexander ZiaeeAirlink 101 AWLL3026
89*93b30f1bSAlexander Ziaee.It
90*93b30f1bSAlexander ZiaeeAOpen 802.11g WL54
91*93b30f1bSAlexander Ziaee.It
92*93b30f1bSAlexander ZiaeeAsus A9T integrated wireless
93*93b30f1bSAlexander Ziaee.It
94*93b30f1bSAlexander ZiaeeAsus WL-159g
95*93b30f1bSAlexander Ziaee.It
96*93b30f1bSAlexander ZiaeeBelkin F5D7050 v.4000
97*93b30f1bSAlexander Ziaee.It
98*93b30f1bSAlexander ZiaeeBillion BiPAC 3011G
99*93b30f1bSAlexander Ziaee.It
100*93b30f1bSAlexander ZiaeeBuffalo WLI-U2-KG54L
101*93b30f1bSAlexander Ziaee.It
102*93b30f1bSAlexander ZiaeeCC&C WL-2203B
103*93b30f1bSAlexander Ziaee.It
104*93b30f1bSAlexander ZiaeeDrayTek Vigor 550
105*93b30f1bSAlexander Ziaee.It
106*93b30f1bSAlexander ZiaeeEdimax EW-7317UG
107*93b30f1bSAlexander Ziaee.It
108*93b30f1bSAlexander ZiaeeEdimax EW-7317LDG
109*93b30f1bSAlexander Ziaee.It
110*93b30f1bSAlexander ZiaeeFiberline Networks WL-43OU
111*93b30f1bSAlexander Ziaee.It
112*93b30f1bSAlexander ZiaeeiNexQ UR055g
113*93b30f1bSAlexander Ziaee.It
114*93b30f1bSAlexander ZiaeeLinksys WUSBF54G
115*93b30f1bSAlexander Ziaee.It
116*93b30f1bSAlexander ZiaeeLongshine LCS-8131G3
117*93b30f1bSAlexander Ziaee.It
118*93b30f1bSAlexander ZiaeeMSI US54SE
119*93b30f1bSAlexander Ziaee.It
120*93b30f1bSAlexander ZiaeeMyTek MWU-201 USB adapter
121*93b30f1bSAlexander Ziaee.It
122*93b30f1bSAlexander ZiaeePhilips SNU5600
123*93b30f1bSAlexander Ziaee.It
124*93b30f1bSAlexander ZiaeePlanet WL-U356
125*93b30f1bSAlexander Ziaee.It
126*93b30f1bSAlexander ZiaeePlanex GW-US54GZ
127*93b30f1bSAlexander Ziaee.It
128*93b30f1bSAlexander ZiaeePlanex GW-US54GZL
129*93b30f1bSAlexander Ziaee.It
130*93b30f1bSAlexander ZiaeePlanex GW-US54Mini
131*93b30f1bSAlexander Ziaee.It
132*93b30f1bSAlexander ZiaeeSafecom SWMULZ-5400
133*93b30f1bSAlexander Ziaee.It
134*93b30f1bSAlexander ZiaeeSagem XG 760A
135*93b30f1bSAlexander Ziaee.It
136*93b30f1bSAlexander ZiaeeSagem XG 76NA
137*93b30f1bSAlexander Ziaee.It
138*93b30f1bSAlexander ZiaeeSandberg Wireless G54 USB
139*93b30f1bSAlexander Ziaee.It
140*93b30f1bSAlexander ZiaeeSitecom WL-113
141*93b30f1bSAlexander Ziaee.It
142*93b30f1bSAlexander ZiaeeSMC SMCWUSB-G
143*93b30f1bSAlexander Ziaee.It
144*93b30f1bSAlexander ZiaeeSweex wireless USB 54 Mbps
145*93b30f1bSAlexander Ziaee.It
146*93b30f1bSAlexander ZiaeeTekram/Siemens USB adapter
147*93b30f1bSAlexander Ziaee.It
148*93b30f1bSAlexander ZiaeeTelegent TG54USB
149*93b30f1bSAlexander Ziaee.It
150*93b30f1bSAlexander ZiaeeTrendnet TEW-424UB rev A
151*93b30f1bSAlexander Ziaee.It
152*93b30f1bSAlexander ZiaeeTrendnet TEW-429UB
153*93b30f1bSAlexander Ziaee.It
154*93b30f1bSAlexander ZiaeeTwinMOS G240
155*93b30f1bSAlexander Ziaee.It
156*93b30f1bSAlexander ZiaeeUnicorn WL-54G
157*93b30f1bSAlexander Ziaee.It
158*93b30f1bSAlexander ZiaeeUS Robotics 5423
159*93b30f1bSAlexander Ziaee.It
160*93b30f1bSAlexander ZiaeeX-Micro XWL-11GUZX
161*93b30f1bSAlexander Ziaee.It
162*93b30f1bSAlexander ZiaeeYakumo QuickWLAN USB
163*93b30f1bSAlexander Ziaee.It
164*93b30f1bSAlexander ZiaeeZonet ZEW2501
165*93b30f1bSAlexander Ziaee.It
166*93b30f1bSAlexander ZiaeeZyXEL ZyAIR G-202
167*93b30f1bSAlexander Ziaee.It
168*93b30f1bSAlexander ZiaeeZyXEL ZyAIR G-220
1690c1154eaSWarner Losh.El
1700c1154eaSWarner Losh.Sh EXAMPLES
1710c1154eaSWarner LoshThe following
1725dc230e7SChristian Bruefferexample configures zyd0 to join any BSS network using WEP key
1730c1154eaSWarner Losh.Dq 0x1deadbeef1 ,
1740c1154eaSWarner Loshchannel 11:
1750c1154eaSWarner Losh.Bd -literal -offset indent
176b032f27cSSam Lefflerifconfig wlan create wlandev zyd0 channel 11 \e
177b032f27cSSam Leffler    wepmode on wepkey 0x1deadbeef1 weptxkey 1 \e
178*93b30f1bSAlexander Ziaee    inet 192.0.2.20/24
1790c1154eaSWarner Losh.Ed
1800c1154eaSWarner Losh.Pp
1810c1154eaSWarner LoshJoin an existing BSS network,
182*93b30f1bSAlexander Ziaee.Ar my_net :
1830c1154eaSWarner Losh.Bd -literal -offset indent
184*93b30f1bSAlexander Ziaeeifconfig wlan create wlandev zyd0 192.0.2.20/24 \e
185*93b30f1bSAlexander Ziaee    ssid my_net
1860c1154eaSWarner Losh.Ed
1870c1154eaSWarner Losh.Sh DIAGNOSTICS
1880c1154eaSWarner Losh.Bl -diag
1890c1154eaSWarner Losh.It "zyd%d: could not load firmware (error=%d)"
1900c1154eaSWarner LoshAn error occurred while attempting to upload the firmware to the onboard
1910c1154eaSWarner Loshmicrocontroller unit.
1920c1154eaSWarner Losh.It "zyd%d: could not send command (error=%s)"
1930c1154eaSWarner LoshAn attempt to send a command to the firmware failed.
1940c1154eaSWarner Losh.It "zyd%d: sorry, radio %s is not supported yet"
1950c1154eaSWarner LoshSupport for the specified radio chip is not yet implemented in the driver.
1960c1154eaSWarner LoshThe device will not attach.
1970c1154eaSWarner Losh.It "zyd%d: device version mismatch: 0x%x (only >= 43.30 supported)"
1980c1154eaSWarner LoshEarly revisions of the ZD1211 chipset are not supported by this driver.
1990c1154eaSWarner LoshThe device will not attach.
2000c1154eaSWarner Losh.It "zyd%d: device timeout"
2010c1154eaSWarner LoshA frame dispatched to the hardware for transmission did not complete in time.
2020c1154eaSWarner LoshThe driver will reset the hardware.
2030c1154eaSWarner LoshThis should not happen.
2040c1154eaSWarner Losh.El
2050c1154eaSWarner Losh.Sh SEE ALSO
2060c1154eaSWarner Losh.Xr intro 4 ,
2070c1154eaSWarner Losh.Xr netintro 4 ,
2080c1154eaSWarner Losh.Xr usb 4 ,
2090c1154eaSWarner Losh.Xr wlan 4 ,
2100c1154eaSWarner Losh.Xr wlan_amrr 4 ,
211b032f27cSSam Leffler.Xr wlan_ccmp 4 ,
212b032f27cSSam Leffler.Xr wlan_tkip 4 ,
213b032f27cSSam Leffler.Xr wlan_wep 4 ,
214*93b30f1bSAlexander Ziaee.Xr networking 7 ,
215b032f27cSSam Leffler.Xr ifconfig 8 ,
2165dc230e7SChristian Brueffer.Xr wpa_supplicant 8
2170c1154eaSWarner Losh.Sh AUTHORS
2180c1154eaSWarner Losh.An -nosplit
219b032f27cSSam LefflerThe original
2200c1154eaSWarner Losh.Nm
2210c1154eaSWarner Loshdriver was written by
2226c899950SBaptiste Daroussin.An Florian Stoehr Aq Mt ich@florian-stoehr.de ,
2236c899950SBaptiste Daroussin.An Damien Bergamini Aq Mt damien@openbsd.org ,
2240c1154eaSWarner Loshand
2256c899950SBaptiste Daroussin.An Jonathan Gray Aq Mt jsg@openbsd.org .
2260c1154eaSWarner Losh.Sh CAVEATS
2270c1154eaSWarner LoshThe
2280c1154eaSWarner Losh.Nm
2290c1154eaSWarner Loshdriver does not support a lot of the functionality available in the hardware.
2300c1154eaSWarner LoshMore work is required to properly support the IBSS and power management
2310c1154eaSWarner Loshfeatures.
232