User name to apear in the status
-
No it is not possible without modifications of the code.
-
hi
is it possible for the user name to apear in a new colum next to the IP and mac adress in the captive portal status? so it makes works easy on the adminstrator to know who's online and whats their IP's and their mac's.
thanks
I wrote a simple patch that will do this. I believe it's in HEAD but not in 1.0. I can give it to you if you want (assuming it's ok with the devs) and with the understanding that it comes with absolutely no support at all.
-
Go for it :)
-
it is useless if it wont be avaiable for 1.0, but thank u very much for the offer, ill wait may be one day it will be integrated in the future
-
Well, it's super easy to apply (it's a really simple change) if you want to try it. I've attached it if you'd like to try it.
To apply it just move the file into /usr/local/www/ and do this:
patch -p0 < status_captiveportal-withusers.diff.txt
Next time you run the status => captive portal from the gui the usernames will be there.
-
patch -p0 < status_captiveportal-withusers.diff.txt
Great !
But when I typed patch I receive a silly patch: Command not found. (diff - same thing).
Where do I get them ? (package ?)
I figured out that a /usr/local/bin/gpatch -p0<withusers.diff.txt did="" the="" job…="" (have="" to="" check="" yet="" -="" no="" hotspot="" user="" present="" but="" captiveportalstatus="" page="" looks="" great="" already="" more="" info="" !)<br=""></withusers.diff.txt>
-
patch may only be in the developers build. I can't recall since I did it so long ago =P
I use the portal info extensively, it's pretty handy. -
why not provide the full version of this file buraglio. It's easy to replace it by using diagnostics>edit file, copy paste, save, even on the embedded platform.
-
I can do that. I just posted the patch that I had submitted back in Feb cause I had it right there.
You can download it from here http://buraglio.com/nick/projects/pfsense/status_captiveportal.php.txt -
This patch will show the radius users?
-
Yes, it will show radius user names. It was written for a version that is well over a year old so it may need some minor changes but it's pretty straightforward.
-
This is the version that im running: 1.0.1 built on Sun Oct 29 01:07:16 UTC 2006
HOw I put this patch? I attached my original file
Thanks for your help
-
I don't have a version to test it with but you can try to apply it with /usr/local/bin/gpatch -p0 <patch name="">Like I said, it may or may not work with newer versions.</patch>
-
It works right ;D
I think that this mod? should be by default…....
-
It will be in 1.2-RC2.
-
Cool ;D