分页: 1 / 1

我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-10 12:32
JarodLee
:em20 前两天试着配置adsl的拔号玩,用字符界面的sudo pppoeconf上线成功,当时感觉很爽,可是现在发现出大麻烦了,居然只能拔号才能上网来,连路由的时候就总是不行了,,,,,好像一直在拔号一样,哪位大大知道原因,我该怎么解决这个麻烦呀 :em06

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-10 17:55
JarodLee
急呀,,,,求高手现身说法呀 :em03

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-10 20:07
JarodLee
:em20 没人遇到过类似的问题吗?
谁有办法让那个愚蠢的pppoe拔号停下来呀。。。。 :em19

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-10 20:44
01xxli
你的情况和我现在的情况差不多.
我是在新装完系统后用的ADSL拔号上网,网络还正常,升级也很快就完成了.
不过现在我改用了路由上网就无法上网了
我修改了/etc/network/interfaces文件的如下内容:
auto eth0
iface eth0 inet dhcp
和/etc/resolv.conf的如下内容:
nameserver 202.96.134.133
nameserver 202.106.0.20
重起后可以上网,不过用半小时左右就又无法上网了.
现在还没有解决呢,现在还在找高手指点呢.
希望你修改这两个文件可以凑效.

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-10 21:05
leeyee
你把ppp设出开机启动了?用ps把ppp这个进程找出来然后kill掉,再试试看静态IP(或者DHCP,看路由器的配置了)能不能上?

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-10 21:36
chaisy
点击桌面上部的网络连接图标
在wired里面找到eth0连接,编辑,去掉connect automatically 选项看看。然后再自己添加一个账号随便,
使用默认设置!打上connect automatically 和system setting。
不过我没试过,现在用xp。

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-11 12:03
JarodLee
谢谢,总算有兄弟理我了,看来跟拔号的关系不大了,我感觉是DNS解析有关,好像直接连上路由后没有办法解析域名,而拔号上去后解析就没有问题,很奇怪的问题,在winxp下没有这个问题,所以路由肯定是好的,那么ubuntu出了什么问题,,,,哪位了解。

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-11 20:11
Gardon
DNS填了没有?

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-12 12:06
JarodLee
Gardon 写了:DNS填了没有?
路由还是ubuntu自己的?
都没有填,DHCP时自动获取的吧,,,在win平台下为什么没有问题呢,以前也没有填呀。

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-16 11:30
JarodLee
:em02 问题解决了,,,,手工设置使用opendns后就OK了,,,奇怪的是为什么pppoe没问题。。。。而且在win平台下也没有设置就可以,,,,

看来pppoe是可以自动更新dns到本机的了~~ :em11

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-16 22:11
liu7ra
我也是这个问题
LZ可以说详细点么,让我这个新手能看明白的。。。。。。

Re: 我的ubuntu居然只能拔号上网,路由不行了:(,,help me

发表于 : 2008-11-17 11:47
JarodLee
liu7ra 写了:我也是这个问题
LZ可以说详细点么,让我这个新手能看明白的。。。。。。
具体原因我也不太明白,,,我是按照opendns网站上的方法做了一下设置就解决了上网问题的,不过系统还是不健康的,启动速度也还是很慢...

dns的设置:
1. Open a terminal window and type the following.

$ gksudo network-admin

Note: Root access is required for this step.
2. Change to the DNS tab and enter the following two addresses in the top of the first field labeled DNS Servers.

208.67.222.222
208.67.220.220

To avoid having your settings get revoked after reboots, or after periods of inactivity, do this:

$ sudo cp /etc/resolv.conf /etc/resolv.conf.auto
$ gksudo gedit /etc/dhcp3/dhclient.conf
# append the following line to the document
prepend domain-name-servers 208.67.222.222,208.67.220.220;
# save and exit
$ sudo ifdown eth0 && sudo ifup eth0

You may be required to change eth0 to your own network device's name if it uses a non-standard name.

希望对你帮助...