|
不能上网非常着急!请大家赐教如何修好,我在论坛搜索了半天,也是不能解决问题。请大家帮忙,或者推荐一个上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
复制代码 |
|