Wifi often loses connection

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Wifi often loses connection

Post by ronanb96 » Sat Oct 05, 2019 10:27 am

My laptop seems to randomly lose connection to my router. the icon says I'm still connected but I can't ping the router or load anything. Restarting the Networkmanager gets it back but the issue might pop up again within a minute or 20 minutes

I have tried watching the output of dmesg and journalctl to see if anything could point me to the problem but didn't notice anything.
I've also tried disabling power manager on the wifi
I don't seem to have the issue when using the hotspot on my phone. The router is a Virgin Media Hub 3.0

When I first installed mint I did need to try a few things to get it to work in the first place, I believe I had to downloaded Atheros drivers and blacklisted the module

Ran wireless-info and attached the compressed file
Attachments
wireless-info_txt.tar.gz
(7.5 KiB) Downloaded 17 times

User avatar
Spearmint2
Level 16
Level 16
Posts: 6876
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Wifi often loses connection

Post by Spearmint2 » Sat Oct 05, 2019 11:12 am

it all looks good to me. Maybe some of the blacklists have an effect on it? Try it with bluetooth disabled (see control center (MATE) or whatever it's called in Cinn, and the bluetooth area). Try connection at 2.4GHz instead of 5. Also, does the same happen when connected instead by ethernent?
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Sat Oct 05, 2019 2:38 pm

I ran the wireless info when the issue came up, attached is the diff. nothing jumped out at me in the diff.

I also tried commenting out the two blacklists I believe I added (ath_pci and ideapad_laptop) and rebooted and the issue still arose

I had a look at some wireshark logs and see a lot of ARP request coming from the router. When the wifi is working, I see a response, when its not working I don't see a response. I also can seem some mDNS and SSDP activity so I am still on the network. I not too familiar with ARP so I'm not sure if the frequent ARP requests are normal

regarding your suggestions, I haven't tried ethernet yet and I didn't see a nice way of configuring my laptop just to use 2.4GHz. The access point runs the two frequency bands under one SSID. And it does happen with bluetooth disabled
Attachments
wireless_info_diff.htm.tar.gz
(31.49 KiB) Downloaded 9 times
arp_response.png
arp_no_response.png

User avatar
Spearmint2
Level 16
Level 16
Posts: 6876
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Wifi often loses connection

Post by Spearmint2 » Sat Oct 05, 2019 2:47 pm

ARP = Address Resolution Protocol.

https://www.lifewire.com/address-resolu ... col-817941

https://community.spiceworks.com/topic/ ... r-switches

Let's run some commands for information gathering.

Code: Select all

inxi -Fzx 
case sensitive. Should also show the wifi device and driver/mod used.

Code: Select all

iwconfig
wireless

Code: Select all

ifconfig
ethernet

I'm thinking a lack of proper communication between router and wifi device. It could be wrong driver, weak signal, or a failing wifi device.

I'll be back later, have to go somewhere now.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Sat Oct 05, 2019 2:56 pm

Code: Select all

ronan@ronan-Lenovo:~$ inxi -Fzx 
System:    Host: ronan-Lenovo Kernel: 4.15.0-65-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.0.10 
           Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: LENOVO product: 80YY v: Lenovo Y520-15IKBM serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: 5XCN26WW date: 12/20/2018 
Battery:   ID-1: BAT0 charge: 38.8 Wh condition: 43.1/45.0 Wh (96%) model: SMP L16M3P24 status: Charging 
CPU:       Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake rev: 9 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44928 
           Speed: 2783 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 2797 2: 2777 3: 2791 4: 2782 5: 2768 6: 2744 7: 2797 
           8: 2789 
Graphics:  Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] vendor: Lenovo driver: nvidia v: 430.26 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa tty: N/A 
           OpenGL: renderer: GeForce GTX 1060 with Max-Q Design/PCIe/SSE2 v: 4.6.0 NVIDIA 430.26 direct render: Yes 
