summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/ppp/peers/lna3_chat_vz
blob: 1d2178d4a96fd7ed988aacbba04236da8ce6b4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#----------------------------
# This chat script has no
# APN because Verizon
# requires the chat script
# not set the APN. 
# This is because Verizon
# pushes the APN from their
# network.  Image 1 on an
# LNA3 product is used
# with a Verizon SIM.
#----------------------------
SAY "LNA3 chat Verizon\n"
ECHO OFF
ABORT 'NO DIAL TONE'
ABORT 'NO DIALTONE'
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
ABORT 'DELAYED'
ABORT 'VOICE'
ABORT 'BUSY'
'' 'AT'
OK 'ATZ'
OK 'AT+CSQ'
# -----------------------------------------
# Do not enter the AT+CGDCONT, because it
# will cause
# a fault for a Verizon SIM and will push
# the new APN to the network, which will
# cause failures.
# To switch the firmware to Verizon:
# mlinux-switch-cell-fw 1
# And to switch to AT&T (non-Verizon):
# mlinux-switch-cell-fw 0
# -----------------------------------------
# Log APN (current context) for
# diagnostic purposes
#-----------------------------------
OK 'AT+CGDCONT?'
SAY "Dialing...\n"
OK 'ATD*99***3#'
SAY "Waiting for CONNECT...\n"
TIMEOUT 120
CONNECT ''
SAY "Connected\n"