TP-link TL-W823N and Archer T2U are popular wireless adapter options on the consumer market, but it seems their drivers are not included in the Ubuntu 22.04. This article will provide a cheat sheet to install their drivers on Ubuntu 22.04.
For TP-link TL-W823N,
sudo apt-get install dkms -y
git clone https://github.com/clnhub/rtl8192eu-linux
cd rtl8192eu-linux
sudo ./install_wifi.sh
For Archer T2U,
sudo apt install dkms git build-essential libelf-dev linux-headers-$(uname -r) -y
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo make dkms_install