Solution for Ubuntu unable to connect to the network

Effective solutions for Ubuntu unable to connect to the network in the virtual machine:

1、 Ubuntu network settings:

Click [System Settings] -> [Network] -> [Wired] -> [Options...], as shown in the figure below:

Select [General] in turn, check the radio button as shown in the figure below, and finally click [Save], as shown in the figure below:

Select [IPv4 Settings] in turn, select [Automatic(DHCP)] in the following Method, and finally click [Save], as shown in the following figure:

2、 Restore the default settings of the virtual network (when the network is disconnected):

Click [Edit] -> [Virtual Network Editor...], as shown in the figure below:

Click [RestoreDefault], as shown below:

3、 Set the Internet access mode of the virtual machine to NAT:

In the virtual shutdown state, double-click [Network Adapter], as shown below:

Check [Connect at startup], select [NAT Mode], and finally click [OK] as shown in the figure below:

4、 Witness the results:

After the above settings, first connect to the Internet on [Host] (https://cloud.tencent.com/product/cdh?from=10680), and then start the virtual machine Ubuntu. There is nothing to do, but when you see the icon shown in the upper right corner, it means that the virtual machine is able to Once you are connected to the Internet, you can directly open Firefox to surf the Internet.

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

Recommended Posts

Solution for Ubuntu unable to connect to the network
Solution to ubuntu unable to surf the Internet after plugging in the network cable
Solution to the virtual machine ubuntu16.04 cannot connect to the Internet
Solution to the slow speed of ubuntu18.04 wireless network
centos7 cannot connect to the external network
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 problem that ubuntu cannot connect to the Internet in the virtual machine
Solution to pycharm unable to import classes under Ubuntu
The same solution for cloning ubuntu18 virtual machine ip
What are the methods for python to connect to mysql
Xshell and Xftp fail to connect to the virtual machine Ubuntu
Explain the solution to the freeze when ubuntu dual system starts
Remotely connect to Ubuntu via XShell
ubuntu14.04 sets the desktop to display network speed, cpu information, etc.
ubuntu16.04 method steps to upgrade the kernel
Solution for Postgresql uninstall error under Ubuntu
Ubuntu modified the default sh to bash
How to connect to wifi on ubuntu20.04 (2 types)
How to modify the hostname on Ubuntu 20.04
Use the command to solve the Ubuntu projector problem:
How to open the ubuntu system in win10
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
Steps to add toolkit for Matlab_Linux under ubuntu
The use of crontab for ubuntu scheduled tasks
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
How to check the installed JDK on Ubuntu
How to install the latest MySQL on Ubuntu 18.04
xshell connect ubuntu
The tutorial for upgrading from Centos7 to Centos8 (detailed graphic)
Use the command line to detect the Ubuntu version method
How to add the gzip module to Nginx on Ubuntu 14.04
How to set up Ghost one-click app for Ubuntu 16.04
How to turn the language of Ubuntu into Chinese? ?
How to view detailed network routing table in Ubuntu
How to configure DNS for Ubuntu to make it permanent
Solutions to the black screen when installing ubuntu (3 types)