Device eth0 does not seem to be present,delaying initialization.
2015-09-04 22:54
495 查看
克隆出来的CentOS
配置好IP后出现
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization.
[FAILED]
1.查看MAC地址
2.修改MAC地址
HWADDR修改为08:00:27:5A:7D:0B
DEVICE修改为eth1
配置好IP后出现
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization.
[FAILED]
1.查看MAC地址
[jifeng@feng02 ~]$ cat /etc/udev/rules.d/70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # PCI device 0x1022:0x2000 (pcnet32) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:54:7d:be", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x1022:0x2000 (pcnet32) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:5a:7d:0b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" [jifeng@feng02 ~]$
2.修改MAC地址
HWADDR修改为08:00:27:5A:7D:0B
DEVICE修改为eth1
[jifeng@feng02 ~]$ vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth1 HWADDR=08:00:27:5A:7D:0B TYPE=Ethernet UUID=05657a14-adee-4dbb-93b0-2caf19833b15 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=192.168.0.109 NETMASK=255.255.255.0 GATEWAY=192.168.0.1 DNS1=192.168.0.1
相关文章推荐
- expect
- 域传送漏洞总结
- 机器学习实战Logistic回归笔记
- 我看原型链
- Leetcode229 Majority Element II
- C++标准库笔记之一 Chapter 3 New Language Features
- HDU 5035 Delivery (2014年北京赛区网络赛D题)
- Android之Thread与Service
- mongodb学习04 操作详解(2)
- KVC的步骤 以及重点
- xml的增,删,改,查
- C++Primer新笔记之----第12章 动态内存与智能指针
- 已知二叉树的前序和中序遍历,构建该二叉树
- parseInt() 和强制转换的区别(int)
- VirtualBox快捷键
- 第三方应用分享到微信朋友圈功能
- Codeforces Gym 100339I Sum vs Product 剪枝搜索
- 面试题搜集
- MFC中获得各个类的指针/句柄 ID的总结
- 项目问题总结