天天看點

華為4G子產品調試配置檔案

華為等 3G、4G子產品撥号上網過程分析

http://blog.csdn.net/qq_15079039/article/details/53667360

Linux下pppd撥号腳本配置

http://www.cnblogs.com/doctorqbw/archive/2012/06/19/2555063.html

###############################################

以下為配置檔案

###############################################

檔案:wcdma_he910:

#/etc/ppp/peers/gprs

# This is pppd script for China Mobile, used Huawei GTM900-B GPRS Module

# Usage:   root>pppd call gprs

/dev/ttyO3

115200

nocrtscts

modem

#noauth

debug

nodetach

#hide-password

usepeerdns

noipdefault

defaultroute

user "CMNET"

0.0.0.0:0.0.0.0

record /tmp/pppdlog

#ipcp-accept-local

#ipcp-accept-remote

#lcp-echo-failure  12

#lcp-echo-interval 3

#noccp

#novj

#novjccomp

#persist

connect '/mnt/platform/sbin/chat -s -v -f /etc/ppp/wcdma-connect-chat'

disconnect '/mnt/platform/sbin/chat -v -f /etc/ppp/wcdma-disconnect-chat'

檔案:wcdma-connect-chat:

#/etc/ppp/gprs-connect-chat

# chat script for China Mobile, used HuaWei GTM900-B GPRS module.

TIMEOUT         15

ABORT           "DELAYED"

ABORT           "BUSY"

ABORT           "ERROR"

ABORT           "NO DIALTONE"

ABORT           "NO CARRIER"

TIMEOUT        40

''             \rAT

OK               AT+CGDCONT=1,"IP",""

OK              ATDT*99***1#

CONNECT        ''

檔案:wcdma-disconnect-chat:

ABORT "ERROR"

ABORT "NODIALTONE"

SAY "\nSending break to the modem\n"

'' "\K"

'' "+++ATH"

SAY "\nGoodbay\n"

檔案:resolv.conf

nameserver 210.21.4.130

nameserver 221.5.88.88

###############################################

繼續閱讀