That makes no sense. Instead, start by making sure that the driver (and firmware) is loaded with the OS of your choice....
Code:
lspci -nnk|egrep -iA3 "wireless|network"
Code:
dmesg | egrep -i "rtl8822be|firmware"
Wireless network device node present?
If that checks out, move on finding out why you can't get the device associated with the desired network.