Solution to the virtual machine ubuntu16.04 cannot connect to the Internet

I just installed and played Ubuntu, and there is no Internet connection after opening it. Click the data connection in the upper right corner, it shows that the Internet has been activated, but the Internet still cannot be accessed with Firefox.

The solution is as follows:

First check the network adapter of the virtual machine: click Edit in the upper left corner of the virtual machine, there is a network adapter inside

Then enter to edit the virtual machine settings. Friends who have read the previous installation of Ubuntu know that we clicked on the NAT setting when we installed it.

Here we want to change to custom: specific virtual network, select VM8, the reason can be seen in the network adapter diagram above

After the setting is complete, go to the virtual machine again

In this way, the virtual machine has a network, and the problem is solved.

The above is the whole content of this article, I hope it will be helpful to everyone's study.

Recommended Posts

Solution to the virtual machine ubuntu16.04 cannot connect to the Internet
Solution to the problem that ubuntu cannot connect to the Internet in the virtual machine
Xshell and Xftp fail to connect to the virtual machine Ubuntu
Solution for Ubuntu unable to connect to the network
The same solution for cloning ubuntu18 virtual machine ip
centos7 cannot connect to the external network
Install Ubuntu 18.04 in the virtual machine VMware
Solution to ubuntu unable to surf the Internet after plugging in the network cable
How to expand the ubuntu LVM partition of a VirtualBox virtual machine
How to make the ubuntu virtual machine in vmware display in full screen
Explain the solution to the Ubuntu 16.04 launcher icon exception
The solution to the failure to install .deb under Ubuntu 16.04
Solution to the slow speed of ubuntu18.04 wireless network
Install ubuntu on virtual machine
Ubuntu14.04 creates Genymotion virtual machine
Virtual machine VirtualBox-5.1 install ubuntu16.0.1
Explain the solution to the freeze when ubuntu dual system starts
Virtual machine Linux Ubuntu installation tutorial
Remotely connect to Ubuntu via XShell
ubuntu16.04 method steps to upgrade the kernel
Ubuntu modified the default sh to bash
How to connect to wifi on ubuntu20.04 (2 types)
Vagrant quickly builds Ubuntu virtual machine environment
Install R package on UBUNTU virtual machine
How to modify the hostname on Ubuntu 20.04
Analysis on the method of CentOS8 virtual machine to access Windows10 host folder
Putty remote login VMware virtual machine Linux (Ubuntu12.04)
Use the command to solve the Ubuntu projector problem:
Virtual machine installation and configuration ubuntu shared folder_
How to open the ubuntu system in win10
Use Ubuntu and windows system in virtual machine
The road to reinstallation of ubuntu 18.04 from scratch
Wsl sets the default account to root (ubuntu18.04)
Publish the node.js project under Ubuntu to heroku
The ultimate guide to install gooderp on ubuntu
Remotely connect to MySQL database in Ubuntu environment
Introduction to the use of Hanlp in ubuntu
How to run the parsing server on Ubuntu 14.04
Solution to pycharm unable to import classes under Ubuntu
How to check the installed JDK on Ubuntu
How to install the latest MySQL on Ubuntu 18.04