summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/ppp/peers/l4n1_chat_non_vz
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/multitech/config/ppp/peers/l4n1_chat_non_vz')
-rw-r--r--recipes-core/multitech/config/ppp/peers/l4n1_chat_non_vz37
1 files changed, 28 insertions, 9 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/l4n1_chat_non_vz b/recipes-core/multitech/config/ppp/peers/l4n1_chat_non_vz
index ea5907e..64a05be 100644
--- a/recipes-core/multitech/config/ppp/peers/l4n1_chat_non_vz
+++ b/recipes-core/multitech/config/ppp/peers/l4n1_chat_non_vz
@@ -31,15 +31,34 @@ ABORT 'BUSY'
'' 'AT'
OK 'ATZ'
OK 'AT+CSQ'
-#-------------------------------------------
-# Set the non-Verizon APN on the next line
-#-------------------------------------------
-#OK 'AT+CGDCONT=3,"IP","proxy"'
-#OK 'AT+CGDCONT=3,"IP","ISP.CINGULAR"'
-#OK 'AT+CGDCONT=3,"IP","internet2.voicestream.com"'
-OK 'AT+COPS=2'
-OK 'AT+CGDCONT=3,"IP","phone"'
-OK 'AT+COPS=0'
+# ----------------------------------
+# Set the APN for your provider here
+# Note that a comment starting with
+# #MT AT+CGDCONT=
+# will be interpretted by
+# /usr/libexec/chat_wrapper
+# as the intended context
+# setting. Make the context number
+# (after the =) match the
+# dialer number context.
+# If the context changes, chat_wrapper
+# handles disconnecting the modem
+# from the network during the update,
+# which is required
+# by some modem firmware.
+# The chat script will be executed
+# after the chat_wrapper script
+# re-registers the modem.
+# The context will only be set if the
+# modem settings do not match the
+# settings here.
+# Lines starting with # MT are ignored.
+# ----------------------------------
+# MT AT+CGDCONT=3,"IP","proxy"
+# MT AT+CGDCONT=3,"IP","ISP.CINGULAR"
+# MT AT+CGDCONT=3,"IP","internet2.voicestream.com"
+#MT AT+CGDCONT=3,"IP","phone"
+OK 'AT+CGDCONT?'
SAY "Dialing...\n"
OK 'ATD*99***3#'
SAY "Waiting for CONNECT...\n"