I've been the past month trying to make aircrack-ng work with my main computer, which has a Qualcomm Atheros QCA6174 chipset. The wireless works fine on the ath10k drivers (that I had to install manually), and I know my network card supports monitor mode and injection(fonts:
https://www.aircrack-ng.org/doku.php?id=compatibility_drivers see Chipset section, besides, I can use
nmap -sP
to see all the devices connected to my network).
The problem is evident when i use
airmon-ng start wlan0
and
airodump-ng wlan0mon
next, but airodump-ng does not detects any AP's. Killing processes like network-manager, wpa_supplicant and dhclient does not affect this output at all (neither with
service stop <process>
nor with
airmon-ng check kill
or
killall <process>
.
My main lead is this output of
dmesg | grep -i ath10k
:
[ 11.772460] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[glow=red,2,300][ 12.090548] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2)
[ 12.090745] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 12.090795] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2)
[ 12.090985] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2[/glow]
[ 12.101282] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-5.bin
[ 12.101297] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1028:0310
[ 12.101302] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 12.103646] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.2.0-00088-QCARMSWPZ-1 api 5 features ignore-otp crc32 4dcf5871
[ 12.729288] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[ 12.730343] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 6fc88fe7
[ 15.020077] ath10k_pci 0000:02:00.0: htt-ver 3.14 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
because I think the failures can be related. Some other outputs that might be interesting:
$airmon-ng start wlan0
Found 3 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'
PID Name
652 NetworkManager
858 wpa_supplicant
6252 dhclient
PHY Interface Driver Chipset
phy0 wlan0 ath10k_pci Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
(mac80211 station mode vif disabled for [phy0]wlan0)
-------------
$aireplay -9 wlan0mon
18:47:12 Trying broadcast probe requests...
18:47:14 No Answer...
18:47:14 Found 0 APs