Qualcomm Atheros QCA6174 isn't working on Manjaro 19.0

Yeah, as I mentioned, I tried to reinstall linux-firmware and mask tlp, which were suggested by topics in this forum, but nothing really happened

It looks like you have a driver installed, but it's 802.11ac (=WiFi 5). Is your router 802.11ac compatible?

What is the output of:

nmcli device wifi list

@tbg This is more your thing than mine and OP followed some of you posts already.

It outputs literally nothing:

nmcli device wifi test
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY

The problem can be in WiFi router, because it works on 2.4GHz, but is every single routers in the world are running on 2.4GHz, because I can't see any available network during this day (I was in university and still no connections available)

UPD: I just tried to share WiFi from my phone: neither 2.4GHz worked, nor 5.0GHz. Seems like it is a problem with driver

See this thread for many ath10k fixes:

The one stop shop for Atheros wifi fixes.

2 Likes

What's your boot log showing related to your wifi adapter?

It shows nothing

Maybe you should consider to test different, older kernels.

I already tried 5.4 and 5.5 kernels. If I try earlier kernels, my notebook will face a lot more issues than non-working WiFi :slight_smile:

What happens if you try to bring the interface up manually on cli?

How can I do it?

Could you do this first:
"journalctl -b | grep wlp1s0"
I find it odd the interface is listed with inxi and the boot log showing nothing.

