打印

arm下GPRS拨号

[复制链接]
1050|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
秋天落叶|  楼主 | 2011-11-19 18:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
gprs, ARM, pc, ip, se
PPP link to ppp0 terminated.
[root@FriendlyARM ppp]# ./ppp-on
Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS2
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <ACCOMP
>]
rcvd [LCP ConfAck id=0x1 <ACCOMP
>]
rcvd [LCP ConfReq id=0xb ]
sent [LCP ConfRej id=0xb ]
rcvd [LCP ConfReq id=0xc <AC
comp>]
sent [LCP ConfAck id=0xc <AC
comp>]
sent [IPCP ConfReq id=0x1 ]
sent [CCP ConfReq id=0x1 ]
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f 32]
sent [IPCP ConfReq id=0x1 ]
rcvd [IPCP ConfRej id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfReq id=0x4 ]
sent [IPCP ConfAck id=0x4 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfAck id=0x3 ]
local IP address 10.145.91.91
remote IP address 10.0.0.1

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.124.91.12 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1600 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:40 (40.0 B) TX bytes:77 (77.0 B)

上面是PPP拨号的调试信息,及拨号完的PPP0的信息,虽然得到了IP就是PING不能其它的10.0.0.1,外网的IP地址也PING不通,也不能用SOCKET进行通信。我用的是SIM508,平台是友善之臂的MINI2410,拨号用的是PPP-2.4.1。请问这是为什么。

相关帖子

沙发
xsgy123| | 2011-11-19 22:30 | 只看该作者
这个没做过,帮楼主顶一下

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:落叶很美

138

主题

3044

帖子

1

粉丝