diff options
author | Jeff Hatch <jhatch@multitech.com> | 2018-11-01 12:00:27 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2018-11-01 12:00:27 -0500 |
commit | 9296fb37a55709c3b45e332b313f71c5ccc07b07 (patch) | |
tree | 4ba3d54f09dd21fc4bbc124cf8ca6ef1a6634d84 /recipes-core/multitech | |
parent | 4e35f3af861714cda1a209149435af3f5b3e9add (diff) | |
download | meta-mlinux-9296fb37a55709c3b45e332b313f71c5ccc07b07.tar.gz meta-mlinux-9296fb37a55709c3b45e332b313f71c5ccc07b07.tar.bz2 meta-mlinux-9296fb37a55709c3b45e332b313f71c5ccc07b07.zip |
Add Sprint LSP3 chat script
Diffstat (limited to 'recipes-core/multitech')
-rw-r--r-- | recipes-core/multitech/config/ppp/peers/lsp3 | 11 | ||||
-rw-r--r-- | recipes-core/multitech/config/ppp/peers/lsp3_chat | 19 |
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" |