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
Compared with vue2, vue3 has an additional concep...
Linux often encounters situations such as adding ...
Installation Script Ubuntu / CentOS There seems t...
Nested use of MySQL ifnull I searched online to s...
1. Introduction It has been supported since versi...
Table of contents Prepare Five weapons for…in Obj...
Table of contents 1. Introduction 2. Understand t...
When I wrote the Redis book and the Spring Cloud ...
When server B (172.17.166.11) is powered on or re...
Question: In index.html, iframe introduces son.htm...
I encountered this problem before when developing...
The nginx logs are collected by filebeat and pass...
Table of contents 1. Installation requirements 2....
I love coding, it makes me happy! Hello everyone,...
Table of contents 1. Content Overview 2. Concepts...