标签:
1. ifconfig
查看网卡信息
2. /etc/init.d/network restart
网络重启
提示错误
This device is not active
分析
network mangager 与 /etc/init.d/network冲突
停止 network manager
3. service NetworkManager stop
4. ifconfig
eth0 系统中的第一块物理网卡
lo 虚拟的回环网卡
virbr0 虚拟网桥
问题无eth0
5 vim /etc/sysconfig/net-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
HWADDR="00:0C:29:57:E1:C2"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
UUID="f631125c-836b-4866-b7cd-063b034bec26"
将NM_CONTROLLED="no"改为yes
6 重启网卡 /etc/init.d/network restart
标签:
原文地址:http://www.cnblogs.com/chengfangming/p/4803478.html