Can't hook up usb wifi Realtek RTL8211, Ubuntu 20.04, Dedicated, Old Win HP Pavillion Destop [duplicate]

Solution 1:

The driver for your device is 88x2bu. Let’s build it.

With a working internet connection by ethernet, tethering or whatever means possible, open a terminal and do:

sudo apt update
sudo apt install git dkms build-essential
git clone https://github.com/morrownr/88x2bu.git
cd 88x2bu
sudo ./install-driver.sh 

Reboot. Your wireless should now be working.