新人求助:关于adsl上网的问题!

为当前最终发行版之前的所有版本提供支持
回复
apple
帖子: 8
注册时间: 2005-10-23 10:39
送出感谢: 0
接收感谢: 0
联系:

新人求助:关于adsl上网的问题!

#1

帖子 apple » 2007-09-30 19:14

不能上网非常着急!请大家赐教如何修好,我在论坛搜索了半天,也是不能解决问题。请大家帮忙,或者推荐一个上ADSL比较方便的linux发行版也行(好做作业啊)。
家里一个台机(windows XP),一个老IBM R40,我把这个笔记本装上了Ubuntu 7.04,但是按照提示运行pppoeconf以后,老是提示:

Sorry,I scanned 1 interface,but the Access Concentrator of your provider did not respond. Please check your network and modem cables.Another reason for the scan failure may also be another running pppoe process which controls the modem.

可是,线缆和猫都没问题啊,我从笔记本上拔下来接着插到台机上,直接就能上网啊?经过数次的pppoeconf,终于有一次能设置用户名和密码,然后pon dsl-provider但是只能上一下下,接着就断开了。这是下面的信息。

代码: 全选

apple@applelinux:~$ plog
Sep 30 03:24:07 applelinux pppd[13547]: Connect: ppp1 <--> eth0
Sep 30 03:24:10 applelinux pppd[13547]: Remote message: Authentication success,Welcome!
Sep 30 03:24:10 applelinux pppd[13547]: PAP authentication succeeded
Sep 30 03:24:10 applelinux pppd[13547]: peer from calling number 00:E0:FC:64:4B:42 authorized
Sep 30 03:24:10 applelinux pppd[13547]: not replacing existing default route through ppp0
Sep 30 03:24:10 applelinux pppd[13547]: Cannot determine ethernet address for proxy ARP
Sep 30 03:24:10 applelinux pppd[13547]: local  IP address 124.131.137.193
Sep 30 03:24:10 applelinux pppd[13547]: remote IP address 124.131.136.1
Sep 30 03:24:10 applelinux pppd[13547]: primary   DNS address 202.102.154.3
Sep 30 03:24:10 applelinux pppd[13547]: secondary DNS address 202.102.152.3
apple@applelinux:~$ plog
Sep 30 03:26:29 applelinux pppd[13494]: Modem hangup
Sep 30 03:26:40 applelinux pppd[13547]: No response to 4 echo-requests
Sep 30 03:26:40 applelinux pppd[13547]: Serial link appears to be disconnected.
Sep 30 03:26:40 applelinux pppd[13547]: Connect time 2.5 minutes.
Sep 30 03:26:40 applelinux pppd[13547]: Sent 2848 bytes, received 724 bytes.
Sep 30 03:26:46 applelinux pppd[13547]: Connection terminated.
Sep 30 03:26:46 applelinux pppd[13547]: Modem hangup
Sep 30 03:26:59 applelinux pppd[13494]: PPP session is 4322
Sep 30 03:26:59 applelinux pppd[13494]: Using interface ppp0
Sep 30 03:26:59 applelinux pppd[13494]: Connect: ppp0 <--> eth0
apple@applelinux:~$ pppoeconf
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
apple@applelinux:~$ sudo poff -a
Password:
/usr/bin/poff: No pppd is running.  None stopped.
apple@applelinux:~$ sudo pon dsl-provider
Plugin rp-pppoe.so loaded.
apple@applelinux:~$ plog
Sep 30 03:37:18 applelinux pppd[13494]: Unable to complete PPPoE Discovery
Sep 30 03:37:18 applelinux pppd[13494]: Exit.
Sep 30 03:37:36 applelinux pppd[13547]: Timeout waiting for PADO packets
Sep 30 03:37:37 applelinux pppd[13547]: Unable to complete PPPoE Discovery
Sep 30 03:37:37 applelinux pppd[13547]: Exit.
Sep 30 03:38:23 applelinux pppd[13770]: Timeout waiting for PADO packets
Sep 30 03:38:23 applelinux pppd[13770]: Unable to complete PPPoE Discovery
Sep 30 03:38:23 applelinux pppd[13770]: Exit.
Sep 30 03:59:15 applelinux pppd[15068]: Plugin rp-pppoe.so loaded.
Sep 30 03:59:15 applelinux pppd[15070]: pppd 2.4.4 started by root, uid 0
apple@applelinux:~$


我的/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

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


/etc/ppp/peers/dsl-provider 文件如下:

代码: 全选

                
# Minimalistic default options file for DSL/PPPoE connections

noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so eth0
user "sl18002481@e"
usepeerdns
头像
stlxv
论坛版主
帖子: 8273
注册时间: 2006-05-03 0:39
来自: المريخ
送出感谢: 0
接收感谢: 1 次

#2

帖子 stlxv » 2007-10-01 0:07

你的网卡、modem等设备正常工作吗?正常连接吗?
PHP是最好的语言!不服来战!
apple
帖子: 8
注册时间: 2005-10-23 10:39
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 apple » 2007-10-04 11:45

应该正常啊,因为拔下来插到台机上(windowsXP),接着就能上网。没有任何问题。
phoenix_zhp
帖子: 1
注册时间: 2007-10-04 12:30
送出感谢: 0
接收感谢: 0

#4

帖子 phoenix_zhp » 2007-10-04 12:40

you can use a modem with router function.Just dial it by the modem,and set a static IP.OK!
apple
帖子: 8
注册时间: 2005-10-23 10:39
送出感谢: 0
接收感谢: 0
联系:

#5

帖子 apple » 2007-10-05 19:08

楼上的建议不错,不过要花银子啊。

算了,以后再用linux吧。装晕到死去咯
回复

回到 “老旧版本支持”