网卡启动错误解决方法,
在重启网卡的过程中出现如下错误:
shell# /etc/init.d/networking restart
* Reconfiguring network interfaces...
eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
解决办法:
删除配置规则缓存文件,重启后会根据现在的网络配置重新生成,然后重启
shell# rm -rf etc/udev/rules.d/70-persistent-net.rules
shell# reboot
重启后会发现网卡正常启动