我是新人,这几天刚装上ubuntu,按照介绍的设置好了pppoeconf,然后pon是可以正常联网的,可是过段时间,特别是在下载的时候进度会停掉,这时我才注意到网络断了,ping不通几个门户网站。而且这种情况经常会发生,所以每次都是先poff -a,再pon,如此反复实在麻烦。
请教各位DX,有什么解决办法吗?难道pppoe在ubuntu上就是这样的不稳定?请各位帮忙解答,谢谢拉!!!
新人求助:如何解决adsl联网经常掉线的问题?
-
- 帖子: 13
- 注册时间: 2005-08-24 2:08
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
viewtopic.php?t=264&start=15
这是相关讨论,最后解决方法请看第三页
这是相关讨论,最后解决方法请看第三页
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
[quote=welans]
非常感谢!看来我的问题和你一样。
把我的解决过程贴出来,或许对其他人有用:
1、在pppoeconf设置时选择不更改/etc/resolv.conf 。(不过按理说这个比较没关系,resolv.conf可以自己更改)。
2、重要的是修改/etc/network/interfaces文件。我默认的是对连接到adsl modem的网卡eth1进行dhcp分配ip,很可能是dhcp修改了/etc/resolv.conf的namesever信息,所以我把网卡eth1设成静态ip。
3、确保/etc/resolv.conf中的dns设置正确:
[/quote]
引自:http://www.linuxsir.org/bbs/showthread.php?t=215888
非常感谢!看来我的问题和你一样。
把我的解决过程贴出来,或许对其他人有用:
1、在pppoeconf设置时选择不更改/etc/resolv.conf 。(不过按理说这个比较没关系,resolv.conf可以自己更改)。
2、重要的是修改/etc/network/interfaces文件。我默认的是对连接到adsl modem的网卡eth1进行dhcp分配ip,很可能是dhcp修改了/etc/resolv.conf的namesever信息,所以我把网卡eth1设成静态ip。
代码: 全选
# /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 202.111.138.55 202.111.98.55
代码: 全选
# /etc/resolv.conf
nameserver 202.111.113.55
nameserver 202.111.98.55
引自:http://www.linuxsir.org/bbs/showthread.php?t=215888
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
-
- 帖子: 13
- 注册时间: 2005-08-24 2:08
本地IP设为192.168.1.10,ADSL的IP为192.168.1.1。
设置都是在“系统”->“系统管理”->“联网”的“网络设置”界面设置的,删除了搜索域“ETNA”,手动加上两个DNS。
然后配置pppoeconf,不自动更新/etc/resolv.conf,不开机连接,其他都是默认。
两个文件如下:
#/etc/resolv.conf如下
#/etc/network/interfaces如下
这样配置应该没问题吧?
设置都是在“系统”->“系统管理”->“联网”的“网络设置”界面设置的,删除了搜索域“ETNA”,手动加上两个DNS。
然后配置pppoeconf,不自动更新/etc/resolv.conf,不开机连接,其他都是默认。
两个文件如下:
#/etc/resolv.conf如下
代码: 全选
nameserver 202.96.209.6
nameserver 202.96.209.133
代码: 全选
# 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 eth0
# The primary network interface
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
auto eth0
这样配置应该没问题吧?
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
-
- 帖子: 28
- 注册时间: 2005-10-16 12:42
-
- 帖子: 7
- 注册时间: 2007-07-31 16:04
- 来自: 江苏无锡
- 联系: