If you just installed Ubuntu Distro and not able to get online with your inbuilt Wi-Fi device then you are missing wireless Wi-Fi driver.

The only thing your Ubuntu 20.04 or other releases are missing the wireless driver, so, this page is going to help you install and test right wi-fi driver for your hardware.

Before you proceed you must know your hardware.

Know Your Hardware

To know your wi-fi hardware make and model, you simply run the command below in your terminal.

sudo lshw -businfo

And look for..

In case, you need to update Linux firmware, run the following commands and see if you got wi-fi working. But before you run the commands, connect your Ubuntu laptop/desktop with ethernet cable or USB cable from your smartphone allow internet access.

sudo apt update && sudo apt upgrade
sudo apt install firmware-b43-installer
reboot

For Broadcon Wireless wi-fi Driver

sudo apt update && sudo apt upgrade
sudo apt install bcmwl-kernel-source
reboot

If still does not work then try these

sudo apt install broadcom-sta-common broadcom-sta-source
sudo apt-get --reinstall bmcwl-kernel-source
reboot

Install Realtek Wi-Fi Driver on Ubuntu

sudo apt update
sudo apt install git dkms
git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce/
sudo make all
sudo make install
sudo modprobe -a 8821ce
reboot

If these don’t work, it’s simply because your system requires another wireless driver. To know your system model run the following command and google for ‘make model + ubuntu + wifi driver’.

sudo lshw -businfo