Chinaunix

标题: eth0 does not seem bo be present,delaying initialization [打印本页]

作者: akai_feng    时间: 2008-12-16 17:53
标题: eth0 does not seem bo be present,delaying initialization
eth0 does not seem bo be present,delaying initialization

换主板了,结果网卡不激活,激活的时候出现这个提示,再这之前还有个提示好像是mac地址不匹配

谁遇到过这个问题,有办法解决么?
作者: changzi100    时间: 2008-12-16 18:52
主板换了那不是要相应的驱动么!
作者: kns1024wh    时间: 2008-12-16 20:56
标题: 回复 #1 akai_feng 的帖子
你的什么主板,如知道具体的型号,可以重新编译内核
作者: chenyx    时间: 2008-12-16 22:02
如果网卡型号没变的话,修改/etc/sysconfig/network-scripts/ifcfg-eth0
把其中MAC一行删除试试
作者: akai_feng    时间: 2008-12-17 09:22
主板的型号不一样,但网卡型号应该是一样的,都是集成网卡,从那个芯片上看,都是RTL8201CL。
作者: akai_feng    时间: 2008-12-17 09:30
硬件设备已经被我删掉了,本想重启后能自动找到设备,结果啥反应也没有,就像机器里没有网卡一样。
作者: akai_feng    时间: 2008-12-17 17:55
再顶一下,不知道怎么设置才可以让系统重新检测硬件
作者: akai_feng    时间: 2008-12-18 12:12
搞个块pci网卡装上,开机能检测,能配置,但是不能激活,提示网卡不存在,随便绑定一个MAC地址,提示mac地址不是预期的,绑定网卡的标签上的MAC地址,也提示mac地址不是预期的。

看样子是系统里面有以前那块网卡的信息,不知道在哪里可以找到?
作者: Eleswen    时间: 2009-02-24 18:15
我遇到同样的问题,换了个机箱。

启动后原来的eth0和eth1没有了,只有新的eth2和eth3
作者: Eleswen    时间: 2009-02-24 18:22
问题解决,参考:http://ephemeralvalue.com/?p=23

上述网页copy如下:
Cloning Ubuntu Server 7.10 on VMware ESX
After cloning a virtual machine running Ubuntu Server 7.10 I found that it didn’t have any network available. Restarting networking gave:

sudo /etc/init.d/networking restart

* Reconfiguring network interfaces...
eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
The problem lies in the fact that ethernet MAC addresses are cached. You need to remove a file to clear the cached value:

sudo rm /etc/udev/rules.d/70-persistent-net.rulesAfter a restart of your server you should have networking back again.

I also had to edit the following files to change the static ip addresses and hostname:

/etc/hosts - change ip address and hostnames
/etc/hostname - change hostname
/etc/network/interfaces - change ip address




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2