VMware, ... eth0....failed - no link present check cable解决方法

VM, ... eth0....failed - no link present check cable解决方法

determining IP information for eth0...failed; no link present.check cable在VM虚拟机中装了WS3,准备配置产品的web环境weblogic,结果网络不通!无法激活,在输入ifup eth0后总提示: Dertermining IP information for eth0....failed - no link present check cable解决办法:
在/etc/sysconfig/network-scripts/ifcfg-eth0
中添加以下script:check_link_down() {
return 1;
}具体操作:
[root@localhost root]# cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# vi ifcfg-eth0# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=yes
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:0c:29:64:c2:5f
BOOTPROTO=dhcp
#以下为添加部分,具体操作方法:先按a,在光标后插入下面文本,最后 :wq 保存退出
check_link_down(){
return 1;
}接下来,重起网络
[root@localhost network-scripts]# ifup eth0
Determining IP information for eth0... done.好了,看到上面的提示说明已经成功,可用ifconfig检查自己是否已获得有效IP。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值