pi@raspberrypi:~ $ sudo pon
pppd options in effect:
debug # (from /etc/ppp/peers/provider)
updetach # (from /etc/ppp/peers/provider)
dump # (from /etc/ppp/peers/provider)
noauth # (from /etc/ppp/peers/provider)
remotename 3gppp # (from /etc/ppp/peers/provider)
/dev/ttyUSB3 # (from /etc/ppp/peers/provider)
115200 # (from /etc/ppp/peers/provider)
lock # (from /etc/ppp/peers/provider)
connect chat -s -v -f /etc/chatscripts/chat-connect -T sp.telus.com # (from /etc/ppp/peers/provider)
disconnect chat -s -v -f /etc/chatscripts/chat-disconnect # (from /etc/ppp/peers/provider)
nocrtscts # (from /etc/ppp/peers/provider)
modem # (from /etc/ppp/peers/provider)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/peers/provider)
novj # (from /etc/ppp/peers/provider)
novjccomp # (from /etc/ppp/peers/provider)
ipcp-accept-local # (from /etc/ppp/peers/provider)
ipcp-accept-remote # (from /etc/ppp/peers/provider)
ipparam 3gppp # (from /etc/ppp/peers/provider)
noipdefault # (from /etc/ppp/peers/provider)
ipcp-max-failure 30 # (from /etc/ppp/peers/provider)
defaultroute # (from /etc/ppp/peers/provider)
usepeerdns # (from /etc/ppp/peers/provider)
noccp # (from /etc/ppp/peers/provider)
noipx # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
– got it
send (ATE0^M)
expect (OK)
^M
^M
OK
– got it
send (AT+QCFG=“band”,F,400A0E189F,A0E189F,1^M)
expect (OK)
^M
^M
OK
– got it
send (AT+QCFG=“nwscanseq”,01,1^M)
expect (OK)
^M
^M
OK
– got it
send (AT+QCFG=“nwscanmode”,1,1^M)
expect (OK)
^M
^M
OK
– got it
send (AT+QCFG=“iotopmode”,2,1^M)
expect (OK)
^M
^M
OK
– got it
send (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
BG96^M
Revision: BG96MAR02A10M1G^M
^M
SubEdition: V04^M
^M
+CSQ: 99,99^M
^M
+COPS: 0^M
^M
+CGREG: 0,2^M
^M
OK
– got it
send (AT+CGDCONT=1,“IP”,“sp.telus.com”,0,0^M)
expect (OK)
^M
^M
OK
– got it
send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
– got it
Script chat -s -v -f /etc/chatscripts/chat-connect -T sp.telus.com finished (pid 1307), status = 0x0
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <–> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe2e3600> ]
rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0xd099f1d5> ]
No auth is possible
sent [LCP ConfRej id=0x6 ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe2e3600> ]
rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0xd099f1d5> ]
sent [LCP ConfAck id=0x7 <asyncmap 0x0> <magic 0xd099f1d5> ]
sent [LCP EchoReq id=0x0 magic=0xe2e3600]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [LCP DiscReq id=0x8 magic=0xd099f1d5]
rcvd [LCP EchoRep id=0x0 magic=0xd099f1d5 0e 2e 36 00]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
…
rcvd [IPCP ConfNak id=0x24 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x25 <addr 0.0.0.0> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Modem hangup
Connection terminated.