I'm using a WR21.
I want to be able to use an external program to connect to the cell modem and check the data usage.
It seems that I can do this with SSH.
I'm currently doing this interactively (before I write a program to do it), and can see that there are 2 command that sound like they are both related, and can tell me the data usage:
The values they return are slightly different though.
Are these measuring the totals for both sim cards?
What's the difference between the 2 commands?
Apparently there's also ppp.0.stats.rxbytes, ppp.1.stats.rxbytes, ... which, from the sound of it, should be the WAN, but those show me a value of 0 all the time.