summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-10-14 08:20:08 -0500
committerJason Reiss <jreiss@multitech.com>2016-10-14 08:20:08 -0500
commite84694799fe3301529c1b2b5661233af8a02f94c (patch)
treef9ad4612e74c1154abc45972d76d6428f68da5c8 /recipes-core/multitech/config
parent671543f84785b62df53c4a4be2727dd33f6d8fca (diff)
parent39bffa9d7f535acfafacd8a39f34a586692a1553 (diff)
downloadmeta-mlinux-e84694799fe3301529c1b2b5661233af8a02f94c.tar.gz
meta-mlinux-e84694799fe3301529c1b2b5661233af8a02f94c.tar.bz2
meta-mlinux-e84694799fe3301529c1b2b5661233af8a02f94c.zip
Merge branch 'master' of gitlab.multitech.net:mirrors/meta-mlinux into Conduit_0.1
Diffstat (limited to 'recipes-core/multitech/config')
-rw-r--r--recipes-core/multitech/config/ppp/peers/leu111
-rw-r--r--recipes-core/multitech/config/ppp/peers/leu1_chat22
2 files changed, 33 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/leu1 b/recipes-core/multitech/config/ppp/peers/leu1
new file mode 100644
index 0000000..993b33a
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/leu1
@@ -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/leu1_chat'
diff --git a/recipes-core/multitech/config/ppp/peers/leu1_chat b/recipes-core/multitech/config/ppp/peers/leu1_chat
new file mode 100644
index 0000000..6f84008
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/leu1_chat
@@ -0,0 +1,22 @@
+SAY "LEU1 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=1,"IPV4V6","internet"'
+SAY "Dialing...\n"
+OK 'ATD*99***1#'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"