Solution to the problem of no network when opening Ubuntu after activating VMWare

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! ! ! !

Reference article: How to solve the problem of no network connection in ubuntu, and you can’t even see the icon displayed for the connection! ! ! ! _What should I do if ubuntu cannot access the Internet and the graphical interface is broken_Studying one's blog-CSDN blog

 

 

Guess you like

Origin blog.csdn.net/qq_39149619/article/details/132186447