Mobile network traffic when cellural data set to Off

REPRODUCIBILITY (% or how often): once
BUILD ID: 3.3.0.16
HARDWARE (Jolla1, Tablet, XA2,…): Xperia XA2 - Dual SIM
UI LANGUAGE: Russian
REGRESSION: (compared to previous public release: Yes, No, ?): ?

DESCRIPTION:

Device generate mobile network traffic even when mobile data seet to off

PRECONDITIONS:

WiFi is On, no SIM installed, cellural data is Of

STEPS TO REPRODUCE:

  1. Install SIM int slot 1
  2. Reboot

EXPECTED RESULT:

No traffic, no charges

ACTUAL RESULT:

Aprox. 0.28 Mb of traffic -> charged by provider since my plan do not include prepaid traffic.

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

4 Likes

How do you measure the traffic?
It would be nice to know what exactly is being sent.

I measured it by bill from my provider - he sent me report where amount of data was specified. I will try to request detailed report.

1 Like

All I got from the provider is list of packets:
|11:46:11 | Mobile internet 4G || 2,00|kilobytes|
|11:47:00 | Mobile internet 4G || 9,00|kilobytes|
|11:49:13 | Mobile internet 4G || 1,00|kilobytes|
|11:58:12 | Mobile internet 4G || 1,00|kilobytes|
|12:03:57 | Mobile internet 4G || 9,00|kilobytes|

1 Like

You ca also see this detailed info on
Settings - Data Counters

Could it be that you are affected by the same or similar issue?
https://together.jolla.com/question/225150/bug-or-feature-cellular-data-activatedpreferred-while-wlanwifi-is-enabledin-use/

Well yeah, but the data counters under settings are fairly coarse. Mine says for example “Sent 4,9GB” which isn’t exactly bit-tight value :slight_smile:

Data counter shows zero traffic usage.
My issue is certainly different because cellurar data were disabled.

1 Like

You are absolutely right .
But here it is about measuring a few kilobytes only! :wink:

1 Like

OK then it really must be traffic since you are billed by it.

What I’d do is try to capture it with tcpdump to see what it is exactly. (altough that probably would not help to solve why is it using cellular data if the connection is off)

Actually now to think about it, I somehow assumed that the rmnet interfaces would have been removed when mobile data is off, but now as I checked it they remain even when flight mode is enabled. This must have been changed at some point since I definitely remember that some time back the interfaces were removed/recreated when the cellular was turned off/on… strange.

1 Like

I cheked provider’s report for later period.

There are more small (1-3 kb) packets though I didn’t turn cellural data on.

12:10:07
12:14:35
12:15:03
12:16:20
12:37:42
12:43:00
12:57:32
13:03:46
13:18:44
13:20:41
13:22:49
13:25:09
13:27:27
13:30:00
13:33:39
13:35:11
13:42:41

So I guess I can catch more details if someone gives me a hint wich tool can do it.

juiceme already said; tcpdump

But a more simple approach would be to just check if rmnet interface has got an inet addr.via command ‘ifconfig’.

1 Like

ifconfig returns:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1078 errors:0 dropped:0 overruns:0 frame:0
TX packets:1078 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:87928 (85.8 KiB) TX bytes:87928 (85.8 KiB)

rmnet_ipa0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0 Link encap:Ethernet HWaddr 38:78:62:41:E3:5F
inet addr:192.168.1.56 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::3a78:62ff:fe41:e35f/64
Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC
MTU:1500 Metric:1
RX packets:14189 errors:0 dropped:68 overruns:0 frame:0
TX packets:13038 errors:0 dropped:15 overruns:0 carrier:0
collisions:0 txqueuelen:3000
RX bytes:5606748 (5.3 MiB) TX bytes:1391318 (1.3 MiB)

1 Like

Hmm, that looks as it should.
But with that there should not be any traffic possible sent via cellular data.
Else you would see an inet addr for rmnet_data0.

1 Like

Even without address the interface is still UP&RUNNING which means that link layer traffic is possible. (and of course anything using raw socket as might be with tunnelled traffic…)

How do the RX and TX counters behave, take few ifconfig logginggs betwedn few minutes and compare them.

2 Likes

I’m nearly nub in Linux, could you give me a clue how to do that?

1 Like

Just do “ifconfig -a” like you did last time, then wait a couple of minutes (since it looks like there is traffic every 2 minutes or so) and then do “ifconfig - a” again.
Then check if there is increase on the RX and TX packets counters of the same interface between the runs (or post the log here)

Damn, I was billed again!
My data isn’t safe on SFOS, my money isn’t safe on SFOS.
I miss Jolla less and less.

1 Like

Are you get billed on a daily basis?

So then please follow juiceme’s advice and post the output of

ifconfig -a

from yesterday morning and night.

You may also redirect output to text file(s), like

ifconfig -a > /home/nemo/Documents/log1.txt

and upload.
Please make sure you use a different name for each log.

1 Like

Yes, when you have the logs it can be raised as a bug.

Are you get billed on a daily basis?

My current plan doesn’t include prepaid traffic. If I use any amount of traffic my provider charge me for certain sum and provide me 100 Mb until the end of the day. If I do not use any traffic I’m not charged for traffic. The reports I mentioned above unequivocally says that I was charged for traffic not for calls or messages.

1 Like