网卡配置不能启动。请教高手!!!!!!!!

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
h.df
帖子: 1
注册时间: 2008-06-07 16:42

网卡配置不能启动。请教高手!!!!!!!!

#1

帖子 h.df » 2008-09-08 23:08

在安装系统的时候没有配置网卡信息,直接跳过了,安装完成后直接配置 /etc/network/interfaces 文件

配置如下:
auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0

保存退出后:
sudo /etc/init.d/networking restart
提示出错:
/etc/network/interfaces :10: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces" fail

请教各位大虾给帮忙看看。是什么问题? 谢谢!
回复