Linux wifi slow speed

Ubuntu 20.04 Network Performance Extremely Slow

I just upgraded from Ubuntu 18.04 to 20.04 on one of the Dell XPS 13 machines, and the network performance is abhorrent. Internet speed is very fast from a google speed test (>300Mb/s for both upload and download). However, whenever I try to browse a website or even run sudo apt update the connection will often time out. My internet is very fast on all other devices and I really don’t know how to debug this problem.

sudo lshw -class network -short && nmcli device status 
H/W path Device Class Description ============================================================== /0/100/1c.6/0 wlp2s0 network Wi-Fi 6 AX200 /3 br-96f5b790e29e network Ethernet interface /4 br-15e76fb81c05 network Ethernet interface /5 docker0 network Ethernet interface DEVICE TYPE STATE CONNECTION wlp2s0 wifi connected CSA HQ br-15e76fb81c05 bridge connected br-15e76fb81c05 br-96f5b790e29e bridge connected br-96f5b790e29e docker0 bridge connected docker0 p2p-dev-wlp2s0 wifi-p2p disconnected -- lo loopback unmanaged -- gpd0 tun unmanaged -- 

Solution:

It seems like this is a pretty common problem, and one without a definitive cause. For me, it was because Ubuntu resets the TLP configuration, and the power management went back to «on». I disabled Wi-Fi power management directly by editing:

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 

Then changed the value from 3 to 2, saved changes and rebooted. I actually got this solution from Reddit and this worked for my case specifically but it seems like it could be caused by a bunch of other things. Read all the proposed solutions below!

Источник

Speed Up Slow WiFi Connection in Ubuntu Linux

If you have Intel CPU and are using regular Ubuntu (Gnome) and want a user-friendly way to check CPU speed and adjust it, and even set it to auto-scale based on being plugged vs battery, try CPU Power Manager. If you use KDE try Intel P-state and CPUFreq Manager.

How can I make Ubuntu 20.04 faster?

  1. Reduce the default grub load time: .
  2. Manage startup applications: .
  3. Install preload to speed up application load time: .
  4. Choose the best mirror for software updates: .
  5. Use apt-fast instead of apt-get for a speedy update: .
  6. Remove language related ign from apt-get update: .
  7. Reduce overheating:

How do I fix slow WiFi in 3 minutes?

  1. Restart the Router. .
  2. Check Other Devices using WiFi. .
  3. Stop Background Programs Using Bandwidth. .
  4. Add Protection to WiFi. .
  5. Your Device and Router’s Location. .
  6. Change Wi-Fi Channel. .
  7. Windows Network Adapter Power Saver. .
  8. Fix Network Drivers.

How do I make my WiFi signal stronger?

  1. Select a Good Place for Your Router. Not all places are equally suitable for your router. .
  2. Keep Your Router Updated. .
  3. Get a Stronger Antenna. .
  4. Cut Off WiFi Leeches. .
  5. Buy a WiFi Repeater/ Booster/ Extender. .
  6. Switch to a Different WiFi Channel. .
  7. Control Bandwidth-Hungry Applications and Clients. .
  8. Use the Latest WiFi Technologies.
Читайте также:  Система защиты данных linux

Does having 2 routers increase Internet speed?

Will Adding a Router Increase Speed? Network bandwidth is much the same as a plumbing system. . If your Wi-Fi is slow, adding a second router can improve data flow if your Wi-Fi was slow, but it won’t help if your internet service was slow too. There are three components to a Wi-Fi network that all work together.

Why is my Ubuntu so slow?

The Ubuntu operating system is based on the Linux kernel. . Over time however, your Ubuntu 18.04 installation can become more sluggish. This can be due to small amounts of free disk space or possible low virtual memory due to the number of programs you’ve downloaded.

Why is my internet so slow on Ubuntu?

If you are using the internet and it seems slow, there are a number of things that could be causing the slow down. Try closing your web browser and then re-opening it, and disconnecting from the internet and then reconnecting again. (Doing this resets a lot of things that might be causing the internet to run slowly.)

