linux通过Blackberry上网


我的设备:blackberry 8700
我的运营商:中国移动

文件一:/etc/ppp/peers/cmwap

connect "/usr/sbin/chat -f /etc/chatscripts/cmwap.chat"

noauth
user ""
password ""

defaultroute
usepeerdns

noipdefault
nodetach
novj
nodeflate
nobsdcomp
noaccomp
nocrtscts
nomultilink
nopcomp
nomagic

passive

ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote

lcp-echo-interval 0
lcp-echo-failure 999

mtu 1492

debug

pty "/usr/sbin/pppob"

文件二:/etc/chatscripts/cmwap.chat

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
OK 'AT+CGDCONT=1,"IP","cmwap"'
OK 'ATDT*99#'

命令:sudo pppd call cmwap

ps:显然将/etc/chatscripts/cmwap.chat文件中的cmwap改为cmnet,就可以上cmnet了。
pps:显然文件名与 call 的文件名是相关的,随便改。

Related posts:

  1. 同时更新renren与twitter
  2. inotifywait + rsync 同步源代码

  1. No comments yet.
(will not be published)


SetTextSize SetPageWidth