免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 19013 | 回复: 6
打印 上一主题 下一主题

[网络管理] Linux 3g拨号问题:LCP: timeout sending Config-Requests [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-03-19 09:44 |只看该作者 |倒序浏览
# pppd call 3g
timeout set to 8 seconds
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
abort on (BUSY)
send (AT^M)
timeout set to 10 seconds
expect (OK)
AT^M^M
OK
-- got it

send (ATDT*99#^M)
expect (CONNECT)
^M
ATDT*99#^M^M
CONNECT
-- got it

Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x29df6e1f> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.


有人遇到过相同的问题吗?这是哪方面出问题了,是pppoe包安装有问题吗?

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
2 [报告]
发表于 2012-03-19 10:26 |只看该作者
确定服务端没问题么?好像是直接超时啊,检查下配置,看看日志

论坛徽章:
0
3 [报告]
发表于 2012-03-20 09:53 |只看该作者
本帖最后由 847608498 于 2012-03-20 10:15 编辑

回复 2# vermouth
谢谢,这个问题解决了
是因为端口有问题,换了一下端口这个问题就ok了,但是问题又出现了log如下:
# pppd call 3g
timeout set to 8 seconds
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
abort on (BUSY)
send (AT^M)
timeout set to 10 seconds
expect (OK)
AT^M^M
OK
-- got it

send (ATDT*99#^M)
expect (CONNECT)
^M
ATDT*99#^M^M
CONNECT
-- got it

Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<原来用的是ttyUSB2 ,改成3以后上面那个问题就没了,但是不明白这是什么原因导致的???希望有高人能解答一下心中疑惑
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x20180c71> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x181ed86> <pcomp><accomp>]<<<<<<<<<<<<这是通过chap验证身份吧>
No auth is possible      <<<<<<<<<<<这是身份验证不正确吗?用的是wcdma的3g卡,用户名和密码不是可以省略吗??  
sent [LCP ConfRej id=0x0 <auth chap MD5>]     
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x20180c71> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x181ed86> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x181ed86> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x20180c71]
sent [CCP ConfReq id=0x1 <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <
ms-dns3 0.0.0.0>]
rcvd [LCP DiscReq id=0x2 magic=0x181ed86]
rcvd [LCP EchoRep id=0x0 magic=0x181ed86 01 81 ed 86]
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 07 15 03 2f]
Modem hangup
Connection terminated.


这是什么原因?是用户验证问题吗?

   

论坛徽章:
0
4 [报告]
发表于 2012-03-21 14:54 |只看该作者
847608498 发表于 2012-03-20 09:53
回复 2# vermouth
谢谢,这个问题解决了
是因为端口有问题,换了一下端口这个问题就ok了,但是问题又出现 ...


问题终于解决了,我那个汗啊,最后的原因真让我感到无语,原来是3g卡没流量了,冤啊!

现在已经拨号拨通了。拨号log如下:

# pppd call 3g
timeout set to 8 seconds
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
abort on (BUSY)
send (AT^M)
timeout set to 10 seconds
expect (OK)
T^M^M
OK
-- got it

send (ATDT*99#^M)
expect (CONNECT)
^M
ATDT*99#^M^M
CONNECT
-- got it

Serial connection established.
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x43aec7ff> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x14 <asyncmap 0x0> <auth chap MD5> <magic 0x18cf672> <pcom
p> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x14 <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x43aec7ff> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x15 <asyncmap 0x0> <magic 0x18cf672> <pcomp> <accomp>]
sent [LCP ConfAck id=0x15 <asyncmap 0x0> <magic 0x18cf672> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x43aec7ff]
sent [CCP ConfReq id=0x1 <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <
ms-dns3 0.0.0.0>]
rcvd [LCP DiscReq id=0x16 magic=0x18cf672]
rcvd [LCP EchoRep id=0x0 magic=0x18cf672 01 8c f6 72]
rcvd [LCP ProtRej id=0x17 80 fd 01 01 00 07 15 03 2f]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 1
0.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.1
3> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 1
0.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.1
3> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 1
0.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.1
3> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0xa]
sent [IPCP ConfNak id=0xa <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x4 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12
.14>]
rcvd [IPCP ConfReq id=0xb]
sent [IPCP ConfAck id=0xb]
rcvd [IPCP ConfNak id=0x5 <addr 172.35.29.247> <ms-dns1 210.22.70.3> <ms-dns3 21
1.95.1.97>]
sent [IPCP ConfReq id=0x6 <addr 172.35.29.247> <ms-dns1 210.22.70.3> <ms-dns3 21
1.95.1.97>]
rcvd [IPCP ConfAck id=0x6 <addr 172.35.29.247> <ms-dns1 210.22.70.3> <ms-dns3 21
1.95.1.97>]
Could not determine remote IP address: defaulting to 10.64.64.64
local  IP address 172.35.29.247
remote IP address 10.64.64.64
primary   DNS address 210.22.70.3
secondary DNS address 211.95.1.97
Script /etc_ro/ppp/ip-up started (pid 2514)
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
Script /etc_ro/ppp/ip-up finished (pid 2514), status = 0x0
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter  1>/dev/null 2>&1
iptables -F web_filter  1>/dev/null 2>&1
iptables -D FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -F malicious_filter  1>/dev/null 2>&1
iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -F malicious_input_filter  1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/nu
ll 2>&1
iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filt
er 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
1>/dev/null 2>&1
iptables -A malicious_input_filter -i eth2.2 -p tcp --dport 80 -j DROP
/bin/super_dmz -f
sh: /bin/super_dmz: not found
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward  1>/dev/null 2>&1; iptables -t nat -X port_forwa
rd  1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ  1>/dev/null 2>&
1
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING
1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ
1>/dev/null 2>&1
killall -q ripd
/sbin/config-igmpproxy.sh
igmpproxy, Version 0.1 beta2, Build 120319
Copyright 2005 by Johnny Egeland <johnny@rlo.org>
Distributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt

