CentOS:Device eth0 does not seem to be present 问题解决方法
来源:互联网 发布:王牌特工知乎 编辑:程序博客网 时间:2024/05/18 00:01
使用Vmware克隆linux虚拟机后,常常是网络连接不上,表现为ifconfig无法看到网卡,即使改了/etc /sysconfig/network-scripts/下的相应网卡文件onboot=yes也不行,重启网络时(/etc/init.d /network restart)会出现以下错误提示:
"Device eth0 does not seem to be present, delaying initialization."
这是由于克隆机的网卡配置文件错误导致的,解决方法:
1.打开/etc/udev/rules.d/70-persistent-net.rules 文件。
2.查找到匹配你机器MAC地址的行,将其“NAME”字段改为你现在下在使用的网卡设备名(eth0,eth1,eth2等),再将其他MAC不匹配的行删除或注释掉。如:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:19:2D:3F:52", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:19:2D:3F:53", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
3.请将/etc/sysconfig/network-scripts/ifcfg-ethX(要改的网卡名)文件中的MAC地址和网卡名也作相应更改,并将onboot改为yes.
4.重启虚拟机,这是必须的。
注:在第二步里正确的mac地址要到Vsphere client 的管理界面Edit setting去查看,而不是在系统中/etc/sysconfig/network-scripts/中那个。
"Device eth0 does not seem to be present, delaying initialization."
这是由于克隆机的网卡配置文件错误导致的,解决方法:
1.打开/etc/udev/rules.d/70-persistent-net.rules 文件。
2.查找到匹配你机器MAC地址的行,将其“NAME”字段改为你现在下在使用的网卡设备名(eth0,eth1,eth2等),再将其他MAC不匹配的行删除或注释掉。如:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:19:2D:3F:52", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:19:2D:3F:53", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
3.请将/etc/sysconfig/network-scripts/ifcfg-ethX(要改的网卡名)文件中的MAC地址和网卡名也作相应更改,并将onboot改为yes.
4.重启虚拟机,这是必须的。
注:在第二步里正确的mac地址要到Vsphere client 的管理界面Edit setting去查看,而不是在系统中/etc/sysconfig/network-scripts/中那个。
0 0
- [centos] Linux下"Device eth0 does not seem to be present,delaying initialization."问题解决方法.
- CentOS:Device eth0 does not seem to be present 问题解决方法
- centos device eth0 does not seem to be present解决方法
- CENTOS Device eth0 does not seem to be present
- CentOS: Device eth0 does not seem to be present
- centos eth0网络设置报错:Device eth0 does not seem to be present, delaying initialization.
- 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
- CISCO ACL 限制ip及端口配置
- UVa 10976 分数拆分
- HDU 1257
- hdu4277
- 【机房合作】重新认识外观模式
- CentOS:Device eth0 does not seem to be present 问题解决方法
- Android ORM数据库框架对比
- 海外优秀资源清单,建议中高级人材收藏
- 编写C++中的两个类 一个只能在栈中分配空间 一个只能在堆中分配
- [初学hadoop]错误信息:Wrong FS: hdfs://localhost:9000/user/... expected:&nb
- 黑马程序员---OC基础---内存管理(MRC、ARC)
- 数据结构实验之图论二:基于邻接表的广度优先搜索遍历
- Apache+Tomcat负载均衡两种session共享方式的设置
- NYOJ 305 表达式求值(递归)