Install Wifi Adapter Drivers for Ubuntu
One of the annoyance I have with using Ubuntu is installing the right drivers for wifi adapters. Some adapters work out of the box without any issue but others require installing additional drivers. This post will be a list of what drivers to install for different adapters I own. For reference, my Ubuntu version is 20.04 LTS but it might also work for other versions.
This is one of the rare adapters that is compatible with Ubuntu from the start. I’ve been using this adapter since 16.04 for multiple devices and it has never given me any issue. It’s the fallback for me when I install Ubuntu on a new device without a nearby Ethernet cable. If you just want an adapter that works, get this.
sudo apt-get update sudo apt-get install linux-headers-$(uname -r) sudo apt-get update sudo apt-get install build-essential git git clone https://github.com/lwfinger/rtl8188eu cd rtl8188eu make all sudo make install sudo modprobe 8188eu.ko
But the last command did not work for me:
sudo modprobe 8188eu.ko modprobe: FATAL: Module 8188eu.ko not found in directory /lib/modules/5.4.0-58-generic
What I did instead was:
cd /lib/modules/5.4.0-58-generic/kernel/drivers/net/wireless sudo insmod 8188eu.ko reboot
I have been having some issues with this driver. The connection is slow and spotty at best. It’s better to use RTL8192EU instead.
This driver increased the speed of my connection significantly.
sudo apt install linux-headers-generic build-essential dkms git git clone https://github.com/clnhub/rtl8192eu-linux.git cd rtl8192eu-linux/ ./install_wifi.sh reboot
sudo apt install build-essential git dkms git clone https://github.com/gordboy/rtl8812au-220.127.116.11.git cd rtl8812au-18.104.22.168/ make sudo make install cd .. sudo cp -r rtl8812au-22.214.171.124/ /usr/src sudo dkms add -m rtl8812au -v 126.96.36.199 sudo dkms build -m rtl8812au -v 188.8.131.52 sudo dkms install -m rtl8812au -v 184.108.40.206
sudo gedit /etc/NetworkManager/NetworkManager.conf and add the lines below if they’re not there:
Reboot and it should work.
The problem with this adapter is that it sometimes doesn’t pick up the 5 Ghz band. It’s better just to use 2.4 Ghz so you don’t encounter any connection issue.