Chinaunix首页 | 论坛 | 博客
  • 博客访问: 281378
  • 博文数量: 59
  • 博客积分: 1346
  • 博客等级: 中尉
  • 技术积分: 461
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-06 17:17
文章分类

全部博文(59)

文章存档

2012年(9)

2011年(50)

分类: LINUX

2012-06-14 15:01:40

一:中国联通 华为 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'
阅读(4916) | 评论(0) | 转发(1) |
0

上一篇:wifi连接步骤

下一篇:arm上的samba移植

给主人留下些什么吧!~~