Audio:     Device-1: Intel CM238 HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Device-2: NVIDIA GP106 High Definition Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Sound Server: ALSA v: k4.15.0-65-generic 
Network:   Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lenovo driver: ath10k_pci v: kernel 
           port: 4000 bus ID: 02:00.0 
           IF: wlp2s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: 2.3LK-NAPI 
           port: 3000 bus ID: 03:00.0 
           IF: enp3s0 state: down mac: <filter> 
           Device-3: Atheros type: USB driver: btusb bus ID: 1-11:3 
Drives:    Local Storage: total: 1.14 TiB used: 101.12 GiB (8.6%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLW256HEHP-000L2 size: 238.47 GiB 
           ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-24Z10 size: 931.51 GiB 
Partition: ID-1: / size: 36.42 GiB used: 20.35 GiB (55.9%) fs: ext4 dev: /dev/nvme0n1p5 
           ID-2: /home size: 62.23 GiB used: 38.47 GiB (61.8%) fs: ext4 dev: /dev/nvme0n1p7 
           ID-3: swap-1 size: 7.45 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p6 
Sensors:   System Temperatures: cpu: 45.5 C mobo: N/A gpu: nvidia temp: 34 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 289 Uptime: 53m Memory: 15.56 GiB used: 3.81 GiB (24.5%) Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 
           Shell: bash v: 4.4.20 inxi: 3.0.27 

Code: Select all

ronan@ronan-Lenovo:~$ iwconfig
enp3s0    no wireless extensions.

lo        no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"VM1C399AF"  
          Mode:Managed  Frequency:5.22 GHz  Access Point: 54:67:51:4B:78:5C   
          Bit Rate=6 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-39 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:256   Missed beacon:0

Code: Select all

ronan@ronan-Lenovo:~$ ifconfig
enp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether e8:6a:64:0b:da:3e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3840  bytes 353409 (353.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3840  bytes 353409 (353.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.24  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::5e58:9bbc:9c0b:f20d  prefixlen 64  scopeid 0x20<link>
        ether 00:f4:8d:bf:51:5b  txqueuelen 1000  (Ethernet)
        RX packets 53863  bytes 41687439 (41.6 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 23739  bytes 5742845 (5.7 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

User avatar
Spearmint2
Level 16
Level 16
Posts: 6876
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Wifi often loses connection

Post by Spearmint2 » Sat Oct 05, 2019 8:00 pm

I don't see anything wrong with the system, the way it's set up. You even have a strong signal, no dropped packets, and a valid IP address from the router.
inet 192.168.0.24 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::5e58:9bbc:9c0b:f20d prefixlen 64 scopeid 0x20

This wireless works OK in windows? I would think either there's some intermittent problem with the wifi device, the router, or other interference. Are there other wifi users in the house? I know I had one daughter losing connections when her sister with newer laptop was in living room, because it was almost killing her reception. I had to increase the router's signal strength, I'd turned it down in past to not extend to far past house walls. I also had the stronger laptop signal reduced in strength, which solved that dilemna.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Wed Oct 16, 2019 2:15 pm

Sorry about the delay, got caught up in other things, no other devices in the house seem to have this problem and because I don't seem to have this problem using a hotspot from my phone, I thinking its something to do with my laptop having an issue with my router or vice versa.

About windows, sadly windows doesn't work on my laptop at the moment, an issue with windows needing one SATA driver and Linux needing another. Windows would always try to repair itself when I swapped the driver back but one time it didn't work. But anyway thats a question for a different forum post.

Back on point, I would've rarely used windows on this laptop as I prefer Linux but I don't remember seeing this issue the few times I used it

User avatar
kelebek333
Level 3
Level 3
Posts: 181
Joined: Sat Jun 25, 2011 11:57 am

Re: Wifi often loses connection

Post by kelebek333 » Wed Oct 16, 2019 2:44 pm

Can you try to run following commands by order.

Code: Select all

sudo rmmod ath10k_pci

Code: Select all

sudo rmmod ath10k_core

Code: Select all

sudo modprobe ath10k_core cryptmode=1

Code: Select all

sudo modprobe ath10k_pci

Code: Select all

sudo service network-manager restart
Above commands work temporarily until restart your PC. If the problem is solved in this way, permanent solution can be provided with a configuration file.

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Wed Oct 16, 2019 4:23 pm

Didn't have any luck with those commands, wifi wouldn't come back up after modprobe, see below dmesg

Code: Select all

[    5.066420] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    5.357815] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[    5.357821] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[    5.360627] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[    5.360628] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    5.361026] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[    5.426428] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 779b5150
[    5.978819] ath10k_pci 0000:02:00.0: Unknown eventid: 3
[    5.994455] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[    5.997452] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[    5.998033] ath10k_pci 0000:02:00.0: htt-ver 3.60 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    6.087115] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[    7.206193] ath10k_pci 0000:02:00.0: Unknown eventid: 3
[    7.221694] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[    7.224778] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[   61.135777] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   61.410521] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[   61.410527] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   61.410710] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[   61.410712] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   61.411193] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[   61.476240] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 779b5150
[   61.476241] ath10k_pci 0000:02:00.0: cryptmode > 0 requires raw mode support from firmware
[   61.476243] ath10k_pci 0000:02:00.0: fatal problem with firmware features: -22
[   61.476264] ath10k_pci 0000:02:00.0: could not probe fw (-22)
I tried changing to the latest firmware firmware on https://github.com/kvalo/ath10k-firmware
I tried using your commands before and after the upgrade with no success.

