What about this session ? it waste my data
I use raspberry pi 3 and hologram NOVA connect to the internet, my app need listen to message from web server.
Yestday in my app and connectivity test ,i have send no data by my APP ,but this morning i find a 447K data transmit,
I check “USAGE THIS PERIOD INSPEC”, i find this log data:
{“linkid”:370676,“record_id”:321486535,“session_begin”:“2018-05-20 16:36:23”,“timestamp”:“2018-05-20 18:52:59”,“bytes”:447005,“imei”:“3575200723236201”,“cellid”:2575,“lac”:32816,“network_name”:“China Mobile Limited”},
I check the raspberry pi log i find
pi@raspberrypi:~ $ cat /var/log/messages
…
May 21 00:36:19 raspberrypi pppd[2791]: pppd 2.4.7 started by pi, uid 0
May 21 00:36:19 raspberrypi kernel: [ 1189.487145] PPP generic driver version 2.4.2
May 21 00:36:20 raspberrypi chat[2796]: abort on (BUSY)
May 21 00:36:20 raspberrypi chat[2796]: abort on (NO CARRIER)
May 21 00:36:20 raspberrypi chat[2796]: abort on (VOICE)
May 21 00:36:20 raspberrypi chat[2796]: abort on (NO DIALTONE)
May 21 00:36:20 raspberrypi chat[2796]: abort on (NO DIAL TONE)
May 21 00:36:20 raspberrypi chat[2796]: abort on (NO ANSWER)
May 21 00:36:20 raspberrypi chat[2796]: abort on (DELAYED)
May 21 00:36:20 raspberrypi chat[2796]: timeout set to 12 seconds
May 21 00:36:20 raspberrypi chat[2796]: report (CONNECT)
May 21 00:36:20 raspberrypi chat[2796]: send (AT^M)
May 21 00:36:20 raspberrypi chat[2796]: expect (OK)
May 21 00:36:20 raspberrypi chat[2796]: ^M
May 21 00:36:20 raspberrypi chat[2796]: OK
May 21 00:36:20 raspberrypi chat[2796]: – got it
May 21 00:36:20 raspberrypi chat[2796]: send (ATH^M)
May 21 00:36:21 raspberrypi chat[2796]: expect (OK)
May 21 00:36:21 raspberrypi chat[2796]: ^M
May 21 00:36:21 raspberrypi chat[2796]: ^M
May 21 00:36:21 raspberrypi chat[2796]: OK
May 21 00:36:21 raspberrypi chat[2796]: – got it
May 21 00:36:21 raspberrypi chat[2796]: send (ATZ^M)
May 21 00:36:21 raspberrypi chat[2796]: expect (OK)
May 21 00:36:21 raspberrypi chat[2796]: ^M
May 21 00:36:21 raspberrypi chat[2796]: ^M
May 21 00:36:21 raspberrypi chat[2796]: OK
May 21 00:36:21 raspberrypi chat[2796]: – got it
May 21 00:36:21 raspberrypi chat[2796]: send (ATQ0^M)
May 21 00:36:21 raspberrypi chat[2796]: expect (OK)
May 21 00:36:21 raspberrypi chat[2796]: ^M
May 21 00:36:21 raspberrypi chat[2796]: ATQ0^M^M
May 21 00:36:21 raspberrypi chat[2796]: OK
May 21 00:36:21 raspberrypi chat[2796]: – got it
May 21 00:36:21 raspberrypi chat[2796]: send (AT+CGDCONT=1,“IP”,“hologram”^M)
May 21 00:36:21 raspberrypi chat[2796]: expect (OK)
May 21 00:36:21 raspberrypi chat[2796]: ^M
May 21 00:36:21 raspberrypi chat[2796]: AT+CGDCONT=1,“IP”,“hologram”^M^M
May 21 00:36:21 raspberrypi chat[2796]: OK
May 21 00:36:21 raspberrypi chat[2796]: – got it
May 21 00:36:21 raspberrypi chat[2796]: send (ATDT99*1#^M)
May 21 00:36:21 raspberrypi chat[2796]: expect (CONNECT)
May 21 00:36:21 raspberrypi chat[2796]: ^M
May 21 00:36:21 raspberrypi chat[2796]: ATDT99***1#^M^M
May 21 00:36:21 raspberrypi chat[2796]: CONNECT
May 21 00:36:21 raspberrypi chat[2796]: – got it
May 21 00:36:21 raspberrypi chat[2796]: send (^M)
May 21 00:36:21 raspberrypi pppd[2791]: Serial connection established.
May 21 00:36:21 raspberrypi pppd[2791]: Using interface ppp0
May 21 00:36:21 raspberrypi pppd[2791]: Connect: ppp0 <–> /dev/ttyACM0
May 21 00:36:22 raspberrypi kernel: [ 1192.146090] PPP BSD Compression module registered
May 21 00:36:22 raspberrypi kernel: [ 1192.158815] PPP Deflate Compression module registered
May 21 00:36:25 raspberrypi pppd[2791]: local IP address 10.170.202.79
May 21 00:36:25 raspberrypi pppd[2791]: remote IP address 10.170.202.79
May 21 00:36:25 raspberrypi pppd[2791]: primary DNS address 212.9.0.135
May 21 00:36:25 raspberrypi pppd[2791]: secondary DNS address 212.9.0.136
May 21 02:52:58 raspberrypi pppd[2791]: Hangup (SIGHUP)
May 21 02:52:58 raspberrypi pppd[2791]: Connect time 136.6 minutes.
May 21 02:52:58 raspberrypi pppd[2791]: Sent 470766 bytes, received 91147 bytes.
May 21 02:52:58 raspberrypi pppd[2791]: Connection terminated.
…
why “local IP address 10.170.202.79” and “remote IP address 10.170.202.79” is the same on,but “Connect time 136.6 minutes”. and “Sent 470766 bytes, received 91147 bytes.”?
I need help:Who can tell me What about this session ? it waste my data ,and how can stop or remove this session?