Home > System Tutorial > LINUX > body text

Solve the problem that the network card cannot be found after CentOS 7 installation

WBOY
Release: 2024-01-15 09:39:06
forward
1190 people have browsed it

Recently, the network card was missing after centos7 was installed. Finally, I found a way: let’s go and have a look with the editor.

Question one:

I recently picked up python again and installed a virtual machine. In order to be lazy, I used the VM to install the centos7 system. After the installation, I found that there was only ifg-lo and no other network cards. Someone on the Internet said that just add an eth0 and set the basic parameters, but this does not apply to centos7, or my skills are not at that level. Ha ha

Solution:

Use Notepad to open the vmx file in the virtual machine directory and add a line ethernet0.virtualDev = “e1000”

Then restart the virtual machine, ip addr will find that there is one more network card that was originally missing

At this time, just continue to add new network card settings in /etc/sysconfig/network-scripts/

service network restart Restart everything ok

Question 2:

When using a virtual machine to install the system, sometimes it will prompt that Hyper-V is incompatible, especially after just installing Docker.

Solution:

Control Panel-Programs and Features-Turn Windows features on or off-Hyper-V is turned off

I remember that when I installed Docker, many things in the database were not saved and I restarted directly... Depressed

The above is the detailed content of Solve the problem that the network card cannot be found after CentOS 7 installation. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template