[solved] wifi is ridiculously slow

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
thenewnumbertwo
Level 1
Level 1
Posts: 10
Joined: Fri Feb 26, 2016 12:17 am

[solved] wifi is ridiculously slow

Post by thenewnumbertwo » Fri Feb 26, 2016 12:42 am

hello!
I am a recovering windows victim that just switched to mint. (17.3 64-bit kde).
I mostly love it, but I had to remove backports to get my wifi card working. The card is a Qualcomm Atheros 0042 (rev 30). It was my first command line script (yay! :D ) but now my wifi is excruciatingly slow. My android phone is going about 64 Mb/s but my new linux box is less than 1 Mb/s, as low as 35 KB/s on the same hot spot. It is not my router, my building has free wifi, I would like to take advantage of it.
I'm a linux newbie, so I'm not sure how to go about troubleshooting. Googling has led to a bunch of stuff about slow wifi on linux, but it all seems either irrelevant or way over my head.
Any help would be appreciated.
Last edited by thenewnumbertwo on Sat Feb 27, 2016 9:15 pm, edited 1 time in total.

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

Re: wifi is ridiculously slow

Post by Spearmint2 » Fri Feb 26, 2016 1:45 am

try a second wifi device, like a USB one. If the speed improves, then the kernel's wifi driver aka "mod" needs changing or use of a different kernel. The best out of box USB wifi that work under Linux today is Panda.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
LinuxJim
Level 5
Level 5
Posts: 659
Joined: Tue Jan 26, 2016 8:01 pm
Location: Oregon, USA

Re: wifi is ridiculously slow

Post by LinuxJim » Fri Feb 26, 2016 2:19 am

There are a lot of things you can tweak to tune network throughput, but the best place to start is with a benchmark. Did you ever run Windows on this specific machine? If so, what was the throughput like? If not, try another Linux distro (via live CD) on this same WiFi adapter and compare. The ath9k Atheros kernel module is fairly robust. I'm assuming that's the one you have loaded. "inxi -Fxz" will tell you for sure.

You can run iwconfig to get a rough idea of signal quality, bit rate, signal strength, and error rates.

You can disable IPv6 on this adapter to rule out routing incompatibilities.

JeremyB
Level 20
Level 20
Posts: 10484
Joined: Fri Feb 21, 2014 8:17 am

Re: wifi is ridiculously slow

Post by JeremyB » Fri Feb 26, 2016 8:37 am

That card uses ath10k modules and the 0042 was the last card to be supported by it. A newer kernel or backports version may help

thenewnumbertwo
Level 1
Level 1
Posts: 10
Joined: Fri Feb 26, 2016 12:17 am

Re: wifi is ridiculously slow

Post by thenewnumbertwo » Fri Feb 26, 2016 4:26 pm

LinuxJim wrote: You can run iwconfig to get a rough idea of signal quality, bit rate, signal strength, and error rates.
Here is the results of iwconfig:

Code: Select all

 eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"xfinitywifi"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: C6:A4:62:FC:17:20   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-37 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions. 
Can any of this help me troubleshoot? It's gobbledygook to me.
LinuxJim wrote: You can disable IPv6 on this adapter to rule out routing incompatibilities.
How to disable IPv6 on this adapter?

The results of inxi -Fxz are: "ath10k_pci". That's not what you thought it would be. Does that change things?
Last edited by thenewnumbertwo on Fri Feb 26, 2016 10:14 pm, edited 1 time in total.

JeremyB
Level 20
Level 20
Posts: 10484
Joined: Fri Feb 21, 2014 8:17 am

Re: wifi is ridiculously slow

Post by JeremyB » Fri Feb 26, 2016 6:33 pm

Post the result of

Code: Select all

iwlist scan | grep -iA22 xfinitywifi | grep -iA7 IEEE 
The code tags work, use [ code ] before and [ /code ] after the info without the extra spaces between the brackets and code and /code

thenewnumbertwo
Level 1
Level 1
Posts: 10
Joined: Fri Feb 26, 2016 12:17 am

Re: wifi is ridiculously slow

Post by thenewnumbertwo » Fri Feb 26, 2016 10:01 pm

@JeremyB:
results for

Code: Select all

 iwlist scan | grep -iA22 xfinitywifi | grep -iA7 IEEE 

Code: Select all

 eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning. 
Thanks for help.

JeremyB
Level 20
Level 20
Posts: 10484
Joined: Fri Feb 21, 2014 8:17 am

Re: wifi is ridiculously slow

Post by JeremyB » Sat Feb 27, 2016 9:29 am

I will have you run the wireless info script from the Ubuntu forums

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info
Then post the contents of the wireless-info.txt file

thenewnumbertwo
Level 1
Level 1
Posts: 10
Joined: Fri Feb 26, 2016 12:17 am

