2546
Comment:
|
← Revision 13 as of 2020-12-31 04:03:45 ⇥
1869
modernise
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
$ su # apt-get install build-essential cmake git m4 texinfo && exit |
$ sudo apt install build-essential cmake git m4 texinfo |
Line 39: | Line 38: |
$ su # cp target_firmware/*.fw /lib/firmware/ && exit |
$ sudo cp target_firmware/*.fw /lib/firmware/ |
Line 47: | Line 45: |
With the new version of NetworkManager (Debian 10 Stretch & Bullseye) [[ath9k_htc]] can't establish connection with any AP. The current workaround is to disable wifi.scan-rand-mac-address by creating a configuration file specific to this usb wireless adapter: {{{ # nano /etc/NetworkManager/conf.d/no_mac_random.conf }}} Type in the following: {{{ [device-wlxa0f3c1187111] match-device=wlxa0f3c1187111 wifi.scan-rand-mac-address=0 }}} wlxa0f3c1187111 should be replaced by the name of your WiFi interface. One can find this out by listing the Network Interfaces {{{ $ ip a }}} Save & exit the created file, then unplug & plug the WiFi adapter. |
This was due to [[https://bugs.debian.org/954861|a bug in wpasupplicant]] which has been fixed in Stretch (2:2.4-1+deb9u6), Buster (2:2.7+git20190128+0c1e29f-6+deb10u2), and Bullseye/unstable (2:2.9.0-12). |
Line 71: | Line 52: |
Line 73: | Line 55: |
* Announcement of prepared binary package: https://ftp-master.debian.org/new/open-ath9k-htc-firmware_1.4.0-81-gf206e56+dfsg-1.html (Via [[https://ftp-master.debian.org/new.html|New package list]]) |
Translation(s): English - Français
Open firmware for ath9k_htc
This page describes how to compile and install open firmware for the ath9k_htc driver on Debian systems.
There's also a binary version prepared for the debian archives in the package firmware-ath9k-htc
Contents
Installation
Install required packages:
$ sudo apt install build-essential cmake git m4 texinfo
Clone the repo:
$ git clone https://github.com/qca/open-ath9k-htc-firmware.git $ cd open-ath9k-htc-firmware
Checkout the latest tagged release:
$ git tag 1.3.1 1.3.2 $ git checkout 1.3.2
Build the toolchain:
$ make toolchain
If the tool chain doesn't build, try checking out master:
$ git checkout master $ make toolchain
Build the firmware:
$ make firmware
Install the firmware:
$ sudo cp target_firmware/*.fw /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.
Fix the "Scan but not Connect" issue (NetworkManager)
This was due to a bug in wpasupplicant which has been fixed in Stretch (2:2.4-1+deb9u6), Buster (2:2.7+git20190128+0c1e29f-6+deb10u2), and Bullseye/unstable (2:2.9.0-12).
See Also
ath9k_htc - Atheros AR9271, AR7010 devices