What is the latest Ubuntu LTS?

The latest LTS version of Ubuntu is Ubuntu 20.04 LTS “Focal Fossa,” which was released on April 23, 2020. Canonical releases new stable versions of Ubuntu every six months, and new Long Term Support versions every two years.

How do I clean up Ubuntu?

  1. Uninstall Unnecessary Applications. .
  2. Remove Unnecessary Packages and Dependencies. .
  3. Clean Thumbnail Cache. .
  4. Remove Old Kernels. .
  5. Remove Useless Files and Folders. .
  6. Clean Apt Cache. .
  7. Synaptic Package Manager. .
  8. GtkOrphan (orphaned packages)

Why is my Linux so slow?

Your Linux computer could be running slow for any one of the following reasons: Unnecessary services started at boot time by systemd (or whatever init system you’re using) High resource usage from multiple heavy-use applications being open. Some kind of hardware malfunction or misconfiguration.

Why is Linux Mint so slow?

1.1. This is especially noticeable on computers with relatively low RAM memory: they tend to be far too slow in Mint, and Mint accesses the hard disk too much. . On the hard disk there’s a separate file or partition for virtual memory, called the swap. When Mint uses the swap too much, the computer slows down a lot.

Install FreeFileSync 11.5 on Ubuntu 20.04- A Free File Sync Software

Sync

