首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

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

2012-12-21 
Centos 5.3启动时提示:Determining IP information for eth0… failed no link present. ChCentos 5.3启动

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

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

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

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

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

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

热点排行