How to use the WiFi in Ubuntu 20.04 using realtek semiconductor 802.11n
Tags: ubuntu, linux
Published: 2020-09-01 16:13:28

I have a WiFi adaptor of different company which is supported for windows and macos but no support for Linux/Ubuntu. So it gives me a lot of problems beacause i can’t make it run in my desktop and always need to use USB tethering but finally i solved the problem and thanks to the google search now I can use WiFi in my Desktop.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/gn9q1rtv3uptwmwajszk.png)

So the process for it first I search the google with the keyword “realtek wireless adaptor 802.11n driver for Linux” and voila i got all the results.But you first need to check that the WiFi adaptor is recognised by your computer.Like the below picture.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/6uhy0akhb8inzvwyjlm3.png)

Now if it is true then you can go and there some variant of drivers available for the wifi adapters so you need to check.In my case the driver rtl8188fu worked fine and supported.But in your case it may be different.
So after googling I got a forum link of linuxmint
Linux Mint Forums
Try this: https://github.com/kelebek333/rtl8188fu You need to establish temporary internet by other means for this…
forums.linuxmint.com
I paste the required lines I used to install :
Re: Realtek RTL8188FTV WiFi USB Adapter
Quote
Post by Pjotr » Wed Jun 05, 2019 4:44 am
Try this:
https://github.com/kelebek333/rtl8188fu
You need to establish temporary internet by other means for this. Also, you need to have disabled Secure Boot in the BIOS of your computer.
Launch a terminal window (this is how to launch a terminal window) and copy/paste the commands into the terminal.
After that I go to the github and get the required commands in aterminal.And all set after a reboot.commands are:
How to install
```
sudo apt-get install build-essential git dkms linux-headers-$(uname -r)
git clone https://github.com/kelebek333/rtl8188fu
sudo dkms add ./rtl8188fu
sudo dkms build rtl8188fu/1.0
sudo dkms install rtl8188fu/1.0
sudo cp ./rtl8188fu/firmware/rtl8188fufw.bin /lib/firmware/rtlwifi/
```
Run following commands for disable power management and plugging/replugging issues.

```
sudo mkdir -p /etc/modprobe.d/
sudo touch /etc/modprobe.d/rtl8188fu.conf
echo "options rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/rtl8188fu.conf
Now if you want to uninstall it can be done by:
sudo dkms remove rtl8188fu/1.0 --all
sudo rm -f /lib/firmware/rtlwifi/rtl8188fufw.bin
sudo rm -f /etc/modprobe.d/rtl8188fu.conf
```

How to install from PPA repository
You can install rtl81188fu driver with following commands from PPA.
for xUbuntu 16.04–18.04–19.10–20.04 / Linux Mint 18.x-19.x-20.x

```
sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install rtl8188fu-dkms
```
You can purge packages with following commands
```sudo apt purge rtl8188fu-dkms```
The main repository:
kelebek333/rtl8188fu
For Kernel 4.15.x ~ 5.8.x (Linux Mint, Ubuntu or Debian Derivatives) sudo apt-get install build-essential git dkms…
github.com
Thanks to
kelebek333 - Overview
Dismiss Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software…
github.com
the library of drivers of all kind you can find the main user’s repository:
ulli-kroll - Overview
Technician by day, hacker by night Arctic Code Vault Contributor Dismiss Sign up for your own profile on GitHub, the…
github.com
And finally I am doing this blog from my desktop for these awesome opensource contributors and Linux forum.

```
d@d-desktop:~$ lshw -C network
WARNING: you should run this program as super-user.
  *-network                 
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: ens33
       version: 07
       serial: 0a:e0:af:b4:03:4d
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII
       resources: irq:17 ioport:e800(size=256) memory:febff000-febfffff memory:fdffc000-fdffffff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:5
       logical name: wlx00f001001381
       serial: 00:f0:01:00:13:81
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8188fu ip=__.__.__ multicast=yes wireless=IEEE 802.11bgn
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
d@d-desktop:~$
```

Now I end it here.