Warn: Warning, No upstream interface assigned.
0x10000000: 0x33355452
0x10000004: 0x20203035
0x1000000c: 0x00000103
0x1000000c: 0x00000103
0x1000000c: 0x00000103
0x1011009c: 0x0008a301
0x1011009c: 0x0008a301
0x1011009c: 0x0008a301
0x10110014: 0x00c01555
0x10110014: 0x00c01555
0x10110014: 0x00c01555
Terminating on signal 2.
# sent [LCP TermReq id=0x2 "User request"]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Connect time 1.4 minutes.
Sent 6247 bytes, received 2690 bytes.
Connect time 1.4 minutes.
Sent 6247 bytes, received 2690 bytes.
# killall -q -USR1 udhcpd
# pppd call 3g
# pppd call 3g
timeout set to 8 seconds
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
abort on (BUSY)
send (AT^M)
timeout set to 10 seconds
expect (OK)
T^M^M
OK
-- got it

send (ATDT*99#^M)
expect (CONNECT)
^M
ATDT*99#^M^M
CONNECT
-- got it

Serial connection established.
using channel 7
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x42fd58ab> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x18 <asyncmap 0x0> <auth chap MD5> <magic 0x193bb59> <pcom》》》》请求chap认证
p> <accomp>]
No auth is possible》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》联通3g果然是不用用户名和密码认证的,但是电信就不一样了,电信一般是card card 或者是ctnet@mycdma.cn 密码vnet.mobi,电信还在调试中,还没成功,成功了有机会也贴上来
sent [LCP ConfRej id=0x18 <auth chap MD5>]》》》》》》》》》》》》》》》》》》》》》》》》》》》拒绝chap认证
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x42fd58ab> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x19 <asyncmap 0x0> <magic 0x193bb59> <pcomp> <accomp>]
sent [LCP ConfAck id=0x19 <asyncmap 0x0> <magic 0x193bb59> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x42fd58ab]
sent [CCP ConfReq id=0x1 <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <
ms-dns3 0.0.0.0>]
rcvd [LCP DiscReq id=0x1a magic=0x193bb59]
rcvd [LCP EchoRep id=0x0 magic=0x193bb59 01 93 bb 59]
rcvd [LCP ProtRej id=0x1b 80 fd 01 01 00 07 15 03 2f]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 1
0.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.1
3> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 1
0.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.1
3> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 1
0.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.1
3> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0xc]
sent [IPCP ConfNak id=0xc <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x4 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12
.14>]
rcvd [IPCP ConfReq id=0xd]
sent [IPCP ConfAck id=0xd]
rcvd [IPCP ConfNak id=0x5 <addr 172.34.230.68> <ms-dns1 210.22.70.3> <ms-dns3 21
1.95.1.97>]
sent [IPCP ConfReq id=0x6 <addr 172.34.230.68> <ms-dns1 210.22.70.3> <ms-dns3 21
1.95.1.97>]
rcvd [IPCP ConfAck id=0x6 <addr 172.34.230.68> <ms-dns1 210.22.70.3> <ms-dns3 21
1.95.1.97>]
Could not determine remote IP address: defaulting to 10.64.64.64》》》》》》》》》》》》》》》这里是不是有点问题???
local  IP address 172.34.230.68
remote IP address 10.64.64.64》》》》》》》》》》》》》》》》》》》》》》》》》》》》获得ip了
primary   DNS address 210.22.70.3》》》》》》》》》》》》》》》》》》》》》》》》》》不知道dns有没有问题,现在笔记本通过wifi连上这个modem还不能上网,不知道怎么回事
secondary DNS address 211.95.1.97

Script /etc_ro/ppp/ip-up started (pid 2740)
iptables -F -t filter 1>/dev/null 2>&1
Script /etc_ro/ppp/ip-up finished (pid 2740), status = 0x0
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter  1>/dev/null 2>&1
iptables -F web_filter  1>/dev/null 2>&1
iptables -D FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -F malicious_filter  1>/dev/null 2>&1
iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -F malicious_input_filter  1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/nu
ll 2>&1
iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filt
er 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
1>/dev/null 2>&1
iptables -A malicious_input_filter -i eth2.2 -p tcp --dport 80 -j DROP
/bin/super_dmz -f
sh: /bin/super_dmz: not found
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward  1>/dev/null 2>&1; iptables -t nat -X port_forwa
rd  1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ  1>/dev/null 2>&
1
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING
1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ
1>/dev/null 2>&1
killall -q ripd
/sbin/config-igmpproxy.sh
igmpproxy, Version 0.1 beta2, Build 120319
Copyright 2005 by Johnny Egeland <johnny@rlo.org>
Distributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt

Warn: Warning, No upstream interface assigned.
0x10000000: 0x33355452
0x10000004: 0x20203035
0x1000000c: 0x00000103
0x1000000c: 0x00000103
0x1000000c: 0x00000103
0x1011009c: 0x0008a301
0x1011009c: 0x0008a301
0x1011009c: 0x0008a301
0x10110014: 0x00c01555
0x10110014: 0x00c01555
0x10110014: 0x00c01555
# Terminating on signal 2.
sent [LCP TermReq id=0x2 "User request"]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Connect time 3.1 minutes.
Sent 3954 bytes, received 1178 bytes.
Connect time 3.1 minutes.
Sent 3954 bytes, received 1178 bytes.


在板子上可以ping通百度了
# ping www.baidu.com
PING www.baidu.com (61.135.169.125): 56 data bytes
64 bytes from 61.135.169.125: seq=0 ttl=51 time=168.775 ms
64 bytes from 61.135.169.125: seq=1 ttl=51 time=144.915 ms
64 bytes from 61.135.169.125: seq=2 ttl=51 time=140.906 ms
64 bytes from 61.135.169.125: seq=3 ttl=51 time=156.938 ms
64 bytes from 61.135.169.125: seq=4 ttl=51 time=152.929 ms
64 bytes from 61.135.169.125: seq=5 ttl=51 time=148.792 ms
64 bytes from 61.135.169.125: seq=6 ttl=51 time=164.819 ms
64 bytes from 61.135.169.125: seq=7 ttl=51 time=140.649 ms

--- www.baidu.com ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 140.649/152.340/168.775 ms

但是用笔记本通过wifi连上板子(用作路由器)后还不能上网,在笔记本下直接ping百度也不通,有人知道怎么回事吗?给点提示也行,谢谢

在板子上:
# ifconfig
br0       Link encap:Ethernet  HWaddr 00:0C:43:30:50:77  
          inet addr:10.10.10.254  Bcast:10.10.10.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:43ff:fe30:5077/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3858 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1836 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:579335 (565.7 KiB)  TX bytes:325692 (318.0 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          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 B)  TX bytes:0 (0.0 B)

ppp0      Link encapoint-to-Point Protocol  》》》》》》》》》》》》》》》》》》》》》》》》》ppp0已经有了
          inet addr:172.31.157.34  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:287 (287.0 B)  TX bytes:9037 (8.8 KiB)

# route -n                                                                              
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
255.255.255.255 0.0.0.0         255.255.255.255 UH    0      0        0 br0
10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 br0   
                           
路由表有问题吗???

论坛徽章:
0
5 [报告]
发表于 2012-05-21 09:42 |只看该作者
本帖最后由 Hetflyter 于 2012-05-21 09:42 编辑

路由明显有问题啊,Iface 也得有个PPP0 端口吧

ps:我调通了 wcdma  cdma2000,  只有td-scdma没有调通了,上线了,发信息我们联系下

论坛徽章:
0
6 [报告]
发表于 2012-06-04 18:08 |只看该作者
路由表应该配成 route add default dev ppp0~
我也是做同样的事情,但是笔记本通过wifi板上网点播视频,然后ppp超时,收不到LCP EchoReq具体的日志如下,debug里也没有其他信息了~哪位大神能给讲解下?
Mar 25 20:09:35 dm368-evm daemon.debug pppd[1886]: sent [LCP EchoReq id=0x15 magic=0x87404992]
Mar 25 20:09:35 dm368-evm daemon.debug pppd[1886]: rcvd [LCP EchoRep id=0x15 magic=0x129ff56 87 40 49 92]
Mar 25 20:10:05 dm368-evm daemon.debug pppd[1886]: sent [LCP EchoReq id=0x16 magic=0x87404992]
Mar 25 20:10:05 dm368-evm daemon.debug pppd[1886]: rcvd [LCP EchoRep id=0x16 magic=0x129ff56 87 40 49 92]
Mar 25 20:10:35 dm368-evm daemon.debug pppd[1886]: sent [LCP EchoReq id=0x17 magic=0x87404992]

论坛徽章:
0
7 [报告]
发表于 2012-11-24 21:17 |只看该作者
你好:  请问 你的 3G驱动怎么转换成ttyusb的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP