QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1448|回复: 0

ADSL的拨号上网问题,请高手帮诊断一下

[复制链接]
发表于 2005-12-15 17:22:07 | 显示全部楼层 |阅读模式
我用我的开发板进行嵌入式拨号上网测试,能够发出去数据包了,但没有收到ADSL MODEM回答的数据包
以下是我的出错信息,请做过的高手帮我诊断一下是哪里出了错?多谢!

另外请问一下
/etc/ppp/pppoe.conf中
这句话该不该加?
# Linux kernel-mode plugin for pppd.  If you want to try the kernel-mode
# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so


---------------------------------------------
* The following section contains information about your system
Sat Nov  5 13:19:11 UTC 2005
Output of uname -a
Linux fa 2.4.18-rmk7-pxa1 #7 ?. 11.. 15 19:32:00 CST 2005 armv4l unknown
---------------------------------------------
* The following section contains information about your network
* interfaces.  The one you chose for PPPoE should contain the words:
* 'UP' and 'RUNNING'.  If it does not, you probably have an Ethernet
* driver problem.
Output of ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:00:C0:FF:EE:08
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 iB)  TX bytes:0 (0.0 iB)
          Interrupt:37 Base address:0x300
                                                                                                                                             
lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 iB)  TX bytes:0 (0.0 iB)
                                                                                                                                             
sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 iB)  TX bytes:0 (0.0 iB)
                                                                                                                                             
---------------------------------------------
* The following section contains information about kernel modules
* If the module for your Ethernet card is 'tulip', you might
* want to look for an updated version at http://www.scyld.com
Output of lsmod
Module                  Size  Used by    Not tainted
usbkbd                  2708   0 (unused)
rf                      4112   0 (unused)
evdev                   3356   0 (unused)
mousedev                4276   0 (unused)
keybdev                 1716   0 (unused)
input                   3536   0 [usbkbd evdev mousedev keybdev]
---------------------------------------------
* The following section lists your routing table.
* If you have an entry which starts with '0.0.0.0', you probably
* have defined a default route and gateway, and pppd will
* not create a default route using your ISP.  Try getting
* rid of this route.
Output of netstat -n -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
---------------------------------------------
Contents of /etc/resolv.conf
* The following section lists DNS setup.
* If you can browse by IP address, but not name, suspect
* a DNS problem.
search localhost
nameserver 202.96.134.134
nameserver 202.96.128.68
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
lock
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name.  Some ISP's need 'username'; others
* need '[email protected]'.  Try both
ETH=eth0; [email protected]
---------------------------------------------
* The following section shows the pppd command we will invoke
pppd invocation
/usr/local/sbin/pppd pty '/usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U  -m 1412   '  noipdefault noauth default-ag---------------------------------------------
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x24d44af>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
Waiting for 2 child processes...
  script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U  -m 1412    -D /tmp/pppoe-debug-250/pppoe-debug.txt-0, pid 37  script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U  -m 1412    -D /tmp/pppoe-debug-250/pppoe-debug.txt-0, pid 35Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x2 <mru 1492> <magic 0xc1e594ab>]
pppoe: Timeout waiting for PADO packets
Script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U  -m 1412    -D /tmp/pppoe-debug-250/pppoe-debug.txt-0 finished1sent [LCP ConfReq id=0x2 <mru 1492> <magic 0xc1e594ab>]
sending SIGTERM to process 357
tcflush failed: Bad file descriptor
---------------------------------------------
* The following section is an extract from your log.
* Look for error messages from pppd, such as
* a lack of kernel support for PPP, authentication failure
* etc.
Can't find messages file (looked for /var/{log,adm}/messages
Sat Nov  5 13:19:49 UTC 2005
---------------------------------------------
* The following section is a dump of the packets
* sent and received by rp-pppoe.  If you don't see
* any output, it's an Ethernet driver problem.  If you only
* see three PADI packets and nothing else, check your cables
* and modem.  Make sure the modem lights flash when you try
* to connect.  Check that your Ethernet card is in
* half-duplex, 10Mb/s mode.  If all else fails,
* try using pppoe-sniff.
rp-pppoe debugging dump
rp-pppoe-3.5
13:19:44.511 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:00:c0:ff:ee:08 DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 66 01 00 00               ........f...
                                                                                                                                             
13:19:49.628 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:00:c0:ff:ee:08 DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 66 01 00 00               ........f...
                                                                                                                                             
pppoe: Timeout waiting for PADO packets
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 00:29 , Processed in 0.036666 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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