OpenBSD manual page server

Manual Page Search Parameters

ZYD(4) Device Drivers Manual ZYD(4)

zydZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device

zyd* at uhub? port ?

The zyd driver provides support for wireless network adapters based around the ZyDAS ZD1211 and ZD1211B USB chips.

These are the modes the zyd driver can operate in:

BSS mode
Also known as mode, this is used when associating with an access point, through which all traffic passes. This mode is the default.
monitor mode
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.

The zyd 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 zyd driver relies on the software 802.11 stack for both encryption and decryption of data frames.

The zyd driver can be configured at runtime with ifconfig(8) or on boot with hostname.if(5).

The following devices are known to be supported by the zyd driver:

3COM 3CRUSB10075
 
Acer WLAN-G-US1
 
Airlink+ AWLL3025
 
Airlink 101 AWLL3026
 
AOpen 802.11g WL54
 
Asus A9T integrated wireless
 
Asus WL-159g
 
Belkin F5D7050 v.4000
 
Billion BiPAC 3011G
 
Buffalo WLI-U2-KG54L
 
CC&C WL-2203B
 
DrayTek Vigor 550
 
Edimax EW-7317UG
 
Edimax EW-7317LDG
 
Fiberline Networks WL-43OU
 
iNexQ UR055g
 
Linksys WUSBF54G
 
Longshine LCS-8131G3
 
MSI US54SE
 
Philips SNU5600
 
Planet WL-U356
 
Planex GW-US54GD
 
Planex GW-US54GXS
 
Planex GW-US54GZL
 
Planex GW-US54Mini
 
Safecom SWMULZ-5400
 
Sagem XG 760A
 
Sagem XG 76NA
 
Sandberg Wireless G54 USB
 
Sitecom WL-113
 
Sitecom WL-603
 
SMC SMCWUSB-G
 
Sweex wireless USB 54 Mbps
 
Tekram/Siemens USB adapter
 
Telegent TG54USB
 
Trendnet TEW-424UB rev A
 
Trendnet TEW-429UB
 
TwinMOS G240
 
US Robotics 5423
 
X-Micro XWL-11GUZX
 
Yakumo QuickWLAN USB
 
Zonet ZEW2501
 
ZyXEL G-202
 
ZyXEL ZyAIR G-220
 

The adapter needs some firmware files, which are loaded on demand by the driver when a device is attached:

/etc/firmware/zd1211
 
/etc/firmware/zd1211b
 

The following hostname.if(5) example configures zyd0 to join whatever network is available on boot, using WEP key “0x1deadbeef1”, channel 11, obtaining an IP address using DHCP:

dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11

Configure zyd0 to join network “my_net” using WPA with passphrase “my_passphrase”:

# ifconfig zyd0 nwid my_net wpakey my_passphrase

Join an existing BSS network, “my_net”:

# ifconfig zyd0 192.168.0.2 netmask 0xffffff00 nwid my_net

zyd%d: error %d, could not read firmware %s
For some reason, the driver was unable to read the firmware image from the filesystem. The file might be missing or corrupted.
zyd%d: could not load firmware (error=%d)
An error occurred while attempting to upload the firmware to the onboard microcontroller unit.
zyd%d: could not send command (error=%s)
An attempt to send a command to the firmware failed.
zyd%d: sorry, radio %s is not supported yet
Support for the specified radio chip is not yet implemented in the driver. The device will not attach.
zyd%d: device version mismatch: 0x%x (only >= 43.30 supported)
Early revisions of the ZD1211 chipset are not supported by this driver. The device will not attach.
zyd%d: device timeout
A frame dispatched to the hardware for transmission did not complete in time. The driver will reset the hardware. This should not happen.

arp(4), ifmedia(4), intro(4), netintro(4), usb(4), hostname.if(5), ifconfig(8)

The zyd driver was written by Florian Stoehr ⟨ich@florian-stoehr.de⟩, Damien Bergamini ⟨damien@openbsd.org⟩, and Jonathan Gray ⟨jsg@openbsd.org⟩.

The zyd 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.

November 1, 2010 OpenBSD-5.2