Cannot get USB Wifi adapter to work in Fedora 37

Make sure to disable Secure Boot in BIOS/EFI and then build the modules with DKMS:

sudo dnf install git dkms kernel-devel openssl
sudo git clone https://github.com/cilynx/rtl88x2bu.git \
/usr/src/rtl88x2bu-git
sudo sed -i -e "/^MAKE/s|\ssrc=\S*VERSION||
/^DEST_MODULE_LOCATION/s|/.*/net|/extra|" \
/usr/src/rtl88x2bu-git/dkms.conf
sudo dkms add rtl88x2bu/git
sudo systemctl restart dkms.service
sudo tee /etc/modules-load.d/rtl88x2bu.conf << EOF > /dev/null
88x2bu
EOF
sudo systemctl restart systemd-modules-load.service