Mobile data usage monitoring (dataMonitor app)
-
@matteo ![alt text]( image url)
-
ricardo65 a day ago
i have installed version 0.1.6 in oneplus one and the data consumption via sim does not appear, you can only see the consumption via wifi
-
@matteo don't worry i tested a REALLY early build, i'll provide some feedback within a few days when i get a chance to compile the latest source.
-
@ricardo65 Ricardo, thank you for providing the log. What I noticed is that regardless of the connection type (SIM or Wifi) you got that strange error related to
Error: no such table: chartYdata Unable to execute statement
. This sometimes happened to me also, but a reboot fixed that without additional troubles. Did you try to reboot?
Also, I need to ask you to type the following command in the terminal, after your SIM connection is fully working:ifconfig -a
and report the log here.
Please follow the discussion about this issue reported in my dataMonitor Gitlab page ---->Issue #1
to understand what's going on with your phone and why you don't have apparently SIM data reception. -
code_text ```phablet@ubuntu-phablet:~$ ifconfig -a 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:16436 Metric:1 RX packets:76 errors:0 dropped:0 overruns:0 frame:0 TX packets:76 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6269 (6.2 KB) TX bytes:6269 (6.2 KB) p2p0 Link encap:Ethernet HWaddr b2:aa:33:88:88:88 BROADCAST MULTICAST MTU:1500 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) rev_rmnet0 Link encap:Ethernet HWaddr ae:41:1a:3f:35:0f BROADCAST MULTICAST 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) rev_rmnet1 Link encap:Ethernet HWaddr d2:50:a2:71:42:7e BROADCAST MULTICAST 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) rev_rmnet2 Link encap:Ethernet HWaddr fe:5f:ff:d3:e9:dc BROADCAST MULTICAST 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) rev_rmnet3 Link encap:Ethernet HWaddr da:f7:b7:30:9c:79 BROADCAST MULTICAST 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) rev_rmnet4 Link encap:Ethernet HWaddr ba:40:12:ae:f8:0d BROADCAST MULTICAST 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) rev_rmnet5 Link encap:Ethernet HWaddr 92:75:52:cd:48:5a BROADCAST MULTICAST 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) rev_rmnet6 Link encap:Ethernet HWaddr 9e:4a:09:99:08:31 BROADCAST MULTICAST 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) rev_rmnet7 Link encap:Ethernet HWaddr ba:2a:89:e0:66:1e BROADCAST MULTICAST 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) rev_rmnet8 Link encap:Ethernet HWaddr c6:86:ce:7a:ca:69 BROADCAST MULTICAST 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) rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.130.201.17 Mask:255.255.255.0 UP RUNNING MTU:1500 Metric:1 RX packets:3956 errors:0 dropped:0 overruns:0 frame:0 TX packets:2188 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4260009 (4.2 MB) TX bytes:219876 (219.8 KB) rmnet1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 [NO FLAGS] 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) rmnet2 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 [NO FLAGS] 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) rmnet3 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 [NO FLAGS] 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) rmnet4 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 [NO FLAGS] 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) rmnet5 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 [NO FLAGS] 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) rmnet6 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 [NO FLAGS] 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) rmnet7 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 [NO FLAGS] 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) rmnet_usb0 Link encap:Ethernet HWaddr 7e:bd:10:2b:28:dd BROADCAST MULTICAST 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) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr b0:aa:33:88:88:88 BROADCAST MULTICAST MTU:1500 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)
code_text
-
@ricardo65 please next time use either an external service to paste such long reports, for instance Pastebin Ubuntu is what we usually prefer to employ, or you could embed your report between code tags (the symbol
</>
you can find above the text field during message composition). This because it's easier for anyone to read and following these simple rules we avoid too much noise in the present thread.
To come to your output, it seems similar to my Pro5 output....but I don't see any ril_0/ril_1 gsm connections....are you sure you have your SIM card inserted and proved working? Please show me also the output of:nmcli device status
both when the SIM is inside and after you pulled it out, if possible. Thank you. -
@matteo That should help
-
@Lakotaubp great! Thank you...much better now
-
@matteo said in Mobile data usage monitoring (dataMonitor app):
@Lakotaubp great! Thank you...much better now
I beg your pardon, I don't know how to do as many things as you do, I like this whole world and ubuntu touch but I don't know half as many commands as you all
-
-
-
@ricardo65 No worries we all start somewhere and learn as we go.
-
@ricardo65 apparently you also have a ril_0 gsm connection, so how strange, it should work. In the next days I'll make some verification with my SIM in to see if something changed during the time I worked exclusively on the wi-fi connection. For now, thank you Ricardo, you have been so helpful so far
-
@matteo Thank you very much for your patience with me, whatever it takes.
-
@ricardo65 said in Mobile data usage monitoring (dataMonitor app):
@matteo Thank you very much for your patience with me, whatever it takes.
You're welcome, whatever it takes. I've installed version 0.1.2 and I have the same problem, in case it helps
-
@ricardo65 Ricardo thank you for your feedback but please keep always the most up to date version since I don't remember the issues I got with the previous versions, so I want to be sure it is not going to break your phone. In the next days I'll try to find some free time to check the data monitoring with my SIM (hopefully this weekend).
Matteo
-
@ricardo65 as promised, I made some inspections on my phone regarding the SIM data reception and storage.
I found the reason why the received data monitoring worked for me but not for you: if you see below the output ofifconfig -a
, in my case the working SIM connection is the one namedrmnet1
which is a Point-to-Point interface type. In your case you got instead a weirdUNSPEC
specification (see earlier output of yours forrmnet0
connection) which I didn't expect to occur and because of that a portion of fundamental code was skipped in your case. I already made a fix for that Thank you for noticing and for informing me about that issue by the way, working only on my phone could lead to flaws in the code sometimes.
Just please wait until I'll issue the 0.1.7 updated version, which I'm planning to do very soon and which will hopefully bring additional improvements (to the daemon and settings).Kind regards,
Matteo
hablet@ubuntu-phablet:~$ ifconfig -a ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1452 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:228 errors:0 dropped:0 overruns:0 frame:0 TX packets:228 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:26852 (26.8 KB) TX bytes:26852 (26.8 KB) rmnet0 Link encap:Point-to-Point Protocol POINTOPOINT NOARP MULTICAST MTU:1500 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) rmnet1 Link encap:Point-to-Point Protocol inet addr:10.48.87.3 P-t-P:0.0.0.0 Mask:255.255.255.0 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:9304 errors:0 dropped:0 overruns:0 frame:0 TX packets:5186 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10736783 (10.7 MB) TX bytes:452452 (452.4 KB) rmnet2 Link encap:Point-to-Point Protocol POINTOPOINT NOARP MULTICAST MTU:1500 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) rmnet3 Link encap:Point-to-Point Protocol POINTOPOINT NOARP MULTICAST MTU:1500 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) rmnet4 Link encap:Point-to-Point Protocol POINTOPOINT NOARP MULTICAST MTU:1500 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) rmnet5 Link encap:Point-to-Point Protocol POINTOPOINT NOARP MULTICAST MTU:1500 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) rmnet6 Link encap:Point-to-Point Protocol POINTOPOINT NOARP MULTICAST MTU:1500 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) rmnet7 Link encap:Point-to-Point Protocol POINTOPOINT NOARP MULTICAST MTU:1500 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) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr 38:bc:1a:1c:ee:bd UP BROADCAST MULTICAST MTU:1500 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)
-
@matteo Thank you very much.
-
Hi All,
I'm happy to announce that the version 0.1.7 is out. The main modifications are related to make the monitoring activity working also for the SIM connection due to a nasty bug @ricardo65 highlighted to me, which I hope I got rid of. Moreover, as advised before I modified the daemon files to be more simple and useful (but in future I'd eventually need to tinker those files again to bring somehow an automatic time step adjustment - Future Enhancement); who has got already the app installed needs first to delete the previous daemon files, fromSettings
page before having the new versions working; in addition, now the app shows many more options in the Settings page with the aim of putting in place the highest customization as possible for the app, in the very genuine Linux spirit.
For a better look at the modifications, see here below the log:-Version 0.1.7-
-
Fixed bug which prevented the app to work for the SIM connection (feedback needed on this).
-
Daemon .conf files modified in a more useful and simple way. To get rid of the previous .conf versions, user to go to 'Settings', to push 'remove daemon', to exit from the app and open the app again to have the new .conf files copied at the .config/upstart location.
-
Added new settings in the 'Settings' page:
- Switch to enable colors by theme global selection or to be custom set; user can now set a custom color + opacity for the background, lines, font, buttons, graph grid and bars;
- Switch + button to enable the global theme selection by daylight (between Ambiance and SuruDark only), setting a threshold time;
- Slider to custom set the daemon time step for its idle activity, to better control the battery energy drain.
-
Minor bug fixes.
Thank you.
Matteo
-
-
@matteo thank you very much.one question from where can i download version 0.1.7?