
如果我查找interfaces文件,我会看到以下内容:
# This file describes the network interfaces available on your system# and how to activate them. For more information,see interfaces(5).# The loopback network interfaceauto loiface lo inet loopback# The primary network interfaceallow-hotplug eth0iface eth0 inet dchpallow-hotplug eth1iface eth1 inet dchp
我在虚拟盒子里运行Debian; eth0是NAT,eth1是仅限主机的适配器
我也尝试插入以太网电缆,但这没有改变.
我怎样才能摆脱这个错误?
先感谢您,
REMCO
解决方法 你可能会踢自己,但你在两条线上都有同样的错字.它应该是iface eth0 inet dhcp not dchp.ifup和ifdown如果无法解析文件就会中断.
总结以上是内存溢出为你收集整理的linux – Debian错误:ifup:无法读取接口文件“/ etc / network / interfaces”全部内容,希望文章能够帮你解决linux – Debian错误:ifup:无法读取接口文件“/ etc / network / interfaces”所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)