Effective solution for Ubuntu in virtual machine not being able to connect to the network: 1. Ubuntu network settings: Click [System Settings]-->[Network]-->[Wired]-->[Options…] in sequence, as shown in the following figure: 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 (in disconnected state): Click [Edit]-->[Virtual Network Editor…] in sequence, as shown in the following figure: Click [RestoreDefault], as shown below: 3. Set the virtual machine Internet access method to NAT: When the virtual machine is powered off, double-click [Network Adapter], as shown in the following figure: Check [Connect at startup], select [NAT mode], and finally click [OK] as shown below: 4. Witness the results: After the above settings, first connect to the Internet on the host machine, then start the virtual machine Ubuntu. You don’t need to do anything, but when you see the icon shown in the upper right corner, it means that the virtual machine is able to connect to the Internet. You can directly open Firefox to surf the Internet. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: MySQL paging performance exploration
>>: A detailed explanation of how React Fiber works
1. Install Apache # yum install -y httpd httpd-de...
Table of contents transition hook function Custom...
Table of contents 1. Steps to use Jquery: (1) Imp...
Introduction to Positioning in CSS position attri...
Copy code The code is as follows: <html> &l...
question Adding the type of uploaded file in acce...
Table of contents Introduction Four characteristi...
The previous article introduced two methods to ch...
Table of contents Preface 1. Routing lazy loading...
Table of contents 1. Date 2. RegExp 3. Original p...
I accidentally found that Vue.$set was invalid in...
The mysql service is started, but the connection ...
1 Start the Docker service First you need to know...
Linux: Linux version 3.10.0-123.9.3.el7.x86_64 Ng...
1. Construction 1. Prepare htpasswd.txt file The ...