Background Pi process using data?

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]: ATDT
99***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?

Hi @steven_huang

When you run hologram network connect the Nova becomes your default network interface. If you leave this connection open then any processes running on your Pi could use your cellular connection. To ensure only your data is transmitted make sure Raspbian is not automatically updating and any process’ that intermittently use the internet are not running.

Hi @benstr
Thanks !
Could your tell me what kind of process use my cellular connection, and How can i disable this process ?

Every day at 6:25AM my RaspberryPi will attempt an update. See /etc/cron.daily.

So, I don’t leave my Pi attached during this time. You could try renaming cron.daily to cron.original_daily or search the RaspberryPi forum for a better process.

I didn’t see anything relevant in the other cron entries but perhaps you should look in them as well.

@davef
Thanks !
I have remove all the file in /etc/cron.daily,and try the connection again.

On second thought … there could be some useful processes taking place in cron.daily, ie logrotate. I believe apt is invoked which would try to update the OS.

Check to see if ntp is in cron.daily You might not want the time being updated on a regular basis.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.