Re: wifi is ridiculously slow

Post by thenewnumbertwo » Sat Feb 27, 2016 2:21 pm

JeremyB wrote: Then post the contents of the wireless-info.txt file
There is a hell of a lot here:

Code: Select all

 ########## wireless info START ##########

Report from: 27 Feb 2016 11:13 MST -0700

Booted last: 27 Feb 2016 09:06 MST -0700

Script from: 27 Sep 2015 00:34 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 17.3 Rosa
Release:	17.3
Codename:	rosa

##### kernel ############################

Linux 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

KDE Plasma Workspace

##### lspci #############################

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Lenovo Device [17aa:3833]
	Kernel driver in use: r8169

03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
	Subsystem: Lenovo Device [17aa:4035]
	Kernel driver in use: ath10k_pci

##### lsusb #############################

Bus 002 Device 002: ID 8086:0a66 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0cf3:e360 Atheros Communications, Inc. 
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 17ef:600e Lenovo 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

1: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
4: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

##### lsmod #############################

ath10k_pci             45056  0 
ath10k_core           233472  1 ath10k_pci
ath                    32768  1 ath10k_core
mac80211              638976  1 ath10k_core
cfg80211              540672  3 ath,mac80211,ath10k_core
compat                 28672  3 cfg80211,mac80211,ath10k_pci
ideapad_laptop         20480  0 
sparse_keymap          16384  1 ideapad_laptop
wmi                    20480  0 

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

eth0      Link encap:Ethernet  HWaddr <MAC 'eth0' [IF]>  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr <MAC 'wlan0' [IF]>  
          inet addr:172.20.20.20  Bcast:172.20.20.255  Mask:255.255.255.0
          inet6 addr: fe80::<IP6 'wlan0' [IF]>/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:162991 errors:0 dropped:0 overruns:0 frame:0
          TX packets:103480 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:220009653 (220.0 MB)  TX bytes:17422174 (17.4 MB)

##### iwconfig ##########################

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"xfinitywifi"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: <MAC 'xfinitywifi' [AC1]>   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=49/70  Signal level=-61 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.20.20.1     0.0.0.0         UG    0      0        0 wlan0
172.20.20.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0

##### resolv.conf #######################

nameserver 127.0.1.1

##### network managers ##################

Installed:

	NetworkManager

Running:

root       883     1  0 09:06 ?        00:00:02 NetworkManager

##### NetworkManager info ###############

NetworkManager Tool

State: connected (global)

- Device: wlan0  [xfinitywifi] -------------------------------------------------
  Type:              802.11 WiFi
  Driver:            ath10k_pci
  State:             connected
  Default:           yes
  HW Address:        <MAC 'wlan0' [IF]>

  Capabilities:
    Speed:           1 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    HOME-88:         Infra, <MAC 'HOME-88' [AC4]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 87 WPA WPA2
    HOME-2322:       Infra, <MAC 'HOME-2322' [AC3]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 89 WPA WPA2
    MOTOROLA-53DB1:  Infra, <MAC 'MOTOROLA-53DB1' [AC9]>, Freq 2462 MHz, Rate 54 Mb/s, Strength 62 WPA2
    Linksys10759_5GHz: Infra, <MAC 'Linksys10759_5GHz' [AC10]>, Freq 5745 MHz, Rate 54 Mb/s, Strength 44 WPA2
    xfinitywifi:     Infra, <MAC 'xfinitywifi' [AC6]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 85
    Linksys10759:    Infra, <MAC 'Linksys10759' [AC8]>, Freq 2462 MHz, Rate 54 Mb/s, Strength 44 WPA2
    *xfinitywifi:    Infra, <MAC 'xfinitywifi' [AC1]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 61
    HOME-A452:       Infra, <MAC 'HOME-A452' [AN8]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 22 WPA WPA2
    PS4-D4CD0F1A49F3:Infra, <MAC 'PS4-D4CD0F1A49F3' [AC7]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 10 WPA2
    xfinitywifi:     Infra, <MAC 'xfinitywifi' [AN10]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 20

  IPv4 Settings:
    Address:         172.20.20.20
    Prefix:          24 (255.255.255.0)
    Gateway:         172.20.20.1

    DNS:             75.75.75.75
    DNS:             75.75.76.76

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        <MAC 'eth0' [IF]>

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/Roger-PC-Wireless]] (600 root)
[connection] id=Roger-PC-Wireless | type=802-11-wireless | permissions=user:thenewnumbertwo:;
[802-11-wireless] ssid=Roger-PC-Wireless | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/New 802-11-wireless connection]] (600 root)
[connection] id=xfinitywifi | type=802-11-wireless | permissions=user:thenewnumbertwo:;
[802-11-wireless] ssid=xfinitywifi | mac-address=<MAC 'wlan0' [IF]>
[ipv6] method=ignore
[ipv4] method=auto