Also I did see this within the dmesg once but not sure if it was the wifi issue as I didn't see it everytime it happens

Code: Select all

[  765.753599] WARNING: CPU: 2 PID: 0 at /build/linux-IWbocJ/linux-4.15.0/net/core/dev.c:5674 net_rx_action+0x2cb/0x3a0
[  765.753603] Modules linked in: ccm rfcomm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) arc4 bnep snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp nvidia_uvm(OE) kvm_intel kvm irqbypass nvidia_drm(POE) crct10dif_pclmul nvidia_modeset(POE) crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper nvidia(POE) cryptd intel_cstate wmi_bmof snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec nls_iso8859_1 snd_hda_core snd_hwdep snd_pcm btusb snd_seq_midi snd_seq_midi_event uvcvideo btrtl btbcm ath10k_pci btintel videobuf2_vmalloc snd_rawmidi bluetooth snd_seq videobuf2_memops ath10k_core videobuf2_v4l2 videobuf2_core ath ecdh_generic joydev videodev snd_seq_device intel_rapl_perf input_leds mac80211 media snd_timer
[  765.753686]  serio_raw snd ipmi_devintf cfg80211 ipmi_msghandler soundcore mei_me mei shpchp intel_pch_thermal ideapad_laptop sparse_keymap wmi mac_hid acpi_pad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq dm_mirror dm_region_hash dm_log i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm nvme r8169 nvme_core ahci mii libahci video
[  765.753744] CPU: 2 PID: 0 Comm: swapper/2 Tainted: P           OE    4.15.0-65-generic #74-Ubuntu
[  765.753746] Hardware name: LENOVO 80YY/LNVNB161216, BIOS 5XCN26WW 12/20/2018
[  765.753752] RIP: 0010:net_rx_action+0x2cb/0x3a0
[  765.753755] RSP: 0018:ffff986c7ec83ec8 EFLAGS: 00010297
[  765.753758] RAX: 000000000000007a RBX: 0000000000000040 RCX: 0000000000000000
[  765.753761] RDX: 0000000000000002 RSI: 00000000fffffe01 RDI: ffffffffc0a757d0
[  765.753763] RBP: ffff986c7ec83f38 R08: 0000000000000002 R09: ffff986c7ec80000
[  765.753765] R10: 000000000000664e R11: 0000000000000001 R12: 0000000000000000
[  765.753767] R13: 00000000ffffffff R14: 0000000000000003 R15: ffff986c695f7b60
[  765.753770] FS:  0000000000000000(0000) GS:ffff986c7ec80000(0000) knlGS:0000000000000000
[  765.753772] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  765.753774] CR2: 00007fcb66915000 CR3: 000000033fa0a002 CR4: 00000000003606e0
[  765.753776] Call Trace:
[  765.753779]  <IRQ>
[  765.753790]  __do_softirq+0xe4/0x2d4
[  765.753798]  irq_exit+0xc5/0xd0
[  765.753803]  do_IRQ+0x86/0xe0
[  765.753808]  common_interrupt+0x8c/0x8c
[  765.753810]  </IRQ>
[  765.753816] RIP: 0010:cpuidle_enter_state+0xa7/0x2f0
[  765.753819] RSP: 0018:ffffa3ee01957e68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdb
[  765.753823] RAX: ffff986c7eca2840 RBX: 000000b24a6c2696 RCX: 000000000000001f
[  765.753824] RDX: 000000b24a6c2696 RSI: fffffffe404a9390 RDI: 0000000000000000
[  765.753826] RBP: ffffa3ee01957ea8 R08: 0000000000000002 R09: 0000000000022080
[  765.753828] R10: ffffa3ee01957e38 R11: 000001f98ad83cb6 R12: ffff986c7ecacb00
[  765.753830] R13: 0000000000000008 R14: ffffffffadb73538 R15: 0000000000000000
[  765.753837]  ? cpuidle_enter_state+0x97/0x2f0
[  765.753842]  cpuidle_enter+0x17/0x20
[  765.753848]  call_cpuidle+0x23/0x40
[  765.753854]  do_idle+0x18c/0x1f0
[  765.753859]  cpu_startup_entry+0x73/0x80
[  765.753865]  start_secondary+0x1ab/0x200
[  765.753870]  secondary_startup_64+0xa5/0xb0
[  765.753874] Code: 24 08 49 83 c4 18 89 d9 44 89 f2 4c 89 fe e8 bd 6e 39 00 4d 8b 14 24 4d 85 d2 75 e1 4c 8b 65 90 44 89 f0 39 c3 0f 8d 85 fe ff ff <0f> 0b 39 c3 0f 8f 83 fe ff ff 49 8b 47 10 a8 04 75 74 49 83 7f 
[  765.753949] ---[ end trace bfcdeee68cd7edbc ]---



