打印

mc35i ppp拨号

[复制链接]
2030|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
yuanwaia|  楼主 | 2010-1-4 10:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本人移植ppp-2.4.2到s3c2410上,gprs模块使用的是mc35i,
pppd call gprs 方式拨号
#/etc/ppp/peers/gprs
#this is pppd script for china mobile,used  mc35i
# Usage: root>pppd call gprs
/dev/ttyS1
19200
nocrtscts
debug
nodetach
usepeerdns
noipdefault
user  "cmnet"  
0.0.0.0:0.0.0.0
ipcp-accept-local
ipcp-accept-remote
#lcp-echo-failure 12
#lcp-echo-interval 3
noccp
#novj
#novjccomp
#persist
connect '/sbin/chat -s -v -f /etc/ppp/chat'

chat内容为
#/etc/ppp/chat
TIMEOUT   15
ABORT     "BUSY"
ABORT      "DELAYED"
ABORT      "ERROR"
ABORT       "NO DIALTONE"
ABORT       "NO CARRIER"
TIMEOUT    40
''         \rAT
OK         ATS0=0
OK         ATE0V1
OK         AT+CGDCONT=1,"IP","CMNET"
OK         ATDT*99***1#
CONNECT    ''

pppd call gprs后 显示
。。。。。。。
。。。。。。。
PAP authentication succeeded
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 [IPCP ConfReq id=0x1 <addr 192.168.254.254>]
sent [IPCP ConfAck id=0x1 <addr 192.168.254.254>]
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 [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 10.190.123.133> <ms-dns1 211.137.130.3> <ms-dns3
211.137.130.19>]
sent [IPCP ConfReq id=0x3 <addr 10.190.123.133> <ms-dns1 211.137.130.3> <ms-dns3
211.137.130.19>]
rcvd [IPCP ConfAck id=0x3 <addr 10.190.123.133> <ms-dns1 211.137.130.3> <ms-dns3
211.137.130.19>]
local  IP address 10.190.123.133
remote IP address 192.168.254.254
primary   DNS address 211.137.130.3
secondary DNS address 211.137.130.19
到这里就不动了,主机ping 10.190.123.133  不通
为什么到这里就结束了呢,不退出拨号程序?获得了ip,表示成功拨号了么?为什么又ping不通呢?

相关帖子

沙发
yuanwaia|  楼主 | 2010-1-5 19:50 | 只看该作者
没人顶呀?:(

使用特权

评论回复
板凳
ecomputer| | 2010-1-27 13:45 | 只看该作者
路由表没有更改,还是以前的,删除以前的路由,重新建立一个将其指定到gprs上来

使用特权

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

本版积分规则

5

主题

7

帖子

0

粉丝