一:中国联通 华为 EM770W模块,wcdma拨号脚本
1.
#/etc/ppp/wcdma-connect-chat
TIMEOUT 5
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
'' AT
'OK-+++\c-OK' ATH0
TIMEOUT 5
'' \rAT
#OK at%SYSCFG=14,2,3FFFFFFF,1,2
#OK AT+CGMM
#OK AT+CLVL=?
#OK %SPN=?
OK AT+CGDCONT=1,"IP","3gnet",,0,0
#OK ATDT*99***1#
OK ATDT*99#
CONNECT ''
2.
#/etc/ppp/peers/wcdma
#This is pppd script, used Huawei EM770W(Union)
/dev/ttyUSB0
115200
crtscts
modem
debug
nodetach
usepeerdns
defaultroute
user "3gnet"
二、中国电信 华为模块 EM660 cdma2000拨号脚本
1.
#/etc/ppp/cdma2000-connect-chat
TIMEOUT 5
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
'' AT
'OK-+++\c-OK' ATH0
TIMEOUT 40
'' AT
OK ATDT#777
CONNECT ''
2.
#/etc/ppp/peers/cdma2000
#This is pppd script, used Huawei EM660
/dev/ttyUSB0
115200
crtscts
modem
debug
nodetach
usepeerdns
defaultroute
user ""
password "vnet.mobi"
#user "card"
#password "card"
0.0.0.0:0.0.0.0
connect '/usr/sbin/chat -s -v -f /etc/ppp/cdma2000-connect-chat'
三、中国移动 中兴模块 MU301 tdscdma拨号脚本
1.
TIMEOUT 5
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
TIMEOUT 10
"" "ATZ"
"" "ATH0"
"" "AT+CFUN=1"
"" 'AT+CGDCONT=1,"IP","CMNET"'
"" "ATDT*99***1#"
CONNECT ''
2.
user cmnet
password any
/dev/ttyUSB0
115200
nodetach
crtscts
show-password
debug
defaultroute
usepeerdns
ipcp-accept-local
ipcp-accept-remote
noccp
connect '/usr/sbin/chat -s -v -f /etc/ppp/tdscdma-connect-chat'
阅读(4948) | 评论(0) | 转发(1) |