IT/Hardware/USB-WiFi
Drivers
In order to determine what driver you need, you must first find out what USB-Wifi adapter you are using. To do so use
lsusb
You may need to dig deeper
to list all USB devices connected to your computer and look for the WiFi adapter.
sudo lshw -C network
These two pages give great information.
PowerSave
Sometimes the wireless NIC will drop ever so many minutes. This is likely a powersave issue.
Change the powersave value to 2 from 3
/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Has limited success on 8812cu chipset
Another option which may likely work better is to use tlp
systemctl enable tlp.service
RTLwifi PPA
To install a driver from this repository, download the repository using the following command:
sudo add-apt-repository ppa:kelebek333/kablosuz
Then open Synaptic Package Manager, search for rtl and mark the driver you need for installation and apply changes.
Original Source: https://ubuntuhandbook.org/index.php/2021/01/install-rtl8188eu-rtl8723ds-drivers-ppa-ubuntu-20-04/