centos网卡错误Device eth0 does not seem to be present
在使用vmware及VirtualBox迁移linux系统过程中,发现部署后的linux系统无法启动网卡
报错为
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization
错误原因,是因为linux网卡绑定了原mac地址导致
解决方法为
1.使用ifcnfig -a 查看当前主机mac地址
2.修改eth0网卡硬件地址为当前地址
vi /etc/sysconfig/network-scripts/ifcfg-eth0
保存退出
其实在network-scripts下查看是没有eth1网卡的
3.删除70-persistent-net.rules文件
rm -rf /etc/udev/rules.d/-persistent-net.rules
4.重启系统
reboot -h now
一切OK
实践发现:其实可以在eth文件里不设置mac地址,直接删除70-persistent-net.rules文件重启就可以了。
DEVICE="eth2"
TYPE="Ethernet"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="dhcp"
#HWADDR="08:00:27:2f:c7:ff"
参考:
【网络】CentOS6.5下设置静态IP - 悟空 - 开源中国社区
http://my.oschina.net/allman90/blog/294847
linux centos 网卡错误 Device eth0 does not seem to_晨风_新浪博客
http://blog.sina.com.cn/s/blog_44f9e27501017hku.html
centos网卡错误Device eth0 does not seem to be present的更多相关文章
- Linux_解决启动网卡失败 Device eth0 does not seem to be present
Linux_解决启动网卡失败 Device eth0 does not seem to be present 虚拟机克隆 发现service network restart 启动失败 故障现象: ...
- 解决vmware虚拟机克隆后启动centos报错device eth0 does not seem to be present, delaying initialization
centos启动报错: device eth0 does not seem to be present, delaying initialization ifcfg-eth0的配置文件里保存了以前的M ...
- CentOS Linux解决Device eth0 does not seem to be present 但是没有发现eth1
http://www.linuxidc.com/Linux/2012-12/76248.htm 此标题已经是有人写过的了.但是为什么拿来重写? 我复制完,没有发现有eth1这个网卡 为什么呢?需要选中 ...
- 【转】CentOS Linux解决Device eth0 does not seem to be present(linux)
原文来自:http://www.linuxidc.com/Linux/2012-12/76248.htm 在VMware里克隆出来的CentOS Linux.. ifconfig...没有看到eth0 ...
- CentOS Linux解决Device eth0 does not seem to be present【转】
在VMware里克隆出来的CentOS Linux,ifconfig...没有看到eth0,然后重启网卡又报下面错误. 故障现象: service network restartShutting do ...
- Linux CentOS 6 解决 Device eth0 does not seem to be present
一.故障现象: [root@c1node01 ~]# service network restart Shutting down loopback insterface: ...
- centos 6.9:device eth0 does not seem to be present
VMware上安装centos6.9,克隆一个新虚机,网卡不能桥接获得宿主机网络地址. https://blog.csdn.net/xiaobei4929/article/details/405152 ...
- Centos 6版本Device eth0 does not seem to be present,delaying initialization.故障处理
1.1 故障现象 2019年06月14日晚上,公司项目组说有台业务服务器连接不上,比较着急,我通过vpn拨入的方式远程登录到管理控制台查看发现网卡没有获取到IP地址,我尝试重启来重新启动,重启的时候 ...
- 启动网卡报:Device eth0 does not seem to be present”解决办法
Device eth0 does not seem to be present”解决办法 : 用ifconfig查看发现缺少eth0,只有lo:用ifconfig -a查看发现多出了eth1的信息. ...
随机推荐
- iOS真机调试问题-App installation failed,The maximum number of apps for free development profiles has been reached.
The maximum number of apps for free development profiles has been reached. 源引:http://www.jianshu.com ...
- C# upnp
//获取Host Name var name = Dns.GetHostName(); Console.WriteLine("用户:" + name); //从当前Host Nam ...
- php字符串赋值到js的坑
很早以前的一个比较坑的问题,今天又遇到了,记录一下,免得以后再次入坑. 把php赋值到view层时,如果不是直接渲染到页面,而是赋值给变量.字符如果有回车或者换行就会出现问题. 示例: <?ph ...
- TableView刷新指定的cell 或section
//一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:]; [tableview reloadSections:ind ...
- hadoop2.0单机安装
hadoop发行的版本:apache hadoop;HDP;CDH -----这里只使用apache hadoop---可以在网站hadoop.apache.org网站上找到 hadoop安装方式:自 ...
- hibernate多表查询,结果封装在自己定义的一个实体类当中(在自己定义的类中增加构造函数)
hibernate的hql查询直接返回java对象时出现问题3 向大家请教一个问题,现在有三张表,表之间没有关联,我需要将三张表里面的所有东西查询出来存储到一个新的对象中,该如何实现,使用hibern ...
- iptables文件
# Firewall configuration written by system-config-firewall# Manual customization of this file is not ...
- CoreLocation框架的使用---地理编码
#import "ViewController.h" #import <CoreLocation/CoreLocation.h> @interface ViewCont ...
- @Html.Partials 加载分布视图传参数
如何在视图中利用 viewData参数和model参数,示例如下 <body> <div style="background:#ffd800;width:200px;pad ...
- elasticsearch-索引
1.创建新索引 PUT:http://localhost:9200/twitter { "settings" : { "number_of_shards" : ...