[[/etc/NetworkManager/system-connections/xfinitywifi]] (600 root)
[connection] id=xfinitywifi | type=802-11-wireless | permissions=user:thenewnumbertwo:;
[802-11-wireless] ssid=xfinitywifi | mac-address=<MAC 'wlan0' [IF]>
[ipv6] method=auto
[ipv4] method=auto

##### iw reg get ########################

Region: America/Denver (based on set time zone)

country US:
	(2402 - 2472 @ 40), (3, 27)
	(5170 - 5250 @ 40), (3, 17)
	(5250 - 5330 @ 40), (3, 20), DFS
	(5490 - 5600 @ 40), (3, 20), DFS
	(5650 - 5710 @ 40), (3, 20), DFS
	(5735 - 5835 @ 40), (3, 30)
	(57240 - 63720 @ 2160), (N/A, 40)

##### iwlist channels ###################

eth0      no frequency information.

lo        no frequency information.

wlan0     32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency:2.412 GHz (Channel 1)

##### iwlist scan #######################

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

Channel occupancy:

      3   APs on   Frequency:2.412 GHz (Channel 1)
      4   APs on   Frequency:2.437 GHz (Channel 6)
      2   APs on   Frequency:2.462 GHz (Channel 11)
      1   APs on   Frequency:5.745 GHz (Channel 149)

wlan0     Scan completed :
          Cell 01 - Address: <MAC 'xfinitywifi' [AC1]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=52/70  Signal level=-58 dBm  
                    Encryption key:off
                    ESSID:"xfinitywifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000b63575ac7c
                    Extra: Last beacon: 88ms ago
          Cell 02 - Address: <MAC '' [AC2]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=48/70  Signal level=-62 dBm  
                    Encryption key:on
                    ESSID:""
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000b635758b2b
                    Extra: Last beacon: 5516ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: <MAC 'HOME-2322' [AC3]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=50/70  Signal level=-60 dBm  
                    Encryption key:on
                    ESSID:"HOME-2322"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000b63575a638
                    Extra: Last beacon: 5508ms ago
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
          Cell 04 - Address: <MAC 'HOME-88' [AC4]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=58/70  Signal level=-52 dBm  
                    Encryption key:on
                    ESSID:"HOME-88"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000b634fff96d
                    Extra: Last beacon: 4856ms ago
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
          Cell 05 - Address: <MAC '' [AC5]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=60/70  Signal level=-50 dBm  
                    Encryption key:on
                    ESSID:""
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000b63501eb19
                    Extra: Last beacon: 4852ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 06 - Address: <MAC 'xfinitywifi' [AC6]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=60/70  Signal level=-50 dBm  
                    Encryption key:off
                    ESSID:"xfinitywifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000b634ffff4e
                    Extra: Last beacon: 4852ms ago
          Cell 07 - Address: <MAC 'PS4-D4CD0F1A49F3' [AC7]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=21/70  Signal level=-89 dBm  
                    Encryption key:on
                    ESSID:"PS4-D4CD0F1A49F3"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000505b45f97
                    Extra: Last beacon: 4968ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 08 - Address: <MAC 'Linksys10759' [AC8]>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=34/70  Signal level=-76 dBm  
                    Encryption key:on
                    ESSID:"Linksys10759"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000066356565f7
                    Extra: Last beacon: 4460ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 09 - Address: <MAC 'MOTOROLA-53DB1' [AC9]>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=47/70  Signal level=-63 dBm  
                    Encryption key:on
                    ESSID:"MOTOROLA-53DB1"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000b6373d15e4
                    Extra: Last beacon: 4472ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 10 - Address: <MAC 'Linksys10759_5GHz' [AC10]>
                    Channel:149
                    Frequency:5.745 GHz (Channel 149)
                    Quality=23/70  Signal level=-87 dBm  
                    Encryption key:on
                    ESSID:"Linksys10759_5GHz"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000066357a8006
                    Extra: Last beacon: 936ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK

##### module infos ######################

[ath10k_pci]
filename:       /lib/modules/3.19.0-32-generic/updates/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/QCA6174/hw3.0/board-2.bin
firmware:       ath10k/QCA6174/hw3.0/board.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/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
firmware:       ath10k/QCA988X/hw2.0/firmware.bin
license:        Dual BSD/GPL
description:    Driver support for Atheros QCA988X PCIe devices
author:         Qualcomm Atheros
version:        backported from Linux (next-20151120-0-ga78de01) using backports backports-20151120-0-g906a6b3
srcversion:     EBB3D4E36DE49B7EC8057D0
depends:        ath10k_core,compat
vermagic:       3.19.0-32-generic 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)

