[问题]看了wiki上有关ADSL的设置,有问题

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

[问题]看了wiki上有关ADSL的设置,有问题

#1

帖子 rucstudent » 2008-05-18 0:10

说是修改文件:
sudo gedit /etc/network/interfaces
然后降内容更换成:
# /etc/network/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 interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth1

# The primary network interface
iface eth1 inet static
address 10.0.0.139
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 211.162.32.1 211.162.32.20
---------------------------------------------------------------------------------
我是实用路由器上网的,我的参数:
IP:192.168.0.2
子网掩码:255.255.255.0
网关:192.168.0.1
DNS1:202.106.195.68
DNS2:202.106.46.151
默认上网的是eth0
我这些参数全部修改存盘以后,上不去网络了~
不知道哪里错了,
network 10.0.0.0是不是指网关的意思?我这个改成了网关的参数
头像
arsui
帖子: 889
注册时间: 2007-05-06 2:01
来自: 特麓村->浦北->五山->罗湖

#2

帖子 arsui » 2008-05-18 0:31

这是我的文件
auto lo
iface lo inet loopback


auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider

auto eth0
iface eth0 inet manual
我的是8。04, 用sudo pppoeconf 配置出来的。可以自动拨号
Ubuntu 9.04 & Win Xp
------------------------------------------------------
Company: http://www.mazingtech.com
HomePage: http://www.arsui.com
rucstudent
帖子: 633
注册时间: 2007-05-09 16:52

#3

帖子 rucstudent » 2008-05-18 0:43

卧室通过路由器上网的
3个人共享
所以配置不了,呵呵
除非是自己一个人单线,不用路由器
回复