summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-core/multitech/config/ppp/peers/lsp311
-rw-r--r--recipes-core/multitech/config/ppp/peers/lsp3_chat19
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/lsp3 b/recipes-core/multitech/config/ppp/peers/lsp3
new file mode 100644
index 0000000..773f1dd
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lsp3
@@ -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/lvw2_chat'
diff --git a/recipes-core/multitech/config/ppp/peers/lsp3_chat b/recipes-core/multitech/config/ppp/peers/lsp3_chat
new file mode 100644
index 0000000..3fcdfc2
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lsp3_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***2#'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"