Translation(s): English - Français - Italiano


Atheros AR9271, AR7010 devices (ath9k_htc)

This page describes how to enable support for WiFi devices based on Atheros AR9271 and AR7010 chipsets on Debian systems.

ath9k_htc is a driver supporting Atheros 802.11n USB chipsets, included in the mainline Linux kernel since version 2.6.35. Supported devices are listed at the end of this page.

AR7010-based devices (e.g. Netgear WNDA3200, TP-Link TL-WN821N v3) operate in USB mass storage mode by default. Since Linux 2.6.39, the driver sends the necessary command to enable wireless LAN operation.1

As for firmware (required for the device to function), there are two options: either download and compile the open ath9k_htc firmware yourself or install the non-free firmware which is a part of the firmware-atheros package.

{i} Atheros AR9170-based 802.11 draft-n devices are supported by ar9170usb.

Installation (free firmware)

Install required packages:

sudo apt-get install build-essential cmake git

Create temporary directory:

mkdir ~/ath9k_htc-firmware && cd ~/atk9k_htc-firmware

Clone the 1.3 branch:

git clone -b 1.3 https://github.com/qca/open-ath9k-htc-firmware.git

cd open-ath9k-htc-firmware

Fix issue 6:

mkdir target_firmware/magpie_fw_dev/build/utility/bin

Build the toolchain:

make toolchain

Build the firmware:

./build

Copy the firmware files to /lib/firmware:

sudo cp htc_9271.fw /lib/firmware/
sudo cp htc_7010.fw /lib/firmware/

All done! Now you should be able to use your wifi device.

Installation (non-free firmware)

Squeeze

  1. Add the Debian Backports repository to /etc/apt/sources.list, also including the "non-free" component. For example:

    # Backported packages for Debian Squeeze/6.0
    deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
  2. Update the list of available packages:

    aptitude update
  3. Install a Linux 3.2.0 kernel image appropriate for your system, along with the squeeze-backports/firmware-atheros package. For example:

    aptitude -t squeeze-backports install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') firmware-atheros
  4. Restart your system and boot with the newly installed Linux kernel.
  5. Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.

  6. Configure your wireless interface as appropriate.

Wheezy

  1. Add a "non-free" component to /etc/apt/sources.list, for example:

    # Debian Wheezy (testing)
    deb http://ftp.us.debian.org/debian wheezy main contrib non-free
  2. Update the list of available packages and install the firmware-atheros package:

    aptitude update && aptitude install firmware-atheros
  3. Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.

  4. Configure your wireless interface as appropriate.

Supported Devices

The page HowToIdentifyADevice/USB explains how to identify a USB device.

The following list is based on the alias fields of modinfo ath9k_htc in Debian 3.2.0 (3.2.41-2) kernel images.

See Also


CategoryHardware | CategoryWireless