summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/ppp/peers/lna3_chat
blob: 700c682ed41fd20e58a1be3726b17c38bfe1e150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
SAY "LNA3 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'
# -----------------------------------------
# APN for your provider here
# This should be handled automatically
# by the script mlinux-set-apn.
# The IP field may be changed manually.
# There must not be an APN for
# Verizon wireless, since verizon
# pushes the APN from the network.
# The default is Verizon, since
# the AT+CGDCONT command will cause
# a fault for a Verizon SIM and will push
# the new APN to the network, which will
# cause failures.
# Correct procedure is to use
# mlinux-set-apn "APN"
# to set the APN when not on Verizon.
# And to switch the firmware to Verizon:
# mlinux-switch-cell-fw 1
# And to switch to AT&T:
# mlinux-switch-cell-fw 0
# -----------------------------------------
#comment by mlinux-set-apn OK 'AT+CGDCONT=3,"IP","internet"'
SAY "Dialing...\n"
OK 'ATD*99***3#'
SAY "Waiting for CONNECT...\n"
TIMEOUT 120
CONNECT ''
SAY "Connected\n"