No Wi-Fi adapter when running Ubuntu 20.04 on LENOVO V145-15AST

Solution 1:

Connect to internet and run in a terminal

sudo apt update
sudo apt install git dkms
git clone https://github.com/lwfinger/rtw88.git
sudo dkms add ./rtw88
sudo dkms install rtlwifi-new/0.6

Then reboot.