After searching all through Google and Ask Ubuntu I couldn't find a fix to my problem: I have a Dell XPS 13 running Windows 10 and Ubuntu 16.04 with Dual-boot and my internet download speed works just fine but my upload speed is way slower than my speed on Windows, and honestly I can't get any work done that way.
Here are my Internet test results:
$ curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -
Retrieving speedtest.net configuration...
Testing from Bezeq International (79.176.94.28)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Partner (Tel Aviv) [1.56 km]: 30.989 ms
Testing download speed................................................................................
Download: 33.93 Mbit/s
Testing upload speed................................................................................................
Upload: 0.15 Mbit/s
Results for: sudo lshw -C net
:
$ sudo lshw -C net
[sudo] password for liorscha:
*-network
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:3a:00.0
logical name: wlp58s0
version: 32
serial: 9c:b6:d0:e6:d5:79
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.13.0-38-generic firmware=WLAN.RM.4.4.1-00051-QCARMSWP-1 ip=10.0.0.15 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:286 memory:dc000000-dc1fffff
Results for iwlist wlan0 s
:
wlan0 Interface doesn't support scanning.`
Results for lsmod | grep ath10
:
ath10k_pci 45056 0
ath10k_core 352256 1 ath10k_pci
ath 28672 1 ath10k_core
mac80211 782336 1 ath10k_core
cfg80211 614400 3 mac80211,ath,ath10k_core
These are the things I already tried:
- sudo apt-get install --reinstall linux-firmware
- Copying drivers from git repos to /lib/firmware/ath10k/QCA6174/*
- Preferring IPV4 on IPV6
- Encrypting with software instead of hardware
EDIT
This solved it for me.
You appear to be effected by this bug. There are 68 posts of problems and suggestions. The latest one suggests to:
May 4, 2019 update
Over a year ago, but after the original answer was posted, a bug fix came out. It happened during the kernel
4.16-rc5
release and the source code change comments state:Instinctively you think a kernel greater than
4.15
is required to get the bug fix. This is not so as the next section explains.Kernel 4.16-rc5 through Kernel 5.0 bug fixes are in
4.14.114
LTSI'm still on kernel
4.14.xxx
LTS (Long Term Support) which has another 5 years of updates coming for it including the4.16
patch above and recent kernel5.0
bug fixes.To prove the bug fix is there go to where my current kernel
4.14.114
is:It says:
All commits
Adjust TSQ pacing shift
into the search field.Expand
and you will see:I can confirm this issue is related to bug #1670041 as @WinEunuuchs2Unix posted. FYI, my PCI-E wireless adapter is
TP-LINK TL-WDN4800
:Upgrading my kernel to 4.17 (former is 4.14 LTS) fixes this.