Page 1 of 1

How to show data usage in status.html

Posted: Wed Dec 27, 2017 11:23 pm
by mgreant
Hi All,

I'm quite desperate to find a solution for my problem:
- I'm using the built in Radius server and Usermanager (v 6.41), to run my Hotspot.
- I want all my users to be able to see how much they've consumed already of the 100GB data usage they're allowed to download. I want this to be shown in the Status page after log-in.

I've tried the Remain-Bytes-Out and Remain-Bytes-In variables, also tried the Limit-Bytes-In and Limit-Bytes-Out variables but none of these seem to work.
  • No value is returned on the status.html and I've read another post where someone solved this by turning off CoA support. However, I do need this CoA support so turning it off is not an option. (I don't understand how these are related)

  • The other issue is that I found out that all those parameters used in the status.html page are related to that specific session. That means that when a user returns and logs in again, all previous session data is lost. That is another issue...


Is there a way to capture variables from the user manager directly into the status.html?

I hope someone will be able to help me out, as I can't understand that I'm the first to run into this problem


The only poor way to bypass this issue for now is to set a link on the status page towards http://[your IP]/user so users can check the usage and limits.