打印

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

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

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

[/code:1]
破烂拉圾机器。。。。不想跑Win95 投靠Linux 我的BLOG

TOP

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

错误代码2


modem是 Motorola C381
/dev/ttyACM0
破烂拉圾机器。。。。不想跑Win95 投靠Linux 我的BLOG

TOP