Solve the problem of no network in CentOS 6.5 installation

  
                  

Yesterday I got a CentOS 6.5 Minimal version. After installing it under VMware 10, I found that I can't get online, and PING's external network is also PING.

Searched on the Internet and found that after the Linux installation, the network card is not activated by default, let's modify the configuration file of the network card. Setp1
code below

cd /etc /sysconfig /network-scripts /

Setp2
code below

vi ifcfg-eth0 //modify yes DEVICE = eth0 HWADDR =00:0C:29:2E:37:F0 TYPE=Ethernet UUID=69cd9740-184f-49b7-857f-e397e57f265b ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp

Save and exit after modification
< Br>

Setp3
Code is as follows

//Restart the network /etc/init.d/network restart //View IP ifconfig //Ping test ping www.111cn.net

Enjoy Now are recorded at the


after each encounter solve the problem, after a good look. Everyone has any VPS related questions that can be discussed together.

Copyright © Windows knowledge All Rights Reserved