diff options
Diffstat (limited to 'recipes-core/multitech/config/ppp/peers/l4e1_chat')
-rw-r--r-- | recipes-core/multitech/config/ppp/peers/l4e1_chat | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/ppp/peers/l4e1_chat b/recipes-core/multitech/config/ppp/peers/l4e1_chat new file mode 100644 index 0000000..3a297ed --- /dev/null +++ b/recipes-core/multitech/config/ppp/peers/l4e1_chat @@ -0,0 +1,25 @@ +SAY "L4E1 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+COPS=2' +OK 'AT+CGDCONT=1,"IP","internet"' +OK 'AT+COPS=0' +OK 'AT+CGDCONT?' +SAY "Dialing...\n" +OK 'ATD*99***1#' +SAY "Waiting for CONNECT...\n" +TIMEOUT 120 +CONNECT '' +SAY "Connected\n" |