Install FreeFileSync 11.5 on Ubuntu 20.04– A Free File Sync SoftwareStep 1: Download FreeFileSync tarball. Visit the FreeFileSync official website (ht.

How to create an Super Key (Win) E shortcut to launch File Explorer in Manjaro GNOME

Super

STEP 1: Go to ‘Settings’.Manjaro Settings. STEP 2: Click on ‘Devices’ located at the bottom of the Settings app.Settings App > Devices. STEP 3: On .

How to Install Fish Shell on Linux

Shell

Installing Fish shellsudo apt install fish.sudo apt-get install fish.sudo dnf install fish.sudo zypper install fish.sudo pacman -S fish.guix package -.

Latest news, practical advice, detailed reviews and guides. We have everything about the Linux operating system

Источник

Speed Up Slow WiFi Connection in Ubuntu Linux

One of the most common problems faced after installing Ubuntu is the network problem. Some times you will have no wireless network in Ubuntu and some times very slow wireless connection and sometime it will fluctuate between fast and slow.

Monitor your internet speed in Ubuntu first. Is it inconsistent or too slow only on on your Ubuntu Linux system?

Читайте также:  Android tv box for linux

If you are lucky, it could be fixed by installing propriety drivers in Ubuntu but generally, you will be left fuming, cursing over slow or no Wi-Fi connection.

Speed up WiFi in Ubuntu Linux

In this post, I’ll only focus to fix slow Wi-Fi problem in Ubuntu, Linux Mint and potentially other Ubuntu-based distros. This actually consists of several small tricks that you can try to get faster Wi-Fi.

Let’s see how to fix slow Wi-Fi in Ubuntu:

Solution 1: For Slow WiFi in Atheros Wireless Network Adapters

First, you need to find your wireless network adapter in Linux. You can do so by using the command below in the terminal:

If your adapter manufacturer is Atheros, this solution should work for you.

Open a terminal (Ctrl+Alt+T in Ubuntu) and use the following commands one by one:

sudo su echo "options ath9k nohwcrypt=1" >> /etc/modprobe.d/ath9k.conf

Here, you’re basically enabling a module to use software-based encryption over hardware encryption for your adapter.

This will add the additional line to the configuration file. Restart your computer and you should be good to go.

If it does not fix or if you don’t have Atheros WiFi adaptor, try other solutions.

Solution 2: Disable 802.11n (works best if you have older router)

The next trick is to force disable the 802.11n protocol. Even after so many years, most of the world runs 802.11a,b and g. While 802.11n provides better data rate, not all the routers support it, especially the older ones. It has been observed that disabling the 802.11 n helps speed up the wireless connection in Ubuntu and other OS.

Open the terminal and use the following command:

sudo rmmod iwlwifi sudo modprobe iwlwifi 11n_disable=1

It’s worth noting that in newer kernels, doing this will also disable the 802.11ac protocol and will limit the device throughput to 54 Mbps as mentioned in Gentoo’s wiki page.

If you find no significant increase in the wireless connection speed, restart the computer to revert the changes and forget about this solution.

But, if it worked for you and you have a faster WiFi now, you should make the changes permanent by using these commands:

sudo su echo "options iwlwifi 11n_disable=1" >> /etc/modprobe.d/iwlwifi.conf

Restart your computer and live your life at full speed.

Solution 3: Fix the bug in Debian Avahi-daemon

The slow WiFi in Ubuntu problem could also be related to a bug in Avahi-daemon of Debian. Ubuntu and many other Linux distribution are based on Debian so this bug propagates to these Linux distributions as well.

To fix this bug, you have to edit the nsswitch configuration file. Open a terminal and use the following command:

sudo gedit /etc/nsswitch.conf

This will open the configuration file in gedit so that you could edit it easily in GUI. You can also use nano instead of gedit if you want to use the terminal. In here, look for the following line:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

If you find this file, replace it with the following line:

Save it, close it, restart your computer. It should fix the slow wireless connection problem for you. If it doesn’t, check the other solutions.

Solution 4: Disable IPv6 support

Yes, you heard it right. Let’s go back to the previous century and care about IPv4 by ditching IPv6 support. Sometimes, you don’t even need IPv6 support.

Читайте также:  Linux and arp таблица

Moreover, if it improves the Wi-Fi speed in some cases. So, you can surely give it a try if nothing else is working for you.

To disable IPv6 support in Ubuntu, use the following commands one by one:

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1

Do note that you’re disabling IPv6 temporarily here. If it doesn’t work, simply reboot your system and you will have IPv6 enabled. But, if it does work, you can type in the following commands to make the change permanent:

sudo su echo "#disable ipv6" >> /etc/sysctl.conf echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf

Restart your computer and it should do the magic. If not try the next one.

Solution 5: Ditch default network manager and embrace Wicd (possibly obsolete)

This is only applicable if you’re using Ubuntu 16.04 or lower (which is highly unlikely at the time of updating this article) — but this was a working solution back then. If you have Ubuntu 16.04 for some reason, you can try it out.

Slow or inconsistent wireless connection, in some cases, are also due to Ubuntu’s very own default network manager. I am not sure what causes this but I have seen people in Ubuntu Forums talking about this problem in especially in Ubuntu.

You can install Wicd, an alternative network manager from Ubuntu Software Centre or from the terminal. For details on how to use Wicd, you can read my other article which I used to find SSID of wireless networks in Ubuntu.

Solution 6: More power to wireless adaptor (possibly obsolete)

This trick should be obsolete and this is why I mentioned it in the end. But, it looks like some of you find it working even with Ubuntu 20.04.

Linux Kernel has a power management system which comes in handy. However, for some users with their wireless connection it sent less power to the wireless adapter and thus affecting its performance. As a result, wireless connection would be some times fast and some times dead slow. While this is probably fixed in later Kernels, systems running older Linux Kernel may still face it.

Open a terminal and use the following command:

It will give you the name of your wireless device. Normally it should be wlan0. Now use the following command:

sudo iwconfig wlan0 power off

This will switch off the special power management system for the wireless adaptor and thus it will get more power and will work more (lame attempt at humour).

Did it work for you?

These are the most common ways to fix slow WiFi in Ubuntu. You should find “the one” for you (damn! even lamer attempt at humour).

Anyway, do let me know if it worked for you and if it worked, which solution was it. Also, if you come across a newer solution, please share it with us so that all of us could be benefited from your experience.

Feel free to drop your suggestion in the comments down below. And if the article helped you to speed up WiFi in Ubuntu, you might want to read how to speed up Ubuntu overall.

Источник

Оцените статью
Adblock
detector