Refer to this post
sudo apt update
sudo apt install -y git linux-headers-generic dkms
wget https://github.com/RinCat/RTL88x2BU-Linux-Driver/archive/master.zip
unzip master.zip
cd RTL88x2BU-Linux-Driver-master
sudo make uninstall
make clean
make
sudo make install
sudo modprobe 88x2bu
sudo reboot
Or
cd RTL88x2BU-Linux-Driver-master
sudo dkms add .
sudo dkms autoinstall
sudo reboot
You'll need to install Network-Manager:
sudo apt update && sudo apt install -y network-manager
Then, create Wifi Access Point:
nmcli d wifi hotspot ifname <wifi_iface> ssid <ssid> password <password>
run ip a
to determine <wifi_iface>
, should be something like wlx......
. You name <ssid>
and <password>