After Win7 is upgraded to Win10, CentOS cannot be connected to the Internet when the VM is installed.
In the past few days, Microsoft launched a new version of Windows 10 operating system, so I also tried Win10, which is a highlight of Windows 10 over Windows 10, it provides great convenience for users who start multiple programs to switch back and forth. Moreover, the online banking installed on Win7 can also be used normally, which is very good. Edge browsers are much faster than IE, and the multi-tag design is a bit similar to Chrome. The home page buttons are placed in the Advanced Settings like Chrome, which seems to be not supported by some websites, these websites can be opened with IE in the Edge browser.
Now, let's focus on it. After installing Win10, we also found some minor problems. For example, during each boot, WLAN connections are sometimes unstable and cannot automatically connect to the wireless network, as a result, you may have to set the network to select a network. Sometimes, when you enable multiple tasks, a crash occurs. You must force the shutdown to solve the problem. The "network config sample" dialog box is always displayed when the previously installed WiFi sharing wizard enables wireless sharing. As a result, no solution is available. CentOS 6.5 installed in VMware workstation cannot connect to the network. The solution is provided below.
Two services are not installed: VMware DHCP Service and VMware Net Service.
1. What are DHCP and NAT?
DHCP: I understand it as a network protocol. It is used to automatically assign IP addresses for automatic connection, instead of entering IP addresses manually.
NAT: when some hosts in the private network have already been assigned a local IP address (that is, only the private IP Address used in the private network ), however, if you want to communicate with hosts on the Internet (encryption is not required), you can use the NAT method. A physical machine is equivalent to a host server, while a virtual machine is equivalent to a client. They are in an intranet, and virtual machines need to go through the host to access the Internet. Therefore, NAT is required.
Ii. solution:
1. first, go to "Control Panel" --> "network and Internet" --> "view network connection" to see if it is set to automatically obtained (P.S or directly in the Win10 taskbar search box (this is also Win10) major features) directly search for "network connection:
Then select VMware Virtual Ethernet Adapt, which is the one listed in the figure. Right-click the attribute, select the one with IPv4, and double-click, then, "automatically retrieve IP addresses" and "automatically retrieve DNS servers" are set ". Then confirm. In the same step, set "Local Connection" (if connected with a network cable) or "wireless network connection" (if connected with a wireless network) it is also set to "automatically retrieve IP addresses" and "automatically retrieve DNS servers"
2. Open the Options page from VMWare to CentOS, and set "network connection" in the "Network Adapter" column to "NAT mode"
3. Choose "edit"> "Virtual Network Editor"> "Restore Default Settings" from the menu bar of the VM"
4. Have you installed the above two services? Win + R: Enter services. msc to enter the service:
5. next we will enter CentOS. If this is an internal error when the VM power key is enabled, this is because some VMware services are not enabled, in this case, open the following service in "service.
6. Let's go to CentOS to see if it is connected?
References:
Http://bbs.kafan.cn/thread-1288693-1-1.html
Http://blog.sina.com.cn/s/blog_4ed32a400100sxmc.html