Lastly it seems a sudo apt upgrade(no wifi related upgrades) or git clone triggers the issues more often than just web browsing

User avatar
Spearmint2
Level 16
Level 16
Posts: 6876
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Wifi often loses connection

Post by Spearmint2 » Wed Oct 16, 2019 10:09 pm

When a wifi device causes too much trouble, rather than taking hours or days to track it down, I just toss on a USB Panda that works OOTB with Linux, and move on to happier times.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
absque fenestris
Level 6
Level 6
Posts: 1260
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: Wifi often loses connection

Post by absque fenestris » Wed Oct 16, 2019 10:21 pm

By the way: Since last Monday I can only reach the Mint-Forums via Opera with VPN - switched on somewhere in the Americas... Firefox and Vivaldi are unusable.
Linux Mint 18.3 Sylvia (Mate) 32-bit - Acer D250 Netbook (Intel Atom N270, 2 GB RAM, 120 GB SSD)
Linux Mint 17.3 Rosa (Mate) 64-bit - MacBook Pro 15" (Intel Core2 Duo, 8 GB RAM, 240 GB SSD) - with some separation difficulties...

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Thu Oct 17, 2019 2:50 am

I don't think my issue relates your vpn issue but thanks for the info

From my googling Ive seen many post about atheros WiFi modems causing issues so I think I will try replacing the WiFi card. I would like to keep all of my precious USB ports free for other things.

Do you have any recommendations for a WiFi card that works well with Linux?

User avatar
Pjotr
Level 21
Level 21
Posts: 13734
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wifi often loses connection

Post by Pjotr » Thu Oct 17, 2019 4:43 am

First try this:
Update Manager - panel: View - Linux kernels
Install the latest kernel of the 5.0 series. Then reboot and test.

With a bit of luck that kernel contains a newer Atheros driver that performs better.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Thu Oct 17, 2019 3:13 pm

Upgraded to the latest kernel still no luck. I have a different error in dmesg now though

Code: Select all

[    4.514563] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    4.796591] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[    4.796593] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    4.796983] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[    4.862459] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 779b5150
[    4.939243] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
[    4.959028] ath10k_pci 0000:02:00.0: htt-ver 3.60 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    5.082997] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[    5.681471] ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536

User avatar
Spearmint2
Level 16
Level 16
Posts: 6876
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Wifi often loses connection

Post by Spearmint2 » Thu Oct 17, 2019 3:38 pm

Code: Select all

 cryptmode > 0 requires raw mode support from firmware
[   61.476243] ath10k_pci 0000:02:00.0: fatal problem with firmware features: -22
[   61.476264] ath10k_pci 0000:02:00.0: could not probe fw (-22)

[    5.357815] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[    5.357821] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2

[    6.087115] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0

[   61.410521] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[   61.410527] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2


[   61.476241] ath10k_pci 0000:02:00.0: cryptmode > 0 requires raw mode support from firmware
[   61.476243] ath10k_pci 0000:02:00.0: fatal problem with firmware features: -22
[   61.476264] ath10k_pci 0000:02:00.0: could not probe fw (-22)

WARNING: CPU: 2 PID: 0 at /build/linux-IWbocJ/linux-4.15.0/net/core/dev.c:5674 net_rx_action+0x2cb/0x3a0
[  765.753603] Modules linked in: ccm rfcomm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) 
Why are you using wifi while ethernet is plugged in too?
Is this wifi being used in VirtualBox?
Your system is encrypted? Or using a VPN?
I get the impression the firmware on the router needs an upgrade.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Thu Oct 17, 2019 4:15 pm

I have another wifi card on the way which is not qualcomm based
and to answer your questions
- Ethernet isn't plugged in
- This is not in a virtual box
- I'm not using a VPN and have not done anything to add any extra encryption
- The Virgin media router has limited options, I can check the firmware version but can't find anywhere to tell it to upgrade.

I hope the new card will fix my problems but will try any suggestions anyone has in the meantime

User avatar
kelebek333
Level 3
Level 3
Posts: 181
Joined: Sat Jun 25, 2011 11:57 am

Re: Wifi often loses connection

Post by kelebek333 » Thu Oct 17, 2019 4:34 pm

https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Wireless wrote:Update: Internet connection dropped even with the firmware from the above fix. Using the newer firmware firmware-6.bin_WLAN.RM.4.4.1-00102-QCARMSWP-1 by downloading that file from https://github.com/kvalo/ath10k-firmwar ... QCARMSWP-1, copying it to /usr/lib/firmware/ath10k/QCA6174/hw3.0/ and renaming it to firmware-6.bin fixes this. Reboot and verify that this newer firmware is used by verifying that dmesg | grep ath outputs:

ath10k_pci 0000:3a:00.0: firmware ver RM.4.4.1.c1-00042-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 40fb7bdd

Have you tried above suggestion for QCA6174? Especially did you use this firmware file?

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Fri Oct 18, 2019 3:37 am

I tried this firmware https://github.com/kvalo/ath10k-firmwar ... CARMSWPZ-1

I didn't understand the naming scheme, is 4.4.1.c3 release candidate 3 or is it newer than 4.4.1, from looking at the commit dates, it's newer.

I can try this firmware later today

ronanb96
Level 1
Level 1
Posts: 12
Joined: Tue Oct 01, 2019 3:29 pm

Re: Wifi often loses connection

Post by ronanb96 » Mon Oct 28, 2019 7:41 am

So far so good with the new wifi module, haven't seen the issue yet
The module I got was 00JT494

sawdoctor
Level 1
Level 1
Posts: 7
Joined: Thu May 14, 2015 6:55 am

Re: Wifi often loses connection

Post by sawdoctor » Sun Nov 10, 2019 8:28 am

Hi, I'm just wondering if your issue is resolved yet ? I have the exact same problem as you. Lenovo thinkpad running mint 19.2, recently upgraded to the virgin media hub 3 and have had nothing put trouble connecting to the wifi or wifi dropping out

Post Reply

Return to “Wireless”