CentOS6.5 mini默认无法上网

1.编辑network配置

vim /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
HWADDR=00:0C:29:4E:B7:C9
TYPE=Ethernet
UUID=a3d55d06-78fe-4542-a44a-d95cb5667cd6
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp

修改ONBOOT值为yes

2.重启network服务

service network restart




你可能感兴趣的:(CentOS6.5 mini默认无法上网)