Centos 5.3启动时揭示:Determining IP information for eth0… failed; no link present. Ch

Centos 5.3启动时提示:Determining IP information for eth0… failed; no link present. Ch
Centos 5.3启动时提示:Determining IP information for eth0… failed; no link present. Check cable?

我遇到的原因是我在另外一个硬件环境下面安装的系统,把硬盘换到现在的硬件环境,导致识别网卡时有些问题,网上查到解决方法如下:
1 [root@hexuweb101 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

添加下面代码:
1 check_link_down () {
2        return 1;
3 }

我有一个集成网卡,和独立网卡,所以我要所上面的代码加到两个地方:
1 [root@hexuweb101 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth1

接下来,重起网络
1 [root@hexuweb101 ~]# ifup eth0
2 Determining IP information for eth0... done.

好了,看到上面的提示说明已经成功,可用用ifconfig检查自己是否已获得有效IP:
1 [root@hexuweb101 ~]# ifconfig

用service network restart 或 /etc/init.d/network restart