Home > Operation and Maintenance > CentOS > What should I do if I can't find the network card under centos?

What should I do if I can't find the network card under centos?

王林
Release: 2020-03-31 11:18:15
Original
5461 people have browsed it

What should I do if I can't find the network card under centos?

Problem:

The network card cannot be found after centos is installed on the virtual machine.

Environment:

1. Virtual machine: virtual Box

2. System: centOS 6.5

(Recommended tutorial: centos tutorial)

Solution:

1. Select bridge mode on the virtual machine

What should I do if I cant find the network card under centos?

2. Find the network card configuration file

#cd /etc/sysconfig/network-scripts/
#ls
Copy after login

3. Edit ifcfg-eth0

#vim ifcfg-eth0
Copy after login

What should I do if I cant find the network card under centos?

4. Set onboot=yes for startup

5. After modifying and saving, restart network service

#service network restart
Copy after login

What should I do if I cant find the network card under centos?

Recommended related video tutorials: linux video tutorial

The above is the detailed content of What should I do if I can't find the network card under centos?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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