Linux3.0.1内核+BGS2-E的GPRS模块,PPP拨号上网一直有问题
采用脚本拨号的方法。
脚本是我从网上搜的。现在拨号拨不上去。。。网上关于BGS2-E的资料也很少
[root@maryplum]# /usr/sbin/pppd call gprs
timeout set to 5 seconds
abort on (\nBUSY\r)
abort on (\nERROR\r)
abort on (\nNO ANSWER\r)
abort on (\nNO CARRIER\r)
abort on (\nNO DIALTONE\r)
abort on (\nRINGING\r\n\r\nRINGING\r)
timeout set to 5 seconds
send (^MAT^M)
expect (OK)
^M
OKOK
-- got it
send (ATE0^M)
timeout set to 60 seconds
Press CTRL-C to break the connection process.
expect (OK)
^M
^M
OKOK
-- got it
send (AT+CGREG=1^M)
expect (OK)
^M
^M
OKOK
-- got it
send (AT+CGATT=1^M)
expect (OK)
^M
^M
OKOK
-- got it
send (AT+CGDCONT=1,"IP","CMNET"^M)
expect (OK)
^M
^M
OKOK
-- got it
send (AT+CGQMIN=1,0,0,0,0,31^M)
expect (OK)
^M
^M
OKOK
-- got it
send (AT+CGACT=1,1^M)
expect (OK)
^M
^M
OKOK
-- got it
send (ATDT*99***1#^M)
timeout set to 60 seconds
Waiting for connect...
WAITING...
expect (CONNECT'')
^M
^M
CONNECT
CONNECT^M
~^?}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&^R^W^_C}#}%B#}%_U~~^?}#@!}!}#} }9}"}&} }*
} } }~^?}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&^R^W^_C}#}%B#}%_U~~^?}#@!}!}#} }9}"}
&} }*} } }
'}"}(}"}%}&^R^W^_C}#}%B#}%_U~~^?}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&^R^W^_C}#}%B
#}%_U~~'}"}(}"}%}&^R^W^_C}#}%B#}%_U~~^?}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&^R^W^
。。。。
。。。。