求助.interface文件改错了.帮忙贴一下.

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
shuaiant
帖子: 33
注册时间: 2005-05-04 19:51

求助.interface文件改错了.帮忙贴一下.

#1

帖子 shuaiant » 2006-06-10 11:16

小弟不小心把interface文件给弄乱了,哪位能帮忙贴一下.谢谢.
头像
choukuangjay
帖子: 274
注册时间: 2006-01-17 14:39
来自: Nanking
联系:

#2

帖子 choukuangjay » 2006-06-10 11:38

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet static
address 192.168.1.21
netmask 255.255.255.0
#network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
#dns-nameservers 192.168.1.1

iface dsl-provider inet ppp
provider dsl-provider

pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf
ID:死乘把口, Matrix Chou
寨本网 山寨笔记本大本营
shuaiant
帖子: 33
注册时间: 2005-05-04 19:51

#3

帖子 shuaiant » 2006-06-10 12:00

谢谢
回复