Determining IP information for eth0...failed 错误解决

Posted Michael_Tong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Determining IP information for eth0...failed 错误解决相关的知识,希望对你有一定的参考价值。

问题描述:虚拟机使用wget命令上网,执行service network restart后出现如下错误
Determining IP information for eth0...failed
解决办法:
step1:修改/etc/sysconfig/network-scripts/ifcfg-eth0 BOOTROTO=dhcp
step2:向如下三个文件中添加如下代码

check_link_dowm()
{
return 1;
}

(1)/etc/sysconfig/network-scripts/ifcfg-eth0
(2)/etc/sysconfig/networking/devices/ifcfg-eth0
(3)/etc/sysconfig/networking/profiles/default/ifcfg-eth0
step3:设置PC为自动获取DNS,(也有其他方法)
step4:设置虚拟机自动获取ip
step5:重启系统!(注意:有时候执行service network restart等命令还是无用的)

以上是关于Determining IP information for eth0...failed 错误解决的主要内容,如果未能解决你的问题,请参考以下文章

linux虚拟系统determining IP information for eth0...failed

Determining IP information for eth0...failed解决方案之一

Determining if ip address is already in use for device eth0

yum 时一直停在Determining fastest mirrors 界面

cordova-plugin-network-information 1.3.0“网络信息”未检测到应用程序何时在线

e606. Determining Which Component or Window Has the Focus