“Device eth0 does not seem to be present”解决办法
来源:互联网 发布:淘宝网中老年裙子 编辑:程序博客网 时间:2024/06/12 22:57
在KVM中克隆出新的CentOS虚拟机时,出现如下问题:
# service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
用ifconfig查看发现缺少eth0,只有lo;用ifconfig -a查看发现多出了eth1的信息。
解决办法1:
# mv /etc/sysconfig/network-scripts/ifcfg-eth0 /etcsysconfig/network-scripts/ifcfg-eth1
将eth0的mac地址改为eth1的mac地址,同时改变其DEVICE名称为eth1,再重启网络即可。
解决办法2:
# rm -rf
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
用ifconfig查看发现缺少eth0,只有lo;用ifconfig -a查看发现多出了eth1的信息。
解决办法1:
# mv /etc/sysconfig/network-scripts/ifcfg-eth0 /etcsysconfig/network-scripts/ifcfg-eth1
将eth0的mac地址改为eth1的mac地址,同时改变其DEVICE名称为eth1,再重启网络即可。
解决办法2:
# rm -rf
/etc/udev/rules.d/
70
-persistent-net.rules
# reboot
总之,
只要保证/etc/sysconfig/network-scripts/ifcfg-eth0与/etc/udev/rules.d/70-persistent-net.rules的信息一致即可,即网卡地址与网卡编号一致,这样service network restart 就可以配置成功。
0 0
- “Device eth0 does not seem to be present”解决办法
- “Device eth0 does not seem to be present”解决办法
- “Device eth0 does not seem to be present”解决办法
- “Device eth0 does not seem to be present”解决办法
- pcnet32 device eth0 does not seem to be present
- Device eth0 does not seem to be present
- Device eth0 does not seem to be present
- device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present
- Device eth0 does not seem to be present, delaying initialization
- Linux解决Device eth0 does not seem to be present
- device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present delaying initialization
- device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present
- Device eth0 does not seem to be present, delaying initialization.
- 对象复制
- 类字节大小,字节对齐相关
- 分治与递归法:全排列问题
- pandas 模块学习
- 集算器协助报表工具实现跨行运算
- “Device eth0 does not seem to be present”解决办法
- Azkaban Quick Start
- linux命令
- PAT1010(BUG)
- Deepin_1
- 安装最新Mysql community server 5.7.10社区版的坑爹经历
- python datetime模块
- leetcode笔记:Word Search
- input与raw_input的区别