To be a better coder
分类: LINUX
2018-03-13 19:24:47
timeout set to 15 secondsabort on (DELAYED)
abort on (BUSY)
abort on (ERROR)
abort on (NO DIALTONE)
abort on (NO CARRIER)
timeout set to 40 secondssend (^MAT^M)
expect (OK)
AT^M^M
OK
-- got it
send (ATS0=0^M)expect (OK)
^M
ATS0=0^M^MOK
-- got it
send (ATE0V1^M)
expect (OK)
^M
ATE0V1^M^M
OK
-- got it
send (AT+CGDCONT=1,"IP","CMNET"^M)expect (OK)
^M
^M
OK
-- got it
send (AT+CGEQREQ=1,2,128,384,,,0,,,,,,^M)expect (OK)
^M
^M
OK
-- got it
send (ATDT*99*1#^M)expect (CONNECT)
^M
^M
CONNECT
-- got it
Script /usr/sbin/chat -s -v -f /etc/ppp/gprs-connect-chat finished (pid 1633), status = 0x0Serial connection established.
using channel 1Using interface ppp0Connect: ppp0 <--> /dev/ttyUSB3
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 ]rcvd [LCP ConfReq id=0x0 ]No auth is possiblesent [LCP ConfRej id=0x0 ]rcvd [LCP ConfAck id=0x1 ]rcvd [LCP ConfReq id=0x1 ]sent [LCP ConfAck id=0x1 ]sent [CCP ConfReq id=0x1 ]sent [IPCP ConfReq id=0x1 ]rcvd [LCP DiscReq id=0x2 magic=0x451b7dc9]rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]Protocol-Reject for 'Compression Control Protocol' (0x80fd) receivedrcvd [IPCP ConfReq id=0x0]sent [IPCP ConfNak id=0x0 ]rcvd [IPCP ConfRej id=0x1 ]sent [IPCP ConfReq id=0x2 ]rcvd [IPCP ConfReq id=0x1]sent [IPCP ConfAck id=0x1]rcvd [IPCP ConfNak id=0x2 ]sent [IPCP ConfReq id=0x3 ]rcvd [IPCP ConfAck id=0x3 ]Could not determine remote IP address: defaulting to 10.64.64.64local IP address 10.19.25.49remote IP address 10.64.64.64primary DNS address 211.136.112.50secondary DNS address 211.136.150.66Script /etc/ppp/ip-up started (pid 1639)Script /etc/ppp/ip-up finished (pid 1639), status = 0xff