急:开发板ADSL拨号问题
时间:2006-02-21
来源:互联网
小弟在自己的电脑LINUX下通过中国电信的ADSL MODEM拨号上网成功。
但移植到开发板上发生了问题,总是收不到包,郁闷了好几天,找不出原因。
以下是在开发板运行#DEBUG=1 adsl-start得到的DEBUG结果
请做过的大侠指点一二,万分感激!!!
---------------------------------------------
* The following section contains information about your system
Tue Feb 7 11:09:28 UTC 2006
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:16 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 encap
ocal 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 [url="http://www.scyld.com/"]http://www.scyld.com[/url]
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.
nameserver 202.96.134.134
nameserver 202.96.128.68
search localhost
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name. Some ISP's need 'username'; others
* need '[email protected]'. Try both
ETH=eth0; USER=*****@163.gd
---------------------------------------------
* 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-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user ******@163.gd lcp-echo-interval 20 lcp-echo-failure 3 debug
---------------------------------------------
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 6
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-462/pppoe-debug.txt-0, pid 569
script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -m 1412 -D /tmp/pppoe-debug-462/pppoe-debug.txt-0, pid 567
sent [LCP ConfReq id=0x2 <mru 1492> <magic 0xcd85dc8>]
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-462/pppoe-debug.txt-0 finished (pid 567), status = 0x1
sent [LCP ConfReq id=0x2 <mru 1492> <magic 0xcd85dc8>]
sending SIGTERM to process 569
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
Tue Feb 7 11:10:07 UTC 2006
---------------------------------------------
* 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
11:10:01.961 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 3a 02 00 00 ........:...
11:10:07.078 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 3a 02 00 00 ........:...
pppoe: Timeout waiting for PADO packets
但移植到开发板上发生了问题,总是收不到包,郁闷了好几天,找不出原因。
以下是在开发板运行#DEBUG=1 adsl-start得到的DEBUG结果
请做过的大侠指点一二,万分感激!!!
---------------------------------------------
* The following section contains information about your system
Tue Feb 7 11:09:28 UTC 2006
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:16 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 encap

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 [url="http://www.scyld.com/"]http://www.scyld.com[/url]
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.
nameserver 202.96.134.134
nameserver 202.96.128.68
search localhost
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name. Some ISP's need 'username'; others
* need '[email protected]'. Try both
ETH=eth0; USER=*****@163.gd
---------------------------------------------
* 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-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user ******@163.gd lcp-echo-interval 20 lcp-echo-failure 3 debug
---------------------------------------------
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6202c420>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 6
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-462/pppoe-debug.txt-0, pid 569
script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -m 1412 -D /tmp/pppoe-debug-462/pppoe-debug.txt-0, pid 567
sent [LCP ConfReq id=0x2 <mru 1492> <magic 0xcd85dc8>]
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-462/pppoe-debug.txt-0 finished (pid 567), status = 0x1
sent [LCP ConfReq id=0x2 <mru 1492> <magic 0xcd85dc8>]
sending SIGTERM to process 569
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
Tue Feb 7 11:10:07 UTC 2006
---------------------------------------------
* 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
11:10:01.961 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 3a 02 00 00 ........:...
11:10:07.078 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 3a 02 00 00 ........:...
pppoe: Timeout waiting for PADO packets
作者: roc1979 发布时间: 2006-02-21
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28