What to do if Ubuntu cannot connect to the Internet [Setup Tutorial]

        In the process of using the virtual machine, it is found that Ubuntu cannot connect to the network. The virtual machine network is set to NAT mode or there is no network. It is likely that the following services are not started:

 1. Click [Virtual Machine]---[Settings]

 2. Confirm that the network adapter of the virtual machine is configured in NAT mode:

3. Return to the desktop of the physical machine, open the task manager (press Ctrl+Alt+Delete/Ctrl+Shift+Esc at the same time), and click the [Service] option:

 4. Click the option [Open Service]:

 5. Configure the service project to start state:

        Pull down to find VMware DHCP Service and VMware NAT Service, and you can find that their startup type is manual mode. We need to right-click and set the two services to start.

(1) Configure VMware DHCP Service:

 

 (2) Configure VMware NAT Service:

 

6. Close the relevant windows of the task manager, return to the virtual machine and wait for a few seconds to find that the virtual machine can use the network service normally.

Guess you like

Origin blog.csdn.net/TianHW103/article/details/126603768