How to use the WiFi in Ubuntu 20.04 using realtek semiconductor 802.11n

Debojyoti Chakraborty
3 min readSep 1, 2020

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.

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.

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

I paste the required lines I used to install :

Re: Realtek RTL8188FTV WiFi USB Adapter

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/rtl8188fusudo dkms add ./rtl8188fusudo dkms build rtl8188fu/1.0sudo dkms install rtl8188fu/1.0sudo 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.confecho "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 --allsudo rm -f /lib/firmware/rtlwifi/rtl8188fufw.binsudo 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/kablosuzsudo apt-get updatesudo apt install rtl8188fu-dkms

You can purge packages with following commands

sudo apt purge rtl8188fu-dkms

The main repository:

Thanks to

the library of drivers of all kind you can find the main user’s repository:

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.

--

--

Debojyoti Chakraborty

cs student pre final year,Open source contributor,AI && ML,DS & ALGO