copyliu 发表于 2006-10-2 12:11:23

看看这个PPPD的LOG, 问GPRS应该怎样设置


Oct2 12:02:14 copyliupc pppd[1502]: pppd 2.4.4 started by root, uid 0
Oct2 12:02:15 copyliupc chat[1504]: timeout set to 60 seconds
Oct2 12:02:15 copyliupc chat[1504]: abort on (ERROR)
Oct2 12:02:15 copyliupc chat[1504]: abort on (BUSY)
Oct2 12:02:15 copyliupc chat[1504]: abort on (NO CARRIER)
Oct2 12:02:15 copyliupc chat[1504]: abort on (NO DIALTONE)
Oct2 12:02:15 copyliupc chat[1504]: send (ATZ^M)
Oct2 12:02:15 copyliupc chat[1504]: send (AT+CGDCONT=1,\"IP\",\"CMWAP\"^M)
Oct2 12:02:16 copyliupc chat[1504]: expect (OK)
Oct2 12:02:16 copyliupc chat[1504]: ^MATZ^M^M
Oct2 12:02:16 copyliupc chat[1504]: OK
Oct2 12:02:16 copyliupc chat[1504]:-- got it
Oct2 12:02:16 copyliupc chat[1504]: send (ATDT*99# *99***1# *99***2#^M)
Oct2 12:02:16 copyliupc chat[1504]: timeout set to 75 seconds
Oct2 12:02:16 copyliupc chat[1504]: expect (CONNECT)
Oct2 12:02:16 copyliupc chat[1504]: ^M
Oct2 12:02:16 copyliupc chat[1504]: AT+CGDCONT=1,"IP","CMWAP"^M^M
Oct2 12:02:16 copyliupc chat[1504]: OK^M
Oct2 12:02:16 copyliupc chat[1504]: ATDT*99# *99***1# *99***2#^M^M
Oct2 12:02:16 copyliupc chat[1504]: CONNECT
Oct2 12:02:16 copyliupc chat[1504]:-- got it
Oct2 12:02:16 copyliupc pppd[1502]: Serial connection established.
Oct2 12:02:17 copyliupc pppd[1502]: Exit.

copyliu 发表于 2006-10-2 12:22:21

pppd一接收到modem的connect讯号以后马上退出

错误代码2


modem是 Motorola C381
/dev/ttyACM0
页: [1]
查看完整版本: 看看这个PPPD的LOG, 问GPRS应该怎样设置