Mar 02 20:52:34 hackfeed kernel: ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
Mar 02 20:52:34 hackfeed NetworkManager[781]: <info>  [1583171554.5308] device (wlan0): interface index 3 renamed iface from 'wlan0' to 'wlp1s0'
Mar 02 20:52:34 hackfeed NetworkManager[781]: <info>  [1583171554.5411] device (wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 02 20:52:37 hackfeed NetworkManager[781]: <info>  [1583171557.9199] device (wlp1s0): set-hw-addr: set MAC address to BE:E0:6F:C8:53:AB (scanning)
Mar 02 20:52:44 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:52:44 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:52:44 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:52:48 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:52:48 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:52:48 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:52:48 hackfeed NetworkManager[781]: <error> [1583171568.1687] sup-iface[0x5632b0b29900,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:52:48 hackfeed NetworkManager[781]: <info>  [1583171568.1687] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:52:58 hackfeed NetworkManager[781]: <warn>  [1583171578.0989] device (wlp1s0): re-acquiring supplicant interface (#1).
Mar 02 20:53:01 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:01 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:01 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:05 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:05 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:05 hackfeed NetworkManager[781]: <error> [1583171585.0137] sup-iface[0x5632b0b299f0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:05 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:05 hackfeed NetworkManager[781]: <info>  [1583171585.0137] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:53:15 hackfeed NetworkManager[781]: <warn>  [1583171595.1019] device (wlp1s0): re-acquiring supplicant interface (#2).
Mar 02 20:53:18 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:18 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:18 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:21 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:21 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:21 hackfeed NetworkManager[781]: <error> [1583171601.8665] sup-iface[0x5632b0b29ae0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:21 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:21 hackfeed NetworkManager[781]: <info>  [1583171601.8666] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:53:32 hackfeed NetworkManager[781]: <warn>  [1583171612.0966] device (wlp1s0): re-acquiring supplicant interface (#3).
Mar 02 20:53:35 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Resource temporarily unavailable
Mar 02 20:53:35 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:35 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:38 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:38 hackfeed NetworkManager[781]: <error> [1583171618.9335] sup-iface[0x5632b0b29bd0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:38 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:38 hackfeed NetworkManager[781]: <info>  [1583171618.9336] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:53:38 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:49 hackfeed NetworkManager[781]: <warn>  [1583171629.1031] device (wlp1s0): re-acquiring supplicant interface (#4).
Mar 02 20:53:52 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:52 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:52 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:56 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Resource temporarily unavailable
Mar 02 20:53:56 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:56 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:56 hackfeed NetworkManager[781]: <error> [1583171636.0031] sup-iface[0x5632b0b29cc0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:56 hackfeed NetworkManager[781]: <info>  [1583171636.0031] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:54:06 hackfeed NetworkManager[781]: <warn>  [1583171646.1028] device (wlp1s0): re-acquiring supplicant interface (#5).
Mar 02 20:54:09 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:54:09 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:54:09 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:54:12 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:54:12 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:54:12 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:54:12 hackfeed NetworkManager[781]: <error> [1583171652.8581] sup-iface[0x5632b0b29cc0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:54:12 hackfeed NetworkManager[781]: <info>  [1583171652.8581] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:54:12 hackfeed NetworkManager[781]: <info>  [1583171652.8582] device (wlp1s0): supplicant interface keeps failing,

OK, it seems to show something, though.
Maybe @tbg is able to interpret this, i am not.

The link I posted earlier has almost every fix that I can think of that applies to Atheros adapters. If the OP would methodically work through the suggested fixes and report on the results that would save a ton of duplicated effort.

I would start with the suggestion on that thread to disable MAC address randomization. The fixes already listed there are the most likely to provide a solution. The actual solution listed on that thread is the least likely to work in this users case. All the other suggestions are worth trying.

When the OP has worked through that threads suggestions and provided proper feedback (with terminal outputs) I'd be willing to take another look at this issue. Until then, I can't see wasting time running the same diagnostics all over again that are well documented already on the linked thread.

1 Like

I tried every step from post that you linked there. Nothing works. The problem is that my wifi is on, but I can't see any available network.

dmesg | grep firmware:

[    2.320576] [drm] Found VCN firmware Version ENC: 1.9 DEC: 1 VEP: 0 Revision: 28
[    2.320608] [drm] PSP loading VCN firmware
[    2.395766] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[   15.776016] ath10k_pci 0000:01:00.0: failed to ping firmware: -110
[   56.949179] ath10k_pci 0000:01:00.0: failed to ping firmware: -110
[  111.989198] ath10k_pci 0000:01:00.0: failed to ping firmware: -110

systemctl status NetworkManager shows nothing about my wifi card:

● NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
           └─NetworkManager-ovs.conf
   Active: active (running) since Tue 2020-03-03 15:52:17 MSK; 6min ago
     Docs: man:NetworkManager(8)
 Main PID: 800 (NetworkManager)
    Tasks: 3 (limit: 4915)
   Memory: 16.5M
   CGroup: /system.slice/NetworkManager.service
           └─800 /usr/bin/NetworkManager --no-daemon

Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3325] dhcp4 (enp3s0f4u2): option subnet_mask          => '255.255.255.0'
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3325] dhcp4 (enp3s0f4u2): state changed unknown -> bound
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3356] device (enp3s0f4u2): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3551] device (enp3s0f4u2): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3555] device (enp3s0f4u2): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3562] manager: NetworkManager state is now CONNECTED_LOCAL
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3576] manager: NetworkManager state is now CONNECTED_SITE
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3578] policy: set 'Wired connection 1' (enp3s0f4u2) as default for IPv4 routing and DNS
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3628] device (enp3s0f4u2): Activation: successful, device activated.
Mar 03 15:54:09 hackfeed NetworkManager[800]: <info>  [1583240049.0805] manager: NetworkManager state is now CONNECTED_GLOBAL

Please post:

cat /etc/default/grub | grep CMDLINE

I would suggest testing alternate network manager such as:

https://aur.archlinux.org/packages/networkmanager-iwd/

GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor resume=UUID=6032e900-6c4a-491e-835d-0650e900a94c udev.log_priority=3 acpi_backlight=vendor"
GRUB_CMDLINE_LINUX=""

I do not see the grub boot parameter:

pcie_aspm=off

The above parameter often helps with this adapter as mentioned on the thread I linked.


Run either of the following commands to refresh your IP address:

If you are running dhcpd as your dhcp client you can run this command:

dhcpcd -k $(hwinfo --netcard | grep "Device File" | cut -d " " -f5) && dhcpcd $(hwinfo --netcard | grep "Device File" | cut -d " " -f5)

If you are running dhclient you can run this command:

sudo /sbin/dhclient -v -r  $(hwinfo --netcard | grep "Device File" | cut -d " " -f5) && sudo dhclient -v -1 $(hwinfo --netcard | grep "Device File" | cut -d " " -f5) 

If you don't know which client you are using then the first command is most likely the one you want to use. Running either command should be fine as it should have no effect if the service is not being used.

Test your connectivity after running the commands.

Forum kindly sponsored by