2670|0

74

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

为什么我的GPRS模块在linux下能拨通网络,但却收不到数据 [复制链接]

系统是fedora7,以下是我的拨号信息
Press CTRL-C to close the connection at any stage!
defining PDP context...

OK

OK

OK
AT+CGDCONT=1,"IP","GZEUNT.GD"
OK
waiting for connect...

ATD*99***1#
CONNECT
Connected.
If the following ppp negotiations fail,
try restarting the phone.

Serial connection established.
using channel 13
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfNak id=0x1 ]
sent [LCP ConfReq id=0x2 ]
rcvd [LCP ConfAck id=0x2 ]
rcvd [LCP ConfReq id=0x3 ]
sent [LCP ConfRej id=0x3 ]
rcvd [LCP ConfReq id=0x5 ]
sent [LCP ConfNak id=0x5 ]
rcvd [LCP ConfReq id=0x7 ]
sent [LCP ConfAck id=0x7 ]
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [PAP AuthReq id=0x1 user="foo" password=]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 ]
rcvd [IPCP ConfReq id=0x1 ]
sent [IPCP ConfAck id=0x1 ]
rcvd [IPCP ConfRej id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfAck id=0x3 ]
local  IP address 10.12.135.253
remote IP address 192.168.254.254
Script /etc/ppp/ip-up started (pid 5970)
Script /etc/ppp/ip-up finished (pid 5970), status = 0x0
Terminating on signal 2
Connect time 3.1 minutes.
Sent 4808 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 6050)
sent [LCP TermReq id=0x3 "User request"]
rcvd [LCP TermAck id=0x3 "User request"]
Connection terminated.

Sending break to the modem

PDP context detached
Serial link disconnected.
Script /etc/ppp/ip-down finished (pid 6050), status = 0x0


可以看到发送了4808 bytes却收不到数据,另外ping自己的IP能ping通,以前在windows下也碰到过这种问题,我把网卡禁用了就行了,但在linux下却不行了,哪位帮忙看下,谢谢
点赞 关注

回复
举报
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表