lsusb Look for an entry containing "Atheros Communications, Inc." or "TP-Link". Example output:
sudo ip link set wlan0 down sudo iw dev wlan0 set type monitor sudo ip link set wlan0 up sudo iw dev wlan0 info Look for type monitor . Step 4: Test Packet Injection The definitive test for AR9271:
However, a common point of confusion, especially for newcomers to Kali Linux, is the misconception that the AR9271 driver needs to be "installed" manually. In reality, the situation is more nuanced.
iwconfig Look for an interface named wlan0 , wlan1 , wlx... , or similar. If present, the driver has already been loaded. lsmod | grep ath9k_htc You should see output like:
ath9k_htc 45056 0 ath9k_common 32768 1 ath9k_htc ath9k_hw 479232 2 ath9k_htc,ath9k_common If these modules are listed, congratulations – your driver is already installed and active. If your adapter is not detected or the driver does not load automatically, follow this systematic troubleshooting and installation procedure. Scenario A: Missing Firmware The ath9k_htc driver requires firmware to be loaded onto the adapter’s internal microcontroller. Kali Linux includes the firmware package firmware-atheros , but sometimes it is missing or outdated. Solution: sudo apt update sudo apt install firmware-atheros sudo reboot After reboot, check lsusb and iwconfig again. Scenario B: Kernel Module Not Loaded If lsmod | grep ath9k_htc returns nothing, try loading the module manually:
Bus 001 Device 005: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 Wireless Network Adapter If you see ID 0cf3:9271 , your adapter is recognized at the USB level. ip a or