Under ubuntu, there may be reasons why there is no network. It may be that there is no driver for the network card. You need to compile and install it yourself to solve it.
Download address of rtl8852be network card driver under linux: https://github.com/HRex39/rtl8852be
Unzip after downloading
cd rtl8852be-main
sudo apt-get install build-essential
sudo apt-get install bc
make
sudo make install
sudo modprobe 8852be
The above can have wifi settings displayed
You can also update the following software with the following command before
sudo apt-get update
sudo apt-get upgrade
sudo apt autoremove