summaryrefslogtreecommitdiffstats
path: root/projectroot/etc/chatscripts
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-06-11 12:18:01 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-06-18 16:22:13 +0200
commit28db1773524eb763569939d4066e32dbf50c69a0 (patch)
tree964e2f4165b48179d7ac39ac8d472788d60f99f0 /projectroot/etc/chatscripts
parent878707bd943a04fc8e3a55a151499359e81ce780 (diff)
downloadptxdist-28db1773524eb763569939d4066e32dbf50c69a0.tar.gz
ptxdist-28db1773524eb763569939d4066e32dbf50c69a0.tar.xz
generic: rename generic -> projectroot
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'projectroot/etc/chatscripts')
-rw-r--r--projectroot/etc/chatscripts/disconnect8
-rw-r--r--projectroot/etc/chatscripts/provider19
2 files changed, 27 insertions, 0 deletions
diff --git a/projectroot/etc/chatscripts/disconnect b/projectroot/etc/chatscripts/disconnect
new file mode 100644
index 000000000..9d91a48ec
--- /dev/null
+++ b/projectroot/etc/chatscripts/disconnect
@@ -0,0 +1,8 @@
+ABORT 'BUSY'
+ABORT 'ERROR'
+ABORT 'NO ANSWER'
+ABORT 'NO DIALTONE'
+ABORT 'RINGING\r\n\r\nRINGING'
+TIMEOUT 10
+'' '\d\d+++\d\dATH'
+OK 'ATZ'
diff --git a/projectroot/etc/chatscripts/provider b/projectroot/etc/chatscripts/provider
new file mode 100644
index 000000000..efcb04a6f
--- /dev/null
+++ b/projectroot/etc/chatscripts/provider
@@ -0,0 +1,19 @@
+# This is the chat script used to dial out to your default service provider.
+# Please customize the entries enclosed in parenthesis to match your setup.
+# Only the "provider" file will be handled by poff and pon (unless with
+# extra command line arguments).
+#
+# Remember to edit /etc/ppp/peers/provider accordingly.
+#
+# ATZW2 as a default init string
+# - On all hayes compatible modems, W2 will correctly report the connect
+# speed.
+#
+ABORT BUSY
+ABORT "NO CARRIER"
+ABORT VOICE
+ABORT "NO DIALTONE"
+"" ATZW2
+OK ATDT<put phone number here>
+ogin <put login name here>
+word \q<put password here>