天天看点

debian linux网卡启动不了

debian linux网卡启动不了

    第一次使用debian操作系统,目前只知道一种配置ip地址的方法,就是在/et/network目录下编辑interfaces文件,添加如下内容,

#开机自动激活eth0接口

auto eth0

#配置eth0接口为静态设置IP地址

iface eth0 inet static

address 10.16.3.99

netmask 255.255.255.0

network 10.16.3.0

broadcast 10.16.3.255

gateway 10.16.3.1

但是用命令/etc/init.d/networking restart时发现,根本就重启不起来,并且连eth0都没有了,报的错误如下,见图形:

改正方法为

auto lo iface lo inet loopback

变成:

auto lo

iface lo inet loopback

本文转自 luoguo 51CTO博客,原文链接:http://blog.51cto.com/luoguoling/955254

继续阅读