diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-04-04 15:16:43 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-04-04 15:16:43 -0500 |
commit | 344a262d83c358f9dcc645b4890dded3e14ec88a (patch) | |
tree | 1de1e3a18ce2f03ff94fdb96b6ba3a2a4694c2a4 /recipes-core/multitech/config/ppp/peers | |
parent | ecd99ab85433abad7a463b9961c1656c1128df74 (diff) | |
download | meta-mlinux-atmel-344a262d83c358f9dcc645b4890dded3e14ec88a.tar.gz meta-mlinux-atmel-344a262d83c358f9dcc645b4890dded3e14ec88a.tar.bz2 meta-mlinux-atmel-344a262d83c358f9dcc645b4890dded3e14ec88a.zip |
ppp:feat: add lvw2 chat script
Diffstat (limited to 'recipes-core/multitech/config/ppp/peers')
-rw-r--r-- | recipes-core/multitech/config/ppp/peers/lvw2 | 11 | ||||
-rw-r--r-- | recipes-core/multitech/config/ppp/peers/lvw2_chat | 22 |
2 files changed, 33 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/lvw2 b/recipes-core/multitech/config/ppp/peers/lvw2 new file mode 100644 index 0000000..773f1dd --- /dev/null +++ b/recipes-core/multitech/config/ppp/peers/lvw2 @@ -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/lvw2_chat b/recipes-core/multitech/config/ppp/peers/lvw2_chat new file mode 100644 index 0000000..f5eb7a0 --- /dev/null +++ b/recipes-core/multitech/config/ppp/peers/lvw2_chat @@ -0,0 +1,22 @@ +SAY "LVW2 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' +# ---------------------------------- +# Set the APN for your provider here +# ---------------------------------- +OK 'AT+CGDCONT=3,"IPV4V6","vzwinternet"' +SAY "Dialing...\n" +OK 'ATD*99***3#' +SAY "Waiting for CONNECT...\n" +TIMEOUT 120 +CONNECT '' +SAY "Connected\n" |