Ads

Ubuntu Linux Speed Slow WiFi connection (Prevention)

 One of the most common problems after installing Ubuntu is network problems. Sometimes you will not have any wireless network on Ubuntu and sometimes you will have very slow wireless connection and sometimes it will fluctuate between fast and slow.

First monitor your internet speed on Ubuntu. Is it simply incompatible with your Ubuntu Linux system or too slow?

If you're lucky, this can be fixed by installing a proprietary driver on Ubuntu, but you'll usually be cursed for slow speeds or any Wi-Fi connection.


tech whiles



Solution 1: For slow WiFi on Atheros wireless network adapters

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


lshw -C network


Sometimes your router, that 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 ath_9k n o h w c r y p t=1" >> /etc/modprobe.d/ath_9k.config


Here, you are basically enabling a module to use software-based encryption on hardware encryption for your adapter.


Solution 2: More power on the wireless adapter

This strategy should be obsolete and that is why I mentioned it in the end. However, it seems that some of you are working with Ubuntu 20.04.


The Linux kernel has a power management system that comes in handy. However, some users with their wireless connection sent less power to this wireless adapter and thus affected its performance. As a result, the wireless connection will die several times faster and sometime. Although this is likely to be modified in later kernels, systems running older Linux kernels may still encounter this.


Open a terminal and use the following command:


sudo iwconfig


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


sudo iwconfig wlan0 power off


This will switch the special power management system for the wireless adapter and thus it will have more power and more work.


Does it work for you?

The most common way to fix WiFi slowly on Ubuntu. You should look for your own "one" (disgusting! Even the lama's attempt at humor). However, let me know if it works for you and if it works, it was a solution. Also, if you encounter new solutions, please share them with us so that we can each benefit from your experience.

Post a Comment

0 Comments