My system is Ubuntu 20.04.3 LTS, and I'm having problems related to the wifi USB mentioned above. Before installing the driver, re-plugging the device would solve the problem until the next reboot.
Then, I've followed the instructions in this repository (https://github.com/Mange/rtl8192eu-linux-driver), which after a reboot, worked for a few days, then stopped. Wireless only worked again when I restarted the router, which enabled temporary internet access for this desktop for a few hours. Sometimes, on rare occurrences, the network manager would report status as having internet access, but there isn't (I've tested this). This is the picture of it.
I had wiped Windows 10 to install Ubuntu and this is the only error I have. Other devices can connect to the network normally, without the need to reboot the router. I've found a way to generate a diagnostic for my network problem (My wireless/WiFi connection does not work. What information is needed to diagnose the issue?). This is the wifi status file I generated from that Ask Ubuntu thread (https://pastebin.com/CwAyt2zJ). The Redmi network device you see in the diagnostic is my Redmi phone which I use as a USB tether for this desktop. I've gone through many question thread in this community and none solved my issue.
If you ask about the Wifi status when I boot the live Ubuntu USB, it worked fine without any interruptions. I don't know how different is the driver structure between the Live USB Ubuntu and Ubuntu in my computer hard drive. I do know that some maintenance software such as GParted are available out-of-the-box on the Live USB.
I appreciate any help. Thanks for helping!