Captive Portal + lightsquid logging usernames instead of IP address
-
I have found a lot of post in the forums about this but no solutions as yet, the closest i got was a post about ip2name but it doesn't seem like any body could get this to work
Would anybody be able to point me in the right direction to get this working?
Even if I can just find the log that the captive portal uses to connect a user to the Ip address thats a start
eventually i would like to use this information to charge/monitor our students on the internet.
any ideas would be a big help!
thanks!
-
Hi !
"usernames" are captive portal login names ?
or
The names of the PC's connected ? (have a look at the DHCP lease table from the server that runs on the captive portal interface).
or
The "Full name" you entered in the User manager of pfSense ? -
Thanks for the reply! I managed to get around this by doing some fancy php code
What I did was create a simple redirect page for the captive portal to redirect to an external auth server, which will then ask the user to login and record the information that way.
The only reason I'm using an external server is that pfsense doesnt support the mysql extension for php which is what I'm using to record some of the information.
So i managed to work around it but if any body has any idea how to enable mysql support for php in pfsense that would be great!
(i did do some reading and posted in the documentation section of this forums but so far now luck)
Anyway for now I'm happy with the redirect its doing everything i need at the moment :)
cheers!
Hi !
"usernames" are captive portal login names ?
or
The names of the PC's connected ? (have a look at the DHCP lease table from the server that runs on the captive portal interface).
or
The "Full name" you entered in the User manager of pfSense ?