Slow WiFi with Ubuntu 18.04 and Intel Dual Band Wireless-AC 3168
Solution 1
What I did to solve this issue is installing the latest stable kernel, according to kernel.org that is at the time of writing 4.17.13
.
I installed ukuu
, the ubuntu kernel update utility using the ppa from "Tony George" (https://launchpad.net/~teejee2008/+archive/ubuntu/ppa):
sudo add-apt-repository ppa:teejee2008/ppa
sudo apt update
sudo apt install ukuu
Then run ukuu either through the console (ukuu --help
) or use the graphical version which can be found in the menu. Install the latest stable kernel and reboot.
Warning: There might be some issues; if they persist after a reboot, during the boot sequence, select your old kernel version (4.15 on my machine).
Solution 2
tldr; Fix your drivers before you attempt to update your kernel.
My laptop has:
- Ubuntu 18.04 with xubuntu-desktop
- 32GB RAM
- 3TB HD
- 1070 GTX Cuda Core
- Intel 9560 Wireless AC + BT5
I too had no better than 3.8 Mbps connection speeds after completing the base installation of Ubuntu 18.04 LTS.
With ample support of a Linux Driver Engineer at Intel, a solution! <-- Full Bugzilla Ticket.
I don't want to have to enumerate the steps comprehensively, but... don't update your kernel. Kernel updates have a nasty way of trouble-making. Besides, that's boiling the ocean. After all, your drivers are just not quite in the right state.
Instead, try this:
- Clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
- Clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/
-
Install the latest driver on your system.
$ cd backport-iwlwifi $ sudo make && make install # Fix any errors by installing any missing pkgs. Ignore warnings. # The system will tell you to reboot on success, DON'T ... yet. # Keep reading. Copy some firmware first! :)
For Intel users: Delete all the firmware files for your Intel wireless from
/lib/firmware/
. It will be all theiwlwifi-*.ucode
files that must go. Copy them away if you feel like having a backup is wisest, so why the heck not?-
Copy the newest firmware from the
linux-firmware
repo to your firmware directory (/lib/firmware/
). These should also beiwlwifi-*.ucode
files, like so:$ cd /path/to/linux-firmware $ sudo cp iwlwifi-9260-th-b0-jf-b0-38.ucode /lib/firmware/ $ sudo cp iwlwifi-9000-pu-b0-jf-b0-38.ucode /lib/firmware/ # NOTE: I run a 9560 M.2 NIC, but you may not...
Now, reboot. You should be in business. You may run speedtest.net and rejoice.
<3 and :)
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
This is my story with an Intel Dual Band Wireless-AC 3168 (M.2 2230) and Ubuntu Linux:
- I decide to manually update Ubuntu 16.04 LTS, including the kernel/dist-upgrade thing.
- Reboot.
- No WiFi connection,
iwconfig
command returns no adapters. - While testing several reboots, I notice the wireless adapter sometimes appears and works.
- I decide to install Ubuntu 18.04 LTS from scratch in another hard drive.
- Boot live USB image (18.04.0 Desktop), go to desktop.
- I try Internet connection, I notice WiFi is very slow, like ancient times.
- I plug Ethernet cable and perform a minimal Ubuntu installation with last downloaded updates.
- Reboot, unplug Ethernet cable.
- I try Internet connection, WiFi is very slow.
- I search for solutions, I disable 802.11n (iwlwifi 11n_disable=1), WiFi works (connection speed is lower than 11Mbps), even after reboots.
- Not satisfied with solution, I decide to ask here and run Ubuntu forums network script.
- Network script result is HERE.
Related question threads I found:
-
4Z4T4R almost 6 yearsUpvote/comment on a bug I filed with Intel here!! bugzilla.kernel.org/show_bug.cgi?id=200993
-
Bill over 2 yearsTake the firmaware from intel: intel.com/content/www/us/en/support/articles/000005511/…
-
McFarlane over 5 yearsI can confirm that this fixes the wifi speed issues on a Thinkpad X1 Carbon 5th gen running Ubuntu 18.04.
-
qwermike over 5 yearsI've tried this approach and it doesn't work for me. If someone knows nice solution, here is my question: askubuntu.com/q/1088068/887142
-
4Z4T4R over 5 yearsSome of these issues are indeed fixed in later kernel versions and ukuu can be a help. I know that in my case, I have a custom lappy with a 1070 GTX card and I had to install Ubuntu Server first before manually installing xfce-desktop in order to get everything configured. It took me 4 times to get it "right" so mucking with the kernel was out of the question until I understood the root cause. This approach is not for the faint of heart (or tired). Thanks for sharing @MikeKaskun
-
Pedro Pombeiro over 5 yearsJust a word of caution: I followed this procedure to the letter on a ThinkPad X1 Carbon 6th Gen and it hosed my Wi-Fi connection (adapter is no longer seen by the OS). Reinstalling latest kernel didn't help.
-
Pedro Pombeiro over 5 yearsTurns out to be due to Secure Boot being enabled. I'll need to figure out which files were installed and sign them.