centos6.5 宽带连接

Centos默认不会建立本地连接,至少在虚拟机里是这样,自己新建一个就行了:
1.cd /etc/sysconfig/network-scripts/
2.vi ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
NM_CONTROLLED=yes
保存退出。
3.重启网络
/etc/init.d/network restart
原文地址:https://www.cnblogs.com/bushe/p/5145936.html