The RTL8822be chipset does not have a compatible driver when using kernel 5.0 and above. As a result, either your wifi adapter will be undetected or you will be unable to see any visible networks when scanning. I've tried many suggestions online but none of them worked for me.
            Asked
            
        
        
            Active
            
        
            Viewed 1.5k times
        
    2 Answers
0
            
            
        I have Lenevo Legion y530 with realtek 8822be wifi driver. I had spent days of figuring out how to install realtek driver and finally made it work on Ubuntu 18.04. Here are the steps along when you are in a given situation.
Fresh installation of Ubuntu where you can see the Wifi option in the top right corner but don't see any network
- Go to https://github.com/lwfinger/rtw88 and follow all the steps. Restart the PC and you should get the wifi working. If this doesn't work then do the following:
 - Check the modules loaded using 
lsmod|grep rtw. If there are modules starting with prefix other than "rtw_" then blacklist them. Reinstall the drivers from step1. - Check the dmesg using 
dmesg|grep rtwand look for error messages. If it is :Refused to change power state, currently in D3then create a file/etc/modprobe.d/50-rtw_pci.confand write the following in it:options rtw_pci disable_aspm=y disable_msi=y. 
Don't see the wifi adapter itself in top right corner
- Run 
echo "options r8822be aspm=0" | sudo tee /etc/modprobe.d/r8822be.conf, install the drivers again and reboot. 
ACPI BIOS error during boot which indicates wifi driver can't be read
- Install 5.1 kernel and boot into it. Then quit and start your normal kernel version(may be 5.4 or so).
 
        Manish
        
- 121