Info Page?
-
Hi all,
i would like to display my Users (Connected via CP) some Info via an info-page.
I would like to present the IP (Works via $CLIENT_IP$) and if possible the time since when the user is connected and the Bandwidth.
Anybody known a way how to do that?Thanks & Regards
/JH -
Anybody known a way how to do that?
Sure.
All the info is already available.
All you need is some PHP creativity.and the Bandwidth.
As a history since the user connected ?
pfSense doesn't collect data every x seconds so a good chart (RRD) can be drawn.
Doing so will ask a lot of resources. -
Sure.
All the info is already available.
All you need is some PHP creativity.I will dig more into it…
What i found so far ist the IP and MAC Info.As a history since the user connected ?
pfSense doesn't collect data every x seconds so a good chart (RRD) can be drawn.
Doing so will ask a lot of resources.More the Bandwidth parameter that we pass him via Radius and/or CP Settings.
Some users ask for it./JH
-
More the Bandwidth parameter that we pass him via Radius and/or CP Settings.
Ah …..
This info is also present in the PHP array, loaded when PHP executes.The PHP code that 'makes' this page "Status => Captive Portal" ( /usr/local/www/status_captiveportal.php ) shows you all the arrays and variables (and how to access them) you need to make your page.