linux pppd 3g 拨号记录

linux pppd 3g 拨号记录

#cat  etc/ppp/scripts/Talk.chat
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
TIMEOUT 20
'' 'ATZ'
OK 'AT+CGDCONT=1,,3gnet,,0,0'
OK ATDT*99***1#
CONNECT  ""

#cat /etc/ppp/peers/3g

/dev/ttyMOT0
115200
#lock
crtscts
persist
modem
noauth
defaultroute
user guest
password guest
#connect "/usr/sbin/chat -V -f /etc/ppp/scripts/Talk.chat"
connect "/usr/sbin/chat -esvf /etc/ppp/scripts/Talk.chat"
noipdefault
usepeerdns
nobsdcomp
novj
debug


rm -rf /var/run/pppd2.tdb
pppd call 3g debug nodetach dump

你可能感兴趣的:(linux pppd 3g 拨号记录)