|
Size: 6067
Comment:
|
Size: 5080
Comment: De-sudoify, add missing build dependency, install user-supplied firmware in a location not under package management control, formatting, amend for wheezy release.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 9: | Line 9: |
| ath9k_htc is a driver supporting Atheros 802.11n USB chipsets, included in the mainline Linux kernel since version 2.6.35. [[#supported|Supported devices]] are listed at the end of this page. | ath9k_htc is a Linux kernel driver supporting Atheros 802.11n USB chipsets, introduced at Linux 2.6.35. [[#supported|Supported devices]] are listed at the end of this page. |
| Line 13: | Line 13: |
| As for firmware (required for the device to function), there are two options: either download and compile the [[https://github.com/qca/open-ath9k-htc-firmware|open ath9k_htc firmware]] yourself or install the non-free firmware which is a part of the DebianPkg:firmware-atheros package. | Firmware is required for device operation. Two options are available: * download, compile and install [[#fw-free|open ath9k_htc firmware]] ''OR'' * install [[#fw-nonfree|non-free firmware]] (part of the DebianPkg:firmware-atheros package) |
| Line 17: | Line 19: |
| <<Anchor(fw-free>> | |
| Line 19: | Line 22: |
| Install required packages: {{{ sudo apt-get install build-essential cmake git |
1. Install required packages: {{{ $ su # apt-get install build-essential cmake git m4 && exit |
| Line 22: | Line 26: |
| Create temporary directory: {{{ mkdir ~/ath9k_htc-firmware && cd ~/atk9k_htc-firmware |
1. Clone the 1.3 branch: {{{ $ git clone -b 1.3 https://github.com/qca/open-ath9k-htc-firmware.git $ cd open-ath9k-htc-firmware |
| Line 25: | Line 30: |
| Clone the 1.3 branch: {{{ git clone -b 1.3 https://github.com/qca/open-ath9k-htc-firmware.git cd open-ath9k-htc-firmware |
1. Fix [[https://github.com/qca/open-ath9k-htc-firmware/issues/6|issue 6]] which causes the build process to fail: {{{ $ mkdir target_firmware/magpie_fw_dev/build/utility/bin |
| Line 29: | Line 33: |
| Fix [[https://github.com/qca/open-ath9k-htc-firmware/issues/6|issue 6]] which causes the build process to fail: {{{ mkdir target_firmware/magpie_fw_dev/build/utility/bin |
1. Build the toolchain: {{{ $ make toolchain |
| Line 32: | Line 36: |
| Build the toolchain: {{{ make toolchain |
1. Build the firmware: {{{ $ ./build |
| Line 35: | Line 39: |
| Build the firmware: {{{ ./build |
1. Install the firmware: {{{ $ su # mkdir /usr/local/lib/firmware && cp *.fw /usr/local/lib/firmware/ |
| Line 38: | Line 43: |
| Copy the firmware files to /lib/firmware: {{{ sudo cp htc_9271.fw /lib/firmware/ sudo cp htc_7010.fw /lib/firmware/ }}} Remove temporary directory: {{{ rm -rf ~/ath9k_htc-firmware }}} All done! Now you should be able to use your wifi device. == Installation (non-free firmware) == <<Anchor(squeeze)>> === Squeeze === 1. Add the [[Backports|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 }}} 1. Update the list of available packages: {{{ aptitude update }}} 1. Install a Linux 3.2.0 kernel image appropriate for your system, along with the DebianPkg:squeeze-backports/firmware-atheros package. For example: {{{ aptitude -t squeeze-backports install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') firmware-atheros }}} 1. Restart your system and boot with the newly installed Linux kernel. |
|
| Line 68: | Line 46: |
| <<Anchor(wheezy)>> === Wheezy === |
<<Anchor(fw-nonfree>> == Installation (non-free firmware) == |
| Line 72: | Line 50: |
| # Debian Wheezy (testing) deb http://ftp.us.debian.org/debian wheezy main contrib non-free |
# Debian 7.0 "Wheezy" deb http://http.debian.net/debian/ wheezy main contrib non-free |
| Line 76: | Line 54: |
| aptitude update && aptitude install firmware-atheros | # apt-get update && apt-get install firmware-atheros |
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.
Contents
ath9k_htc is a Linux kernel driver supporting Atheros 802.11n USB chipsets, introduced at Linux 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
Firmware is required for device operation. Two options are available:
download, compile and install open ath9k_htc firmware OR
install non-free firmware (part of the firmware-atheros package)
Atheros AR9170-based 802.11 draft-n devices are supported by ar9170usb.
<<Anchor(fw-free>>
Installation (free firmware)
Install required packages:
$ su # apt-get install build-essential cmake git m4 && exit
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 which causes the build process to fail:
$ mkdir target_firmware/magpie_fw_dev/build/utility/bin
Build the toolchain:
$ make toolchain
Build the firmware:
$ ./build
Install the firmware:
$ su # mkdir /usr/local/lib/firmware && cp *.fw /usr/local/lib/firmware/
Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.
Configure your wireless interface as appropriate.
<<Anchor(fw-nonfree>>
Installation (non-free firmware)
Add a "non-free" component to /etc/apt/sources.list, for example:
# Debian 7.0 "Wheezy" deb http://http.debian.net/debian/ wheezy main contrib non-free
Update the list of available packages and install the firmware-atheros package:
# apt-get update && apt-get install firmware-atheros
Connect the device to your system. The ath9k_htc kernel module is automatically loaded for supported devices.
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.
USB: 040D:3801 VIA Technologies, Inc. (Device name unknown) USB: 0411:017F BUFFALO INC. (formerly MelCo., Inc.) Sony UWA-BR100 802.11abgn Wireless Adapter [Atheros AR7010+AR9280] USB: 04CA:4605 Lite-On Technology Corp. (Device name unknown) USB: 057C:8403 AVM GmbH Fritz!WLAN N v2 [Atheros AR9271] USB: 07D1:3A10 D-Link System DWA-126 802.11n Wireless Adapter [Atheros AR9271] USB: 083A:A704 Accton Technology Corp. (Device name unknown) USB: 0846:9018 NetGear, Inc. WNDA3200 802.11abgn Wireless Adapter [Atheros AR7010+AR9280] USB: 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 [Atheros AR9271] USB: 0CF3:1006 Atheros Communications, Inc. TP-Link TL-WN322G v3 / TL-WN422G v2 802.11g [Atheros AR9271] USB: 0CF3:20FF Atheros Communications, Inc. AR7010 (no firmware) USB: 0CF3:7010 Atheros Communications, Inc. (Device name unknown) USB: 0CF3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287] USB: 0CF3:9271 Atheros Communications, Inc. AR9271 802.11n USB: 0CF3:B003 Atheros Communications, Inc. Ubiquiti WiFiStationEXT 802.11n [Atheros AR9271] USB: 13D3:3327 IMC Networks (Device name unknown) USB: 13D3:3328 IMC Networks (Device name unknown) USB: 13D3:3346 IMC Networks (Device name unknown) USB: 13D3:3348 IMC Networks (Device name unknown) USB: 13D3:3349 IMC Networks (Device name unknown) USB: 13D3:3350 IMC Networks (Device name unknown) USB: 1668:1200 Actiontec Electronics, Inc. [hex] 802AIN Wireless N Network Adapter [Atheros AR9170+AR9101]
See Also
ar9170usb - Atheros AR9170 devices