[ath10k_core]
filename:       /lib/modules/3.19.0-32-generic/updates/drivers/net/wireless/ath/ath10k/ath10k_core.ko
license:        Dual BSD/GPL
description:    Core module for QCA988X PCIe devices.
author:         Qualcomm Atheros
srcversion:     7994A4282CFF9CC0BA44367
depends:        mac80211,cfg80211,ath
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
parm:           debug_mask:Debugging mask (uint)
parm:           uart_print:Uart target debugging (bool)
parm:           skip_otp:Skip otp failure for calibration in testmode (bool)
parm:           cryptmode:Crypto mode: 0-hardware, 1-software (uint)
parm:           rawmode:Use raw 802.11 frame datapath (bool)

[ath]
filename:       /lib/modules/3.19.0-32-generic/updates/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:         Atheros Communications
srcversion:     6A988397A204F65CDF45A3C
depends:        cfg80211
vermagic:       3.19.0-32-generic SMP mod_unload modversions 

[mac80211]
filename:       /lib/modules/3.19.0-32-generic/updates/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
version:        backported from Linux (next-20151120-0-ga78de01) using backports backports-20151120-0-g906a6b3
srcversion:     2C80E97047B792154BF55FA
depends:        cfg80211,compat
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/3.19.0-32-generic/updates/net/wireless/cfg80211.ko
version:        backported from Linux (next-20151120-0-ga78de01) using backports backports-20151120-0-g906a6b3
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     23A01DB42292FFA2C48ACC7
depends:        compat
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[ath10k_pci]
irq_mode: 0
reset_mode: 0

[ath10k_core]
cryptmode: 0
debug_mask: 0
rawmode: N
skip_otp: Y
uart_print: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp
rtc

##### modprobe options ##################

[/etc/modprobe.d/ath10k_core.conf]
options ath10k_core skip_otp=y

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x168c:0x0042 (ath10k_pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #############################

[ 2921.329990] wlan0: deauthenticating from <MAC 'xfinitywifi' [AC1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2921.809761] r8169 0000:02:00.0 eth0: link down
[ 2923.715371] bluetooth hci0: Direct firmware load for qca/rampatch_usb_00000300.bin failed with error -2
[ 2928.478358] wlan0: authenticate with <MAC 'xfinitywifi' [AC1]>
[ 2928.518527] wlan0: send auth to <MAC 'xfinitywifi' [AC1]> (try 1/3)
[ 2928.525944] wlan0: authenticated
[ 2928.529781] wlan0: associate with <MAC 'xfinitywifi' [AC1]> (try 1/3)
[ 2928.544246] wlan0: RX AssocResp from <MAC 'xfinitywifi' [AC1]> (capab=0xc01 status=0 aid=3)
[ 2928.546675] wlan0: associated
[ 2928.553456] ath: EEPROM regdomain: 0x8348
[ 2928.553464] ath: EEPROM indicates we should expect a country code
[ 2928.553469] ath: doing EEPROM country->regdmn map search
[ 2928.553473] ath: country maps to regdmn code: 0x3a
[ 2928.553477] ath: Country alpha2 being used: US
[ 2928.553480] ath: Regpair used: 0x3a
[ 2928.553484] ath: regdomain 0x8348 dynamically updated by country IE

########## wireless info END ############ 

JeremyB
Level 20
Level 20
Posts: 10484
Joined: Fri Feb 21, 2014 8:17 am

Re: wifi is ridiculously slow

Post by JeremyB » Sat Feb 27, 2016 2:47 pm

Try a newer backports first

Code: Select all

wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
tar -zxvf backports-4.4.4-1.tar.gz
cd backports-20151120
sudo make uninstall
Reboot

Code: Select all

cd backports-4.4.2-1
make defconfig-ath10k
make
sudo make install
Reboot and see if it is any better

It might help to go into Network Manager, go into settings for xfinitywifi and change IPv6 to ignore

thenewnumbertwo
Level 1
Level 1
Posts: 10
Joined: Fri Feb 26, 2016 12:17 am

Re: wifi is ridiculously slow

Post by thenewnumbertwo » Sat Feb 27, 2016 8:25 pm

@JeremyB:
:D :D :D
Happy days! My new mint box is much faster now! Your code for new backports was magic.
Is there some way to "upvote" your answer or something along those lines, to increase your cred for helping me?
:D :D :D

JeremyB
Level 20
Level 20
Posts: 10484
Joined: Fri Feb 21, 2014 8:17 am

Re: wifi is ridiculously slow

Post by JeremyB » Sat Feb 27, 2016 8:36 pm

thenewnumbertwo wrote:@JeremyB:
:D :D :D
Happy days! My new mint box is much faster now! Your code for new backports was magic.
Is there some way to "upvote" your answer or something along those lines, to increase your cred for helping me?
:D :D :D
Just edit the subject of your first post in this topic to add [SOLVED] and hopefully others with the same issue will find it

Post Reply

Return to “Wireless”