使用:将PC上的DNS删掉后运行如下:
[root@localhost ppp]# pppd call gprs
timeout set to 15 seconds
abort on (DELAYED)
abort on (BUSY)
abort on (ERROR)
abort on (NO DIALTONE)
abort on (NO CARRIER)
timeout set to 40 seconds
send (^MAT^M)
expect (OK)
^M^M
OK
-- got it
send (ATS0=0^M)
expect (OK)
^M
AT^M
OK
-- got it
send (ATE0V1^M)
expect (OK)
^M
ATS0=0^M^M
OK
-- got it
send (AT+CGDCONT=1,"IP","CMNET"^M)
expect (OK)
^M
ATE0V1^M^M
OK
-- got it
send (ATDT*99***1#^M)
expect (CONNECT)
^M
^M
OK^M
^M
CONNECT
-- got it
send (^M)
Serial connection established.
using chann