TP-LINK WN722n(AR9002U/AR9271L) not working

I dont understand why wn722n is not working on pureos… It seems like AR9002U is not supported by pureos. Only lsusb recognize it(Bus 004 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n). ifconfig and iwconfig do not show wifi. On trisquel it works. any ideas? Thanks in advance! Cheers. Lines from dmesg:
[58664.437550] usb 4-1: New USB device found, idVendor=0cf3, idProduct=9271
[58664.437557] usb 4-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[58664.437561] usb 4-1: Product: USB2.0 WLAN
[58664.437566] usb 4-1: Manufacturer: ATHEROS
[58664.437570] usb 4-1: SerialNumber: 12345
[58664.438254] usb 4-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[58664.438593] usb 4-1: firmware: failed to load ath9k_htc/htc_9271-1.4.0.fw (-2)
[58664.438606] usb 4-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2
[58664.438615] usb 4-1: ath9k_htc: Firmware htc_9271.fw requested
[58664.438636] usb 4-1: firmware: failed to load htc_9271.fw (-2)
[58664.438642] usb 4-1: Direct firmware load for htc_9271.fw failed with error -2
[58664.438647] usb 4-1: no suitable firmware found!
[58664.438936] usb 4-1: ath9k_htc: USB layer deinitialized
So thats mean i dont have firmware, is this particular firmware non-free?
If it is on trisquel, thats mean that exists free firmware. I try to compile open ath9k_htc according to this post: https://wiki.debian.org/ath9k_htc/open_firmware but build fails

1 Like

Hi @mofm, nice link in your post, I used it to craft this reply :upside_down_face:
Debian ships package firmware-ath9k-htc in their testing and unstable branch, but it hasn’t made it into PureOS yet.

Try adding to apt sources list the line
deb http://ftp.de.debian.org/debian buster main
then
apt-get update; apt-get install firmware-ath9k-htc
then you may remove debian line from sources list again.

If you don’t have network connectivity inside PureOS, you can download .deb package by hand from:
http://http.us.debian.org/debian/pool/main/o/open-ath9k-htc-firmware/firmware-ath9k-htc_1.4.0-81-gf206e56+dfsg-2_all.deb
copy it to your PureOS instalation and do a
dpkg -i firmware-ath9k-htc_1.4.0-81-gf206e56+dfsg-2_all.deb
This package does not list any dependencies, so dpkg -i is perfectly OK in this case.