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.\" 340c1154eaSWarner Losh.\" $FreeBSD$ 350c1154eaSWarner Losh.\" 360c1154eaSWarner Losh.Dd May 28, 2007 370c1154eaSWarner Losh.Dt ZYD 4 380c1154eaSWarner Losh.Os 390c1154eaSWarner Losh.Sh NAME 400c1154eaSWarner Losh.Nm zyd 410c1154eaSWarner Losh.Nd ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device 420c1154eaSWarner Losh.Sh SYNOPSIS 430c1154eaSWarner LoshTo compile this driver into the kernel, 440c1154eaSWarner Loshplace the following lines in your 450c1154eaSWarner Loshkernel configuration file: 460c1154eaSWarner Losh.Bd -ragged -offset indent 470c1154eaSWarner Losh.Cd "device ehci" 480c1154eaSWarner Losh.Cd "device uhci" 490c1154eaSWarner Losh.Cd "device ohci" 500c1154eaSWarner Losh.Cd "device usb" 510c1154eaSWarner Losh.Cd "device zyd" 520c1154eaSWarner Losh.Cd "device wlan" 530c1154eaSWarner Losh.Cd "device wlan_amrr" 540c1154eaSWarner Losh.Ed 550c1154eaSWarner Losh.Pp 560c1154eaSWarner LoshAlternatively, to load the driver as a 570c1154eaSWarner Loshmodule at boot time, place the following line in 580c1154eaSWarner Losh.Xr loader.conf 5 : 590c1154eaSWarner Losh.Bd -literal -offset indent 600c1154eaSWarner Loshif_zyd_load="YES" 610c1154eaSWarner Losh.Ed 620c1154eaSWarner Losh.Sh DESCRIPTION 630c1154eaSWarner LoshThe 640c1154eaSWarner Losh.Nm 650c1154eaSWarner Loshdriver provides support for wireless network adapters based around 660c1154eaSWarner Loshthe ZyDAS ZD1211 and ZD1211B USB chips. 670c1154eaSWarner Losh.Pp 680c1154eaSWarner LoshThese are the modes the 690c1154eaSWarner Losh.Nm 700c1154eaSWarner Loshdriver can operate in: 710c1154eaSWarner Losh.Bl -tag -width "IBSS-masterXX" 720c1154eaSWarner Losh.It BSS mode 730c1154eaSWarner LoshAlso known as 740c1154eaSWarner Losh.Em infrastructure 750c1154eaSWarner Loshmode, this is used when associating with an access point, through 760c1154eaSWarner Loshwhich all traffic passes. 770c1154eaSWarner LoshThis mode is the default. 780c1154eaSWarner Losh.It monitor mode 790c1154eaSWarner LoshIn this mode the driver is able to receive packets without 800c1154eaSWarner Loshassociating with an access point. 810c1154eaSWarner LoshThis disables the internal receive filter and enables the card to 820c1154eaSWarner Loshcapture packets from networks which it wouldn't normally have access to, 830c1154eaSWarner Loshor to scan for access points. 840c1154eaSWarner Losh.El 850c1154eaSWarner Losh.Pp 860c1154eaSWarner Losh.Nm 870c1154eaSWarner Loshsupports software WEP. 880c1154eaSWarner LoshWired Equivalent Privacy (WEP) is the de facto encryption standard 890c1154eaSWarner Loshfor wireless networks. 900c1154eaSWarner LoshIt can be typically configured in one of three modes: 910c1154eaSWarner Loshno encryption; 40-bit encryption; or 104-bit encryption. 920c1154eaSWarner LoshUnfortunately, due to serious weaknesses in WEP protocol 930c1154eaSWarner Loshit is strongly recommended that it not be used as the 940c1154eaSWarner Loshsole mechanism to secure wireless communication. 950c1154eaSWarner LoshWEP is not enabled by default. 960c1154eaSWarner Losh.Sh HARDWARE 970c1154eaSWarner LoshThe following devices are known to be supported by the 980c1154eaSWarner Losh.Nm 990c1154eaSWarner Loshdriver: 1000c1154eaSWarner Losh.Pp 1010c1154eaSWarner Losh.Bl -column -compact ".Li Atlantis Land A02-PCM-W54" "Bus" 1020c1154eaSWarner Losh.It Em Card Ta Em Bus 1030c1154eaSWarner Losh.It Li "3COM 3CRUSB10075" Ta USB 1040c1154eaSWarner Losh.It Li "Acer WLAN-G-US1" Ta USB 1050c1154eaSWarner Losh.It Li "Airlink+ AWLL3025" Ta USB 1060c1154eaSWarner Losh.It Li "Airlink 101 AWLL3026" Ta USB 1070c1154eaSWarner Losh.It Li "AOpen 802.11g WL54" Ta USB 1080c1154eaSWarner Losh.It Li "Asus A9T integrated wirless" Ta USB 1090c1154eaSWarner Losh.It Li "Asus WL-159g" Ta USB 1100c1154eaSWarner Losh.It Li "Belkin F5D7050 v.4000" Ta USB 1110c1154eaSWarner Losh.It Li "Billion BiPAC 3011G" Ta USB 1120c1154eaSWarner Losh.It Li "Buffalo WLI-U2-KG54L" Ta USB 1130c1154eaSWarner Losh.It Li "CC&C WL-2203B" Ta USB 1140c1154eaSWarner Losh.It Li "DrayTek Vigor 550" Ta USB 1150c1154eaSWarner Losh.It Li "Edimax EW-7317UG" Ta USB 1160c1154eaSWarner Losh.It Li "Edimax EW-7317LDG" Ta USB 1170c1154eaSWarner Losh.It Li "Fiberline Networks WL-43OU" Ta USB 1180c1154eaSWarner Losh.It Li "iNexQ UR055g" Ta USB 1190c1154eaSWarner Losh.It Li "Linksys WUSBF54G" Ta USB 1200c1154eaSWarner Losh.It Li "Longshine LCS-8131G3" Ta USB 1210c1154eaSWarner Losh.It Li "MSI US54SE" Ta USB 1220c1154eaSWarner Losh.It Li "Philips SNU5600" Ta USB 1230c1154eaSWarner Losh.It Li "Planet WL-U356" Ta USB 1240c1154eaSWarner Losh.It Li "Planex GW-US54GZ" Ta USB 1250c1154eaSWarner Losh.It Li "Planex GW-US54GZL" Ta USB 1260c1154eaSWarner Losh.It Li "Planex GW-US54Mini" Ta USB 1270c1154eaSWarner Losh.It Li "Safecom SWMULZ-5400" Ta USB 1280c1154eaSWarner Losh.It Li "Sagem XG 760A" Ta USB 1290c1154eaSWarner Losh.It Li "Sagem XG 76NA" Ta USB 1300c1154eaSWarner Losh.It Li "Sandberg Wireless G54 USB" Ta USB 1310c1154eaSWarner Losh.It Li "Sitecom WL-113" Ta USB 1320c1154eaSWarner Losh.It Li "SMC SMCWUSB-G" Ta USB 1330c1154eaSWarner Losh.It Li "Sweex wireless USB 54 Mbps" Ta USB 1340c1154eaSWarner Losh.It Li "Tekram/Siemens USB adapter" Ta USB 1350c1154eaSWarner Losh.It Li "Telegent TG54USB" Ta USB 1360c1154eaSWarner Losh.It Li "Trendnet TEW-424UB" Ta USB 1370c1154eaSWarner Losh.It Li "Trendnet TEW-429UB" Ta USB 1380c1154eaSWarner Losh.It Li "TwinMOS G240" Ta USB 1390c1154eaSWarner Losh.It Li "Unicorn WL-54G" Ta USB 1400c1154eaSWarner Losh.It Li "US Robotics 5423" Ta USB 1410c1154eaSWarner Losh.It Li "X-Micro XWL-11GUZX" Ta USB 1420c1154eaSWarner Losh.It Li "Yakumo QuickWLAN USB" Ta USB 1430c1154eaSWarner Losh.It Li "Zonet ZEW2501" Ta USB 1440c1154eaSWarner Losh.It Li "ZyXEL ZyAIR G-220" Ta USB 1450c1154eaSWarner Losh.El 1460c1154eaSWarner Losh.Sh EXAMPLES 1470c1154eaSWarner LoshJoin an existing BSS network (i.e., connect to an access point): 1480c1154eaSWarner Losh.Pp 1490c1154eaSWarner Losh.Dl "ifconfig zyd0 inet 192.168.0.20 netmask 0xffffff00" 1500c1154eaSWarner Losh.Pp 1510c1154eaSWarner LoshJoin a specific BSS network with network name 1520c1154eaSWarner Losh.Dq Li my_net : 1530c1154eaSWarner Losh.Pp 1540c1154eaSWarner Losh.Dl "ifconfig zyd0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net" 1550c1154eaSWarner Losh.Pp 1560c1154eaSWarner LoshJoin a specific BSS network with 40-bit WEP encryption: 1570c1154eaSWarner Losh.Bd -literal -offset indent 1580c1154eaSWarner Loshifconfig zyd0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e 1590c1154eaSWarner Losh wepmode on wepkey 0x1234567890 weptxkey 1 1600c1154eaSWarner Losh.Ed 1610c1154eaSWarner Losh.Pp 1620c1154eaSWarner LoshJoin a specific BSS network with 104-bit WEP encryption: 1630c1154eaSWarner Losh.Bd -literal -offset indent 1640c1154eaSWarner Loshifconfig zyd0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e 1650c1154eaSWarner Losh wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 1660c1154eaSWarner Losh.Ed 1670c1154eaSWarner Losh.Sh DIAGNOSTICS 1680c1154eaSWarner Losh.Bl -diag 1690c1154eaSWarner Losh.It "zyd%d: could not load firmware (error=%d)" 1700c1154eaSWarner LoshAn error occurred while attempting to upload the firmware to the onboard 1710c1154eaSWarner Loshmicrocontroller unit. 1720c1154eaSWarner Losh.It "zyd%d: could not send command (error=%s)" 1730c1154eaSWarner LoshAn attempt to send a command to the firmware failed. 1740c1154eaSWarner Losh.It "zyd%d: sorry, radio %s is not supported yet" 1750c1154eaSWarner LoshSupport for the specified radio chip is not yet implemented in the driver. 1760c1154eaSWarner LoshThe device will not attach. 1770c1154eaSWarner Losh.It "zyd%d: device version mismatch: 0x%x (only >= 43.30 supported)" 1780c1154eaSWarner LoshEarly revisions of the ZD1211 chipset are not supported by this driver. 1790c1154eaSWarner LoshThe device will not attach. 1800c1154eaSWarner Losh.It "zyd%d: device timeout" 1810c1154eaSWarner LoshA frame dispatched to the hardware for transmission did not complete in time. 1820c1154eaSWarner LoshThe driver will reset the hardware. 1830c1154eaSWarner LoshThis should not happen. 1840c1154eaSWarner Losh.El 1850c1154eaSWarner Losh.Sh SEE ALSO 1860c1154eaSWarner Losh.Xr arp 4 , 1870c1154eaSWarner Losh.Xr intro 4 , 1880c1154eaSWarner Losh.Xr netintro 4 , 1890c1154eaSWarner Losh.Xr usb 4 , 1900c1154eaSWarner Losh.Xr wlan 4 , 1910c1154eaSWarner Losh.Xr wlan_amrr 4 , 1920c1154eaSWarner Losh.Xr ifconfig 8 1930c1154eaSWarner Losh.Sh AUTHORS 1940c1154eaSWarner Losh.An -nosplit 1950c1154eaSWarner LoshThe 1960c1154eaSWarner Losh.Nm 1970c1154eaSWarner Loshdriver was written by 1980c1154eaSWarner Losh.An Florian Stoehr Aq ich@florian-stoehr.de , 1990c1154eaSWarner Losh.An Damien Bergamini Aq damien@openbsd.org , 2000c1154eaSWarner Loshand 2010c1154eaSWarner Losh.An Jonathan Gray Aq jsg@openbsd.org . 2020c1154eaSWarner Losh.Sh CAVEATS 2030c1154eaSWarner LoshThe 2040c1154eaSWarner Losh.Nm 2050c1154eaSWarner Loshdriver does not support a lot of the functionality available in the hardware. 2060c1154eaSWarner LoshMore work is required to properly support the IBSS and power management 2070c1154eaSWarner Loshfeatures. 2080c1154eaSWarner Losh.\" $OpenBSD: zyd.4,v 1.22 2007/05/24 02:49:57 cnst Exp $ 2090c1154eaSWarner Losh.\" $NetBSD: zyd.4,v 1.1 2007/06/09 11:20:55 kiyohara Exp $ 2100c1154eaSWarner Losh.\" 2110c1154eaSWarner Losh.\" Copyright (c) 1997, 1998, 1999 2120c1154eaSWarner Losh.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 2130c1154eaSWarner Losh.\" 2140c1154eaSWarner Losh.\" Redistribution and use in source and binary forms, with or without 2150c1154eaSWarner Losh.\" modification, are permitted provided that the following conditions 2160c1154eaSWarner Losh.\" are met: 2170c1154eaSWarner Losh.\" 1. Redistributions of source code must retain the above copyright 2180c1154eaSWarner Losh.\" notice, this list of conditions and the following disclaimer. 2190c1154eaSWarner Losh.\" 2. Redistributions in binary form must reproduce the above copyright 2200c1154eaSWarner Losh.\" notice, this list of conditions and the following disclaimer in the 2210c1154eaSWarner Losh.\" documentation and/or other materials provided with the distribution. 2220c1154eaSWarner Losh.\" 3. All advertising materials mentioning features or use of this software 2230c1154eaSWarner Losh.\" must display the following acknowledgement: 2240c1154eaSWarner Losh.\" This product includes software developed by Bill Paul. 2250c1154eaSWarner Losh.\" 4. Neither the name of the author nor the names of any co-contributors 2260c1154eaSWarner Losh.\" may be used to endorse or promote products derived from this software 2270c1154eaSWarner Losh.\" without specific prior written permission. 2280c1154eaSWarner Losh.\" 2290c1154eaSWarner Losh.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 2300c1154eaSWarner Losh.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2310c1154eaSWarner Losh.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2320c1154eaSWarner Losh.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD 2330c1154eaSWarner Losh.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2340c1154eaSWarner Losh.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2350c1154eaSWarner Losh.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2360c1154eaSWarner Losh.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2370c1154eaSWarner Losh.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2380c1154eaSWarner Losh.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 2390c1154eaSWarner Losh.\" THE POSSIBILITY OF SUCH DAMAGE. 2400c1154eaSWarner Losh.\" 2410c1154eaSWarner Losh.Dd May 28, 2007 2420c1154eaSWarner Losh.Dt ZYD 4 2430c1154eaSWarner Losh.Os 2440c1154eaSWarner Losh.Sh NAME 2450c1154eaSWarner Losh.Nm zyd 2460c1154eaSWarner Losh.Nd ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device 2470c1154eaSWarner Losh.Sh SYNOPSIS 2480c1154eaSWarner Losh.Cd "zyd* at uhub? port ?" 2490c1154eaSWarner Losh.Sh DESCRIPTION 2500c1154eaSWarner LoshThe 2510c1154eaSWarner Losh.Nm 2520c1154eaSWarner Loshdriver provides support for wireless network adapters based around 2530c1154eaSWarner Loshthe ZyDAS ZD1211 and ZD1211B USB chips. 2540c1154eaSWarner Losh.Pp 2550c1154eaSWarner LoshThese are the modes the 2560c1154eaSWarner Losh.Nm 2570c1154eaSWarner Loshdriver can operate in: 2580c1154eaSWarner Losh.Bl -tag -width "IBSS-masterXX" 2590c1154eaSWarner Losh.It BSS mode 2600c1154eaSWarner LoshAlso known as 2610c1154eaSWarner Losh.Em infrastructure 2620c1154eaSWarner Loshmode, this is used when associating with an access point, through 2630c1154eaSWarner Loshwhich all traffic passes. 2640c1154eaSWarner LoshThis mode is the default. 2650c1154eaSWarner Losh.It monitor mode 2660c1154eaSWarner LoshIn this mode the driver is able to receive packets without 2670c1154eaSWarner Loshassociating with an access point. 2680c1154eaSWarner LoshThis disables the internal receive filter and enables the card to 2690c1154eaSWarner Loshcapture packets from networks which it wouldn't normally have access to, 2700c1154eaSWarner Loshor to scan for access points. 2710c1154eaSWarner Losh.El 2720c1154eaSWarner Losh.Pp 2730c1154eaSWarner Losh.Nm 2740c1154eaSWarner Loshsupports software WEP. 2750c1154eaSWarner LoshWired Equivalent Privacy (WEP) is the de facto encryption standard 2760c1154eaSWarner Loshfor wireless networks. 2770c1154eaSWarner LoshIt can be typically configured in one of three modes: 2780c1154eaSWarner Loshno encryption; 40-bit encryption; or 104-bit encryption. 2790c1154eaSWarner LoshUnfortunately, due to serious weaknesses in WEP protocol 2800c1154eaSWarner Loshit is strongly recommended that it not be used as the 2810c1154eaSWarner Loshsole mechanism to secure wireless communication. 2820c1154eaSWarner LoshWEP is not enabled by default. 2830c1154eaSWarner Losh.Sh HARDWARE 2840c1154eaSWarner LoshThe following devices are known to be supported by the 2850c1154eaSWarner Losh.Nm 2860c1154eaSWarner Loshdriver: 2870c1154eaSWarner Losh.Pp 2880c1154eaSWarner Losh.Bl -tag -width Ds -offset indent -compact 2890c1154eaSWarner Losh.It 3COM 3CRUSB10075 2900c1154eaSWarner Losh.It Acer WLAN-G-US1 2910c1154eaSWarner Losh.It Airlink+ AWLL3025 2920c1154eaSWarner Losh.It Airlink 101 AWLL3026 2930c1154eaSWarner Losh.It AOpen 802.11g WL54 2940c1154eaSWarner Losh.It Asus A9T integrated wirless 2950c1154eaSWarner Losh.It Asus WL-159g 2960c1154eaSWarner Losh.It Belkin F5D7050 v.4000 2970c1154eaSWarner Losh.It Billion BiPAC 3011G 2980c1154eaSWarner Losh.It Buffalo WLI-U2-KG54L 2990c1154eaSWarner Losh.It CC&C WL-2203B 3000c1154eaSWarner Losh.It DrayTek Vigor 550 3010c1154eaSWarner Losh.It Edimax EW-7317UG 3020c1154eaSWarner Losh.It Edimax EW-7317LDG 3030c1154eaSWarner Losh.It Fiberline Networks WL-43OU 3040c1154eaSWarner Losh.It iNexQ UR055g 3050c1154eaSWarner Losh.It Linksys WUSBF54G 3060c1154eaSWarner Losh.It Longshine LCS-8131G3 3070c1154eaSWarner Losh.It MSI US54SE 3080c1154eaSWarner Losh.It Philips SNU5600 3090c1154eaSWarner Losh.It Planet WL-U356 3100c1154eaSWarner Losh.It Planex GW-US54GZ 3110c1154eaSWarner Losh.It Planex GW-US54GZL 3120c1154eaSWarner Losh.It Planex GW-US54Mini 3130c1154eaSWarner Losh.It Safecom SWMULZ-5400 3140c1154eaSWarner Losh.It Sagem XG 760A 3150c1154eaSWarner Losh.It Sagem XG 76NA 3160c1154eaSWarner Losh.It Sandberg Wireless G54 USB 3170c1154eaSWarner Losh.It Sitecom WL-113 3180c1154eaSWarner Losh.It SMC SMCWUSB-G 3190c1154eaSWarner Losh.It Sweex wireless USB 54 Mbps 3200c1154eaSWarner Losh.It Tekram/Siemens USB adapter 3210c1154eaSWarner Losh.It Telegent TG54USB 3220c1154eaSWarner Losh.It Trendnet TEW-424UB 3230c1154eaSWarner Losh.It Trendnet TEW-429UB 3240c1154eaSWarner Losh.It TwinMOS G240 3250c1154eaSWarner Losh.It Unicorn WL-54G 3260c1154eaSWarner Losh.It US Robotics 5423 3270c1154eaSWarner Losh.It X-Micro XWL-11GUZX 3280c1154eaSWarner Losh.It Yakumo QuickWLAN USB 3290c1154eaSWarner Losh.It Zonet ZEW2501 3300c1154eaSWarner Losh.It ZyXEL ZyAIR G-220 3310c1154eaSWarner Losh.El 3320c1154eaSWarner Losh.Sh EXAMPLES 3330c1154eaSWarner LoshThe following 3340c1154eaSWarner Loshexamples configures zyd0 to join whatever network is available on boot, 3350c1154eaSWarner Loshusing WEP key 3360c1154eaSWarner Losh.Dq 0x1deadbeef1 , 3370c1154eaSWarner Loshchannel 11: 3380c1154eaSWarner Losh.Bd -literal -offset indent 3390c1154eaSWarner Loshinet 192.168.1.1 netmask 255.255.255.0 wepkey 0x1deadbeef1 channel 11 3400c1154eaSWarner Losh.Ed 3410c1154eaSWarner Losh.Pp 3420c1154eaSWarner LoshConfigure zyd0 for WEP, using hex key 3430c1154eaSWarner Losh.Dq 0x1deadbeef1 : 3440c1154eaSWarner Losh.Bd -literal -offset indent 3450c1154eaSWarner Losh# ifconfig zyd0 wepkey 0x1deadbeef1 3460c1154eaSWarner Losh.Ed 3470c1154eaSWarner Losh.Pp 3480c1154eaSWarner LoshJoin an existing BSS network, 3490c1154eaSWarner Losh.Dq my_net : 3500c1154eaSWarner Losh.Bd -literal -offset indent 3510c1154eaSWarner Losh# ifconfig zyd0 192.168.0.2 netmask 0xffffff00 ssid my_net 3520c1154eaSWarner Losh.Ed 3530c1154eaSWarner Losh.Sh DIAGNOSTICS 3540c1154eaSWarner Losh.Bl -diag 3550c1154eaSWarner Losh.It "zyd%d: could not load firmware (error=%d)" 3560c1154eaSWarner LoshAn error occurred while attempting to upload the firmware to the onboard 3570c1154eaSWarner Loshmicrocontroller unit. 3580c1154eaSWarner Losh.It "zyd%d: could not send command (error=%s)" 3590c1154eaSWarner LoshAn attempt to send a command to the firmware failed. 3600c1154eaSWarner Losh.It "zyd%d: sorry, radio %s is not supported yet" 3610c1154eaSWarner LoshSupport for the specified radio chip is not yet implemented in the driver. 3620c1154eaSWarner LoshThe device will not attach. 3630c1154eaSWarner Losh.It "zyd%d: device version mismatch: 0x%x (only >= 43.30 supported)" 3640c1154eaSWarner LoshEarly revisions of the ZD1211 chipset are not supported by this driver. 3650c1154eaSWarner LoshThe device will not attach. 3660c1154eaSWarner Losh.It "zyd%d: device timeout" 3670c1154eaSWarner LoshA frame dispatched to the hardware for transmission did not complete in time. 3680c1154eaSWarner LoshThe driver will reset the hardware. 3690c1154eaSWarner LoshThis should not happen. 3700c1154eaSWarner Losh.El 3710c1154eaSWarner Losh.Sh SEE ALSO 3720c1154eaSWarner Losh.Xr arp 4 , 3730c1154eaSWarner Losh.Xr intro 4 , 3740c1154eaSWarner Losh.Xr netintro 4 , 3750c1154eaSWarner Losh.Xr usb 4 , 3760c1154eaSWarner Losh.Xr wlan 4 , 3770c1154eaSWarner Losh.Xr wlan_amrr 4 , 3780c1154eaSWarner Losh.Xr ifconfig 8 3790c1154eaSWarner Losh.Sh AUTHORS 3800c1154eaSWarner Losh.An -nosplit 3810c1154eaSWarner LoshThe 3820c1154eaSWarner Losh.Nm 3830c1154eaSWarner Loshdriver was written by 3840c1154eaSWarner Losh.An Florian Stoehr Aq ich@florian-stoehr.de , 3850c1154eaSWarner Losh.An Damien Bergamini Aq damien@openbsd.org , 3860c1154eaSWarner Loshand 3870c1154eaSWarner Losh.An Jonathan Gray Aq jsg@openbsd.org . 3880c1154eaSWarner Losh.Sh CAVEATS 3890c1154eaSWarner LoshThe 3900c1154eaSWarner Losh.Nm 3910c1154eaSWarner Loshdriver does not support a lot of the functionality available in the hardware. 3920c1154eaSWarner LoshMore work is required to properly support the IBSS and power management 3930c1154eaSWarner Loshfeatures. 394