How to configure Atheros AR2524-AQ1C Wireless chip based ZyDAS ZD1211 controller (recycled from HP Wireless printer) for Raspberry Pi

Recently I had scraped a HP Wireless Multi Function Printer C4588 saving Wifi Module found in it. Here is my post on how to make a USB Wireless adapter out of that small Wifi module board and getting it worked for Ubuntu. Luckily Ubuntu/Linux-Mint supported it out of box.

Now I have a real application for it. Planning to connect it to Raspberry Pi to make it wireless. But Raspbian powered Raspberry Pi (Hexxeh image) does not support it out of box. Here is what I did to make it working.

This post is applicable not only for the above mentioned hacked board but also any cheap USB Wifi adapter using this Atheros chip of AR2524-AQ1C.
1. Add “non-free” component to /etc/apt/sources.list entry as shown below.

deb wheezy main contrib non-free

2. Update package repository and install firmware for wifi module. The package name may be firmware-zd1211 in case of Debian 8 Jessie based OS.

# apt-get update && apt-get install zd1211-firmware

3. Install crda and wpasupplicant packages too.

# apt-get install crda wpasupplicant

Here from you may follow Official Raspberry Pi Wifi Setup Page or you may follow following guide.

4. Set safe permission for /etc/network/interfaces since it has Pre-Shared Key (PSK) of your Wifi network.

# chmod 0600 /etc/network/interfaces

5. Generate PSK Hash of your wifi Network with the below shown command and copy the psk value shown below.

# wpa_passphrase <MY-WIFI-SSID> <Wifi-PSK or Password>

6. Edit and ensure that /etc/network/interfaces has following highlighted entries for Wireless adapter. The wpa-psk value should be used from above command output.

auto lo
auto eth0
auto wlan0


iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
wpa-ssid MY-WIFI-SSID
wpa-psk 30cb1bdd93756b1099c62cae246425daf905abd88ce7b1f8ff9f46b4c7d3450c

Wifi module for Raspberry Pi

Wifi module for Raspberry Pi

7. Test the above configuration with “# ifup wlan0” command to ensure that Wireless adapter gets its IP Address from DHCP Server. The “auto wlan0” entry above will ensure that Wifi will come up during startup.


  1. Installing Firmware
  2. Configuring Wifi adapter


Share this post