summaryrefslogtreecommitdiff
path: root/recipes/multitech/config/ppp/peers
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-04-30 10:50:57 -0500
committerJesse Gilles <jgilles@multitech.com>2010-04-30 10:50:57 -0500
commit0431f878edd38a1af264e5727e1e4d604f1a95fd (patch)
tree8fbede06fa2bf4835e9d032d1263ae120eb99837 /recipes/multitech/config/ppp/peers
parent15028387890effa23f9cd0479b586f31c0752b88 (diff)
add Multi-Tech-specific recipes
Diffstat (limited to 'recipes/multitech/config/ppp/peers')
-rw-r--r--recipes/multitech/config/ppp/peers/cdma9
-rw-r--r--recipes/multitech/config/ppp/peers/cdma_chat18
-rw-r--r--recipes/multitech/config/ppp/peers/gsm10
-rw-r--r--recipes/multitech/config/ppp/peers/gsm_chat23
4 files changed, 60 insertions, 0 deletions
diff --git a/recipes/multitech/config/ppp/peers/cdma b/recipes/multitech/config/ppp/peers/cdma
new file mode 100644
index 0000000000..3fc231f21f
--- /dev/null
+++ b/recipes/multitech/config/ppp/peers/cdma
@@ -0,0 +1,9 @@
+linkname ppp0
+230400
+defaultroute
+replacedefaultroute
+usepeerdns
+noauth
+crtscts
+novj
+connect '/usr/sbin/chat -v -t 90 -f /etc/ppp/peers/cdma_chat'
diff --git a/recipes/multitech/config/ppp/peers/cdma_chat b/recipes/multitech/config/ppp/peers/cdma_chat
new file mode 100644
index 0000000000..6ff750e24a
--- /dev/null
+++ b/recipes/multitech/config/ppp/peers/cdma_chat
@@ -0,0 +1,18 @@
+SAY "CDMA 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'
+SAY "Dialing...\n"
+OK 'ATD#777'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"
diff --git a/recipes/multitech/config/ppp/peers/gsm b/recipes/multitech/config/ppp/peers/gsm
new file mode 100644
index 0000000000..fed62a34b5
--- /dev/null
+++ b/recipes/multitech/config/ppp/peers/gsm
@@ -0,0 +1,10 @@
+linkname ppp0
+230400
+defaultroute
+replacedefaultroute
+usepeerdns
+ipcp-max-failure 4
+noauth
+crtscts
+novj
+connect '/usr/sbin/chat -v -t 90 -f /etc/ppp/peers/gsm_chat'
diff --git a/recipes/multitech/config/ppp/peers/gsm_chat b/recipes/multitech/config/ppp/peers/gsm_chat
new file mode 100644
index 0000000000..88877775bb
--- /dev/null
+++ b/recipes/multitech/config/ppp/peers/gsm_chat
@@ -0,0 +1,23 @@
+SAY "GSM 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=1,"IP","proxy"'
+#OK 'AT+CGDCONT=1,"IP","ISP.CINGULAR"'
+#OK 'AT+CGDCONT=1,"IP","internet2.voicestream.com"'
+OK 'AT+CGDCONT=1,"IP","internet"'
+SAY "Dialing...\n"
+#OK 'ATD*99#'
+OK 'ATD*99***1#'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"