LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1392|回复: 0

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

[复制链接]
发表于 2007-9-29 12:41:20 | 显示全部楼层 |阅读模式
不能上网非常着急!请大家赐教如何修好,我在论坛搜索了半天,也是不能解决问题。请大家帮忙,或者推荐一个上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但是只能上一下下,接着就断开了。这是下面的信息。
  1. apple@applelinux:~$ plog
  2. Sep 30 03:24:07 applelinux pppd[13547]: Connect: ppp1 <--> eth0
  3. Sep 30 03:24:10 applelinux pppd[13547]: Remote message: Authentication success,Welcome!
  4. Sep 30 03:24:10 applelinux pppd[13547]: PAP authentication succeeded
  5. Sep 30 03:24:10 applelinux pppd[13547]: peer from calling number 00:E0:FC:64:4B:42 authorized
  6. Sep 30 03:24:10 applelinux pppd[13547]: not replacing existing default route through ppp0
  7. Sep 30 03:24:10 applelinux pppd[13547]: Cannot determine ethernet address for proxy ARP
  8. Sep 30 03:24:10 applelinux pppd[13547]: local  IP address 124.131.137.193
  9. Sep 30 03:24:10 applelinux pppd[13547]: remote IP address 124.131.136.1
  10. Sep 30 03:24:10 applelinux pppd[13547]: primary   DNS address 202.102.154.3
  11. Sep 30 03:24:10 applelinux pppd[13547]: secondary DNS address 202.102.152.3
  12. apple@applelinux:~$ plog
  13. Sep 30 03:26:29 applelinux pppd[13494]: Modem hangup
  14. Sep 30 03:26:40 applelinux pppd[13547]: No response to 4 echo-requests
  15. Sep 30 03:26:40 applelinux pppd[13547]: Serial link appears to be disconnected.
  16. Sep 30 03:26:40 applelinux pppd[13547]: Connect time 2.5 minutes.
  17. Sep 30 03:26:40 applelinux pppd[13547]: Sent 2848 bytes, received 724 bytes.
  18. Sep 30 03:26:46 applelinux pppd[13547]: Connection terminated.
  19. Sep 30 03:26:46 applelinux pppd[13547]: Modem hangup
  20. Sep 30 03:26:59 applelinux pppd[13494]: PPP session is 4322
  21. Sep 30 03:26:59 applelinux pppd[13494]: Using interface ppp0
  22. Sep 30 03:26:59 applelinux pppd[13494]: Connect: ppp0 <--> eth0
  23. apple@applelinux:~$ pppoeconf
  24. SIOCSIFFLAGS: Cannot assign requested address
  25. SIOCSIFFLAGS: Cannot assign requested address
  26. apple@applelinux:~$ sudo poff -a
  27. Password:
  28. /usr/bin/poff: No pppd is running.  None stopped.
  29. apple@applelinux:~$ sudo pon dsl-provider
  30. Plugin rp-pppoe.so loaded.
  31. apple@applelinux:~$ plog
  32. Sep 30 03:37:18 applelinux pppd[13494]: Unable to complete PPPoE Discovery
  33. Sep 30 03:37:18 applelinux pppd[13494]: Exit.
  34. Sep 30 03:37:36 applelinux pppd[13547]: Timeout waiting for PADO packets
  35. Sep 30 03:37:37 applelinux pppd[13547]: Unable to complete PPPoE Discovery
  36. Sep 30 03:37:37 applelinux pppd[13547]: Exit.
  37. Sep 30 03:38:23 applelinux pppd[13770]: Timeout waiting for PADO packets
  38. Sep 30 03:38:23 applelinux pppd[13770]: Unable to complete PPPoE Discovery
  39. Sep 30 03:38:23 applelinux pppd[13770]: Exit.
  40. Sep 30 03:59:15 applelinux pppd[15068]: Plugin rp-pppoe.so loaded.
  41. Sep 30 03:59:15 applelinux pppd[15070]: pppd 2.4.4 started by root, uid 0
  42. apple@applelinux:~$
复制代码


我的/etc/network/interfaces 文件如下

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

  3. # The loopback network interface
  4. auto lo
  5. iface lo inet loopback

  6. auto dsl-provider
  7. iface dsl-provider inet ppp
  8. pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
  9. provider dsl-provider

  10. auto eth0

  11. iface eth0 inet manual
复制代码


/etc/ppp/peers/dsl-provider 文件如下:
  1.                
  2. # Minimalistic default options file for DSL/PPPoE connections

  3. noipdefault
  4. defaultroute
  5. replacedefaultroute
  6. hide-password
  7. #lcp-echo-interval 30
  8. #lcp-echo-failure 4
  9. noauth
  10. persist
  11. #mtu 1492
  12. #persist
  13. #maxfail 0
  14. #holdoff 20
  15. plugin rp-pppoe.so eth0
  16. user "sl18002481@e"
  17. usepeerdns
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表