Random WiFi Dropping

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Random WiFi Dropping

Post by janeofcrows » Wed Oct 10, 2018 4:05 pm

Hello! I run Linux Mint 18.2 Cinnamon, and for the past few days, my WiFi drops seemingly at random, and can only be fixed by rebooting. I attempted at first to disable power management, but it still happens even with power management off permanently.

The output of

Code: Select all

sudo inxi -Nn
is

Code: Select all

Network:   Card: Qualcomm Atheros Device 0042 driver: ath10k_pci
           IF: wlp2s0 state: up speed: N/A duplex: N/A mac: xx:xx:xx:xx:xx:xx

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Wed Oct 10, 2018 4:08 pm

Here's the result of the wireless script:

http://termbin.com/rz61

JeremyB
Level 19
Level 19
Posts: 9325
Joined: Fri Feb 21, 2014 8:17 am

Re: Random WiFi Dropping

Post by JeremyB » Wed Oct 10, 2018 4:44 pm

After you have disconnects again, do ./wireless-info and then after rebooting do cat wireless-info.txt | nc termbin.com 9999 as your current results do not show any reason for disconnects

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Wed Oct 10, 2018 4:46 pm

Thanks. So far, things seem to be working: and this is my second reboot after fixing power management.

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Mon Oct 15, 2018 12:34 pm

It failed again. Here's the result of the wireless script:

http://termbin.com/c44y

User avatar
JerryF
Level 10
Level 10
Posts: 3146
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Random WiFi Dropping

Post by JerryF » Mon Oct 15, 2018 3:29 pm

janeofcrows wrote:
Wed Oct 10, 2018 4:05 pm
...
The output of

Code: Select all

sudo inxi -Nn
is

Code: Select all

Network:   Card: Qualcomm Atheros Device 0042 driver: ath10k_pci
           IF: wlp2s0 state: up speed: N/A duplex: N/A mac: xx:xx:xx:xx:xx:xx
Just a side note: It's not necessary to run inxi as sudo.

Also, if you don't want the output of any inxi command to show mac address, put a z at the end of your inxi command

Example:

Code: Select all

$ inxi -Nnz
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi
           IF: wlo1 state: up mac: <filter>
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

JeremyB
Level 19
Level 19
Posts: 9325
Joined: Fri Feb 21, 2014 8:17 am

Re: Random WiFi Dropping

Post by JeremyB » Mon Oct 15, 2018 5:04 pm

Lets see if newer firmware helps

Code: Select all

sudo apt-get install linux-firmware
Reboot

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Mon Oct 15, 2018 9:31 pm

Code: Select all

➜  ~ sudo apt-get install linux-firmware
[sudo] password for corvidium: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-firmware is already the newest version (1.157.20).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


JeremyB
Level 19
Level 19
Posts: 9325
Joined: Fri Feb 21, 2014 8:17 am

Re: Random WiFi Dropping

Post by JeremyB » Tue Oct 16, 2018 5:13 pm

Lets get the newest from upstream

Code: Select all

cd /lib/firmware/ath10k/QCA9377/hw1.0
sudo mv board-2.bin board-2.bin.bak
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ath10k/QCA9377/hw1.0/board-2.bin
sudo mv board.bin board.bin.bak
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ath10k/QCA9377/hw1.0/board.bin
sudo mv firmware-5.bin firmware-5.bin.bak
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ath10k/QCA9377/hw1.0/firmware-5.bin
Reboot

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Fri Nov 09, 2018 5:02 pm

For a while it stopped happening; now it's returned. I've just run the code in your latest response, and I'll respond the next time I need to reboot with another link from the wireless script

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Fri Nov 09, 2018 5:19 pm

It happened again. This is my first reboot since installing the firmware with your post, so let's see if it happens again: http://termbin.com/p0sdg

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Fri Nov 09, 2018 6:02 pm

Second reboot since installing the firmware: http://termbin.com/ckkc

JeremyB
Level 19
Level 19
Posts: 9325
Joined: Fri Feb 21, 2014 8:17 am

Re: Random WiFi Dropping

Post by JeremyB » Fri Nov 09, 2018 6:30 pm

You could try

Code: Select all

echo "options ath10k_pci reset_mode=1" | sudo tee /etc/modprobe.d/ath10k-pci.conf
Reboot, the other possible solution involves changing some of the source code and compiling a new module and that isn't a terrible thing, just not as convenient

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Fri Nov 09, 2018 10:12 pm


janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Sat Nov 10, 2018 6:57 pm


JeremyB
Level 19
Level 19
Posts: 9325
Joined: Fri Feb 21, 2014 8:17 am

Re: Random WiFi Dropping

Post by JeremyB » Sat Nov 10, 2018 6:59 pm

I have to find that bug report again, spent some time today cloning an install to SSD and see if I can compile a module for the kernel you are using

JeremyB
Level 19
Level 19
Posts: 9325
Joined: Fri Feb 21, 2014 8:17 am

Re: Random WiFi Dropping

Post by JeremyB » Sun Nov 11, 2018 12:48 pm

Try this

Code: Select all

cd /lib/modules/4.15.0-38-generic/kernel/drivers/net/wireless/ath/ath10k/
sudo mv ath10k_pci.ko ath10k_pci.bak
sudo wget https://www.dropbox.com/s/edzcecy5o9c7is7/ath10k_pci.ko
Check mokutil --sb-state and if the results show Secure Boot is enabled, reboot and disable Secure Boot in BIOS settings, if it says secure boot is disabled or mokutil is not installed just reboot and see if it works

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

Re: Random WiFi Dropping

Post by Spearmint2 » Sun Nov 11, 2018 5:06 pm

Please consider your wifi hardware device itself may be failing.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Sun Nov 11, 2018 7:31 pm

JeremyB wrote:
Sun Nov 11, 2018 12:48 pm
Try this

Code: Select all

cd /lib/modules/4.15.0-38-generic/kernel/drivers/net/wireless/ath/ath10k/
sudo mv ath10k_pci.ko ath10k_pci.bak
sudo wget https://www.dropbox.com/s/edzcecy5o9c7is7/ath10k_pci.ko
Check mokutil --sb-state and if the results show Secure Boot is enabled, reboot and disable Secure Boot in BIOS settings, if it says secure boot is disabled or mokutil is not installed just reboot and see if it works
Thank you very much. I've run this code. I'll keep this thread updated if any problems persist.

janeofcrows
Level 1
Level 1
Posts: 16
Joined: Wed Oct 10, 2018 4:02 pm

Re: Random WiFi Dropping

Post by janeofcrows » Mon Nov 12, 2018 1:08 pm

Unfortunately, the problem has persisted: http://termbin.com/bkcb

Post Reply

Return to “Wireless”