introduction
The VMWare I used before was a 30-day trial version, which expired today, so I randomly found the activation code online and reactivated it. However, when I reopened Ubuntu, my virtual machine actually had no network at all, haha!
Solution:
Open the terminal and enter the following three commands in sequence:
sudo nmcli networking off
sudo nmcli networking on
sudo service network-manager restart
Then close the client and restart VWMare. Open our ubuntu again and you will find that there is a network again! ! ! !