|
我现在是用中兴的M305模块,TD的,现在拨号GPRS,网络连接不上,下面是一些LOG和ppp拨号脚本
D/RIL ( 124): ===>>[Send AT cmd][0] AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ ( 242): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ ( 242): [0019]> OPERATOR
D/RIL ( 124): onRequest: OPERATOR, token:0xcd30
I/RIL ( 124): onRequest: channel is busy
D/RILJ ( 242): [0020]> GPRS_REGISTRATION_STATE
D/RIL ( 124): <<====[Recv AT cmd][0] +COPS: 0,0,"CHINA MOBILE",2
D/RIL ( 124): <<====[Recv AT cmd][0] +COPS: 0,1,"CMCC",2
D/RIL ( 124): <<====[Recv AT cmd][0] +COPS: 0,2,"46000",2
D/RIL ( 124): <<====[Recv AT cmd][0] OK
gprs:
/dev/ttyUSB2
115200
crtscts
modem
debug
nodetach
mru 512
mtu 512
usepeerdns
noipdefault
defaultroute
user "cmnet"
0.0.0.0:0.0.0.0
connect '/usr/sbin/chat -s -v -f /etc/ppp/connect-chat'
disconnect '/usr/sbin/chat -s -v -f /etc/ppp/disconnect-chat'
connect-chat:
# chat script for China Mobile
TIMEOUT 15
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
TIMEOUT 15
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
TIMEOUT 40
'' AT
OK ATS0=0
OK ATE0V1
OK AT+CGDCONT=1,"IP","CMNET"
OK AT+CFUN=1
OK ATD*98*1#
CONNECT ''
网络是注册上了,但pppd这个进程没有起来,手动拨号(pppd call gprs)ppp的脚本也出现错误,RIL层的代码和AT指令的觉得是没错的,不知道是不是拨号脚本出了问题?希望有高手可以指点一下。 |
|