导入已经安装好的Redhat系统 重启网卡 提示 “Device eth0 does not seem to be present, delaying initialization.”
来源:互联网 发布:php分销源码 编辑:程序博客网 时间:2024/06/07 07:26
前言:本文主旨在于了解centos系统下,是由/etc/udev/rules.d/70-persistent-net.rules 文件绑定网卡与mac地址。与解决某些对应情况的办法。非一定只在vbox上出现。笔者是在vm中发现这个问题的。
问题:
在VirtualBox中导入了一个已经存在的REL6的虚拟机,启动之后发现网卡没有启动。于是重启一下network服务和eth0,
——>发现提示错误信息“Device eth0 does not seem to be present, delaying initialization.”
原因:
由于70-persistent-net.rules这个文件确定了网卡与MAC地址的绑定,导入已经存在的虚拟机后,但网卡的MAC地址发生了变化,所以导致系统认为网络设备不存在。
解决方法:
1、删除 /etc/udev/rules.d/70-persistent-net.rules 后重启eth0。
2、经过这样的处理后eth0还不能正常启动,就将 70-persistent-net.rules 文件最后的修改"eth1"为"eth0",然后将/etc/sysconfig/network-scripts/ifcfg-eth0中的MAC地址修改为 /etc/udev/rules.d/70-persistent-net.rules文件中所记录的地址,重启机器,eth0可以正常启动了。
最佳方法:
对于这个其实最好还是更改vbox自己的网卡mac地址,是可以手动指定的,把地址设为原来的就好。
/etc/sysconfig/network-scripts/ifcfg-eth0
参照这里可以知道之前的地址
因为不知道有没有基于网卡去其他设置,所以单独改ifcfg-eth0适应新地址有风险
碰上之前多了网卡绑定的其他程序就不好啦
参照这里可以知道之前的地址
因为不知道有没有基于网卡去其他设置,所以单独改ifcfg-eth0适应新地址有风险
碰上之前多了网卡绑定的其他程序就不好啦
0 0
- 导入已经安装好的Redhat系统 重启网卡 提示 “Device eth0 does not seem to be present, delaying initialization.”
- linux 复制虚拟机时重启网卡出现错误: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, 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 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,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, 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,delaying initialization
- Device eth0 does not seem to be present,delaying initialization.
- HDU 1753 大明A+B
- 数据结构之双链表
- PHP操作SQLITE
- 第七章--高质量的子程序
- Microsoft Dynamics CRM Server 2013 硬件要求
- 导入已经安装好的Redhat系统 重启网卡 提示 “Device eth0 does not seem to be present, delaying initialization.”
- 下载 Windows Technical Preview
- iOS自己实现一个单例
- Extjs (numberfield validate )
- 堆栈应用之括弧匹配
- htonl、ntohl、htons、ntohs函数实现
- Android 下权限 一览表
- 第八章--防御式编程
- 【iOS开发-33】学习手动内存管理暂时抛弃ARC以及retain/assign知识——iOS工程师面试必考内容