summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-02-21 15:11:12 -0600
committerJohn Klug <john.klug@multitech.com>2019-03-13 13:56:48 -0500
commit607927ef4a1bb935c3c0870daf6b404d91248f8d (patch)
tree2e936b8bf5b16c8e199e98c6c34838451cdb7c78 /recipes-core/multitech/config
parent37e8ae2054f38093388b29a4159515bc24a3591e (diff)
downloadmeta-mlinux-607927ef4a1bb935c3c0870daf6b404d91248f8d.tar.gz
meta-mlinux-607927ef4a1bb935c3c0870daf6b404d91248f8d.tar.bz2
meta-mlinux-607927ef4a1bb935c3c0870daf6b404d91248f8d.zip
Add lap3 radio script and corresponding chat script
Diffstat (limited to 'recipes-core/multitech/config')
-rw-r--r--recipes-core/multitech/config/ppp/peers/lap311
-rw-r--r--recipes-core/multitech/config/ppp/peers/lap3_chat19
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/lap3 b/recipes-core/multitech/config/ppp/peers/lap3
new file mode 100644
index 0000000..bac08a1
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lap3
@@ -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/lap3_chat'
diff --git a/recipes-core/multitech/config/ppp/peers/lap3_chat b/recipes-core/multitech/config/ppp/peers/lap3_chat
new file mode 100644
index 0000000..bc5ebcf
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lap3_chat
@@ -0,0 +1,19 @@
+SAY "LSP3 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'
+OK 'AT+CGDCONT?'
+SAY "Dialing...\n"
+OK 'ATD*99***1#'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"