LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2019, 09:31 AM   #1
zang3tsu98
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
how to fix qualcomm atheros QCA6174 on aircrack-ng modem mode.


1at sorry for my bad english.
Since my last 11 days in reserching i guess the problem is the firmware/driver.
let's explain from the beginning,i'm using kali linux and wifi is working well, when i try to scan the nears AP with aircrack
Code:
airodump-ng wlan0mon
no matter how much i wait, there's no ap he founds.
just like i said i think the problem is the firmware/driver setup, can someone please help me with this ? I tried a lot and i don't know what more can i do.
thanks.
here is my informations about the firmware/driver
here you can see the problems (i guess?)
Code:
dmesg|grep 'ath\|firmw'
[ 0.267271] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 10.010700] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 10.275899] bluetooth hci0: firmware: direct-loading firmware qca/rampatch_usb_00000302.bin
[ 10.275913] Bluetooth: hci0: QCA: patch rome 0x302 build 0x138, firmware rome 0x302 build 0x111
[ 10.315196] bluetooth hci0: firmware: direct-loading firmware qca/nvm_usb_00000302.bin
[ 10.364485] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2)
[ 10.364497] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 10.364544] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2)
[ 10.459778] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
[ 10.459796] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[ 10.459801] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 10.461453] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411
[ 10.498595] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/sw_nonctx.bin
[ 10.540981] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[ 10.541238] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 0e26ef70
[ 10.556804] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/sw_ctx.bin
[ 10.665070] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/sw_bundle_init.bin
[ 10.667830] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/sw_method_init.bin
[ 11.118383] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 11.121288] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[ 11.121954] ath10k_pci 0000:02:00.0: htt-ver 3.44 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 11.200147] ath: EEPROM regdomain: 0x6c
[ 11.200147] ath: EEPROM indicates we should expect a direct regpair map
[ 11.200148] ath: Country alpha2 being used: 00
[ 11.200149] ath: Regpair used: 0x6c
[ 11.476944] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/fecs_bl.bin
[ 11.499067] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/fecs_inst.bin
[ 11.499649] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/fecs_data.bin
[ 11.499907] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/fecs_sig.bin
[ 11.513365] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/gpccs_bl.bin
[ 11.524797] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/gpccs_inst.bin
[ 11.525196] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/gpccs_data.bin
[ 11.565993] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/gr/gpccs_sig.bin
[ 11.730663] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/sec2/image.bin
[ 11.732714] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/sec2/desc.bin
[ 11.733024] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/sec2/sig.bin
[ 11.744671] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/acr/ucode_load.bin
[ 11.760491] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/acr/ucode_unload.bin
[ 11.767823] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/acr/bl.bin
[ 11.768950] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/acr/unload_bl.bin
[ 11.785297] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/gp104/nvdec/scrubber.bin
[ 11.790245] Modules linked in: arc4 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media btusb btrtl btbcm btintel ath10k_pci bluetooth ath10k_core snd_hda_codec_hdmi nouveau(+) drbg ansi_cprng snd_hda_codec_realtek ecdh_generic ttm ath intel_rapl snd_hda_codec_generic drm_kms_helper x86_pkg_temp_thermal snd_hda_intel intel_powerclamp coretemp drm snd_hda_codec mac80211 snd_hda_core kvm_intel cfg80211 i2c_algo_bit mei_me snd_hwdep joydev mei snd_pcm iTCO_wdt kvm iTCO_vendor_support acer_wmi snd_timer sg snd idma64 tpm_crb intel_pch_thermal tpm_tis serio_raw hid_multitouch soundcore sparse_keymap tpm_tis_core tpm wmi_bmof mxm_wmi irqbypass rfkill efi_pstore evdev intel_cstate wmi pcspkr intel_uncore efivars intel_rapl_perf pcc_cpufreq rng_core battery video acpi_pad
[ 19.177063] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 19.179972] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[ 19.997930] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 20.000871] ath10k_pci 0000:02:00.0: Unknown eventid: 90118

Code:
lshw -C network
*-network
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 32
serial: 9c:b6:d0:18:ba:fd
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.19.0-kali1-amd64 firmware=WLAN.RM.4.4.1-00051-QCARMSWP-1 ip=192.168.43.216 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:126 memory:93200000-933fffff
*-network
description: Ethernet interface
product: Killer E2400 Gigabit Ethernet Controller
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 10
serial: 10:05:01:4b:50:59
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
resources: irq:19 memory:93400000-9343ffff ioport:3000(size=128)
Code:
modinfo ath10k_pci
filename: /lib/modules/4.19.0-kali1-amd64/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware: ath10k/QCA9377/hw1.0/board.bin
firmware: ath10k/QCA9377/hw1.0/firmware-5.bin
firmware: ath10k/QCA9377/hw1.0/firmware-6.bin
firmware: ath10k/QCA6174/hw3.0/board-2.bin
firmware: ath10k/QCA6174/hw3.0/board.bin
firmware: ath10k/QCA6174/hw3.0/firmware-6.bin
firmware: ath10k/QCA6174/hw3.0/firmware-5.bin
firmware: ath10k/QCA6174/hw3.0/firmware-4.bin
firmware: ath10k/QCA6174/hw2.1/board-2.bin
firmware: ath10k/QCA6174/hw2.1/board.bin
firmware: ath10k/QCA6174/hw2.1/firmware-5.bin
firmware: ath10k/QCA6174/hw2.1/firmware-4.bin
firmware: ath10k/QCA9887/hw1.0/board-2.bin
firmware: ath10k/QCA9887/hw1.0/board.bin
firmware: ath10k/QCA9887/hw1.0/firmware-5.bin
firmware: ath10k/QCA988X/hw2.0/board-2.bin
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/firmware-5.bin
firmware: ath10k/QCA988X/hw2.0/firmware-4.bin
firmware: ath10k/QCA988X/hw2.0/firmware-3.bin
firmware: ath10k/QCA988X/hw2.0/firmware-2.bin
license: Dual BSD/GPL
description: Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices
author: Qualcomm Atheros
alias: pci:v0000168Cd00000050sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000042sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000046sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000056sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000040sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000003Esv*sd*bc*sc*i*
alias: pci:v0000168Cd00000041sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
alias: pci:v00000777d000011ACsv*sd*bc*sc*i*
depends: ath10k_core
intree: Y
name: ath10k_pci
vermagic: 4.19.0-kali1-amd64 SMP mod_unload modversions
parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm: reset_mode:0: auto, 1: warm only (default: 0) (uint)
 
Old 02-22-2019, 08:02 AM   #2
zang3tsu98
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
up, please someone help...
 
Old 12-09-2019, 11:55 AM   #3
AnzoDK
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
Found a possible solution

Hello there - I was speaking with an old friend of mine, and he gave me some instructions on how he fixed it on my computer.

Although I'm not very good at english, so I cant translate it for you, but I can give you the instructions in danish, and hope that google translate will translate it correctly...


Here is the txt he made:
Quote:
ADVARSEL - Denne version af firmwaren er meget ustabil !!!!

Normalt wifi virker ikke når raw_mode er slået til - Slå den fra inden du forsøger
at forbinde til et normalt wifi

Det gøres ved at starte

sudo modprobe -r ath10k_pci
sudo modprobe -r ath10k_core
sudo modprobe ath10k_core rawmode=0 cryptmode=0
sudo modprobe ath10k_pci


Step 1.

Downloadede https://github.com/kvalo/ath10k-firm...4.4.1.c3-00059

OBS GÅ TIL STEP 2 FØRST DA MODULERNE SKAL VÆRE STOPPET FØR VI ERSTATER FILEN
//Det er også en god ide at kopiere den originale fil til firmware-6.bin.orig

og erstatede /lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin med den downloadede fil
Step 2.
Dette tillader raw mode at blive brugt ved at stoppe network-manager med

sudo service network-manager stop

og stoppe ath10k_core og ath10k_pci modulerene med

sudo modprobe -r ath10k_pci
sudo modprobe -r ath10k_core
Step 3.
Derefter genstarter vi ath10k_core med rawmode slået til

sudo modprobe ath10k_core rawmode=1 cryptmode=1
sudo modprobe ath10k_pci

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] MSI GT72 2QD Qualcomm Atheros QCA6174 laitcg Linux - Laptop and Netbook 3 01-11-2016 10:04 PM
Qualcomm Atheros AR8171 Wake on LAN issues dolphs Linux - Networking 13 10-14-2015 09:24 PM
[SOLVED] Installing alx driver for Qualcomm Atheros AR8161 Ethernet Card on RHEL6.5 alpo85 Linux - Networking 1 01-12-2014 03:38 PM
Anyone has luck with Qualcomm Atheros AR5BWB222? red_fire Linux - Wireless Networking 1 11-20-2012 02:32 PM
LXer: Qualcomm buys Atheros - good luck with that LXer Syndicated Linux News 0 01-06-2011 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration