summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/ppp
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-08-25 09:15:33 -0500
committerJohn Klug <john.klug@multitech.com>2017-09-14 17:27:38 -0500
commit3f4c6b48c132ed82ea7e93fdd69e6bdf52feb591 (patch)
treed2ea78ee20486beb76abcee4778b861a15229904 /recipes-core/multitech/config/ppp
parent1860c93543057e18195a5c43a0bab547fdbe9fd8 (diff)
downloadmeta-mlinux-3f4c6b48c132ed82ea7e93fdd69e6bdf52feb591.tar.gz
meta-mlinux-3f4c6b48c132ed82ea7e93fdd69e6bdf52feb591.tar.bz2
meta-mlinux-3f4c6b48c132ed82ea7e93fdd69e6bdf52feb591.zip
New LNA3 chat scripts.
Diffstat (limited to 'recipes-core/multitech/config/ppp')
-rw-r--r--recipes-core/multitech/config/ppp/peers/lna311
-rw-r--r--recipes-core/multitech/config/ppp/peers/lna3_chat22
2 files changed, 33 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/lna3 b/recipes-core/multitech/config/ppp/peers/lna3
new file mode 100644
index 0000000..bd84569
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lna3
@@ -0,0 +1,11 @@
+linkname ppp0
+230400
+defaultroute
+replacedefaultroute
+usepeerdns
+ipcp-max-failure 10
+ipcp-restart 10
+noauth
+crtscts
+novj
+connect '/usr/sbin/chat -v -t 90 -f /etc/ppp/peers/lna3_chat'
diff --git a/recipes-core/multitech/config/ppp/peers/lna3_chat b/recipes-core/multitech/config/ppp/peers/lna3_chat
new file mode 100644
index 0000000..e8c9be4
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lna3_chat
@@ -0,0 +1,22 @@
+SAY "LNA3 chat\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'
+# ----------------------------------
+# Set the APN for your provider here
+# ----------------------------------
+OK 'AT+CGDCONT=3,"IPV4V6","internet"'
+SAY "Dialing...\n"
+OK 'ATD*99***3#'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"