-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathchatUpWP76xx
42 lines (29 loc) · 843 Bytes
/
chatUpWP76xx
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
41
42
# This chatfile was generated by pppconfig 2.3.18.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth chat
# abortstring
# modeminit
TIMEOUT 6
'' AT
# disconnect previous session if there was one
# Expect OK, if it is NOT received (because the modem is not in command mode) then send +++ and expect OK.
# then send ATH0 (the modem hang up string)
OK-+++\c-OK ATH0
# Echo off
OK ATE0
# Check alls well
OK AT
# activate the context so the cellular carrier is up before pppd connects
# assumes
# AT+CGDCONT
# AT+WPPP has been used to manually use to set the authentication (if required)
#OK AT+CGACT=1,1
ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO DIALTONE' ABORT 'NO ANSWER' ABORT 'DELAYED'
# ispnumber
OK-AT-OK ATDT*99***2#
# ispconnect
CONNECT \d\c
# prelogin
# postlogin
# end of pppconfig stuff