summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/ppp/peers/lna3_chat_vz
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/multitech/config/ppp/peers/lna3_chat_vz')
-rw-r--r--recipes-core/multitech/config/ppp/peers/lna3_chat_vz40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/lna3_chat_vz b/recipes-core/multitech/config/ppp/peers/lna3_chat_vz
new file mode 100644
index 0000000..58a5b30
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lna3_chat_vz
@@ -0,0 +1,40 @@
+#----------------------------
+# 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
+# -----------------------------------------
+SAY "Dialing...\n"
+OK 'ATD*99***3#'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"