博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ubuntu修复eth0_在Ubuntu虚拟机中修复“无法启动eth0”
阅读量:2510 次
发布时间:2019-05-11

本文共 1752 字,大约阅读时间需要 5 分钟。

ubuntu修复eth0

ubuntu修复eth0

If you’ve moved an Ubuntu virtual machine or modified it and then suddenly had a problem getting networking to work, you might want to read through this page, because I’ve figured out a workaround to get it working again.

如果您已经移动了Ubuntu虚拟机或对其进行了修改,然后突然使网络无法正常工作,则您可能需要通读本页面,因为我已经找到了使其重新运行的解决方法。

The full error message is this:

完整的错误消息是这样的:

eth0: ERROR while getting interface flags: No such device There is already a pid file /var/run/dhclient.eth0.pid with pid 6847440 Internet Systems Consortium DHCP Client V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device eth0: ERROR while getting interface flags: No such device Bind socket to interface: No such device Failed to bring up eth0.
eth0: ERROR while getting interface flags: No such device There is already a pid file /var/run/dhclient.eth0.pid with pid 6847440 Internet Systems Consortium DHCP Client V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device eth0: ERROR while getting interface flags: No such device Bind socket to interface: No such device Failed to bring up eth0.
在UbuntuVirtualMachine1.png中修复“ Fingedtobringupeth0”
sudo vi /etc/network/interfaces
Fixing"Failedtobringupeth0"inUbuntuVirtualMachine2.png

After you run this command to restart networking, everything should likely start working again:

在您运行以下命令以重新启动网络之后,所有内容都可能会再次开始工作:

sudo /etc/init.d/networking restart
sudo /etc/init.d/networking restart

You should be able to run a ping command, or use ifconfig -a and everything will be working.

您应该能够运行ping命令,或使用ifconfig -a,一切都会正常进行。

翻译自:

ubuntu修复eth0

转载地址:http://ioywd.baihongyu.com/

你可能感兴趣的文章
公司拷贝回家的工程用sts导入clean package报错java.lang.NoClassDefFoundError
查看>>
Aborting a running program
查看>>
手机验证码测试点
查看>>
网络字节顺序
查看>>
复制mueclipse项目到eclipse
查看>>
飞扬的小鸟
查看>>
玩转TypeScript(2) --简单TypeScript类型
查看>>
Asp.net 解析json
查看>>
程序猿崛起3——这一次,我用行动说话
查看>>
201521123038 《Java程序设计》 第一周学习总结
查看>>
每天一个linux命令(20):find命令之exec
查看>>
MVC HtmlHelper用法大全
查看>>
14软件工程第七次作业
查看>>
SQL分布式查询、跨数据库查询
查看>>
python国内豆瓣源
查看>>
redux、immutablejs和mobx性能对比(三)
查看>>
jQuery实现简单而且很酷的返回顶部链接效果
查看>>
mac 终端 常用命令
查看>>
EGL接口介绍-----Android OpenGL ES底层开发
查看>>
电梯调度程序的UI设计
查看>>