Captive portal User self registration
-
hi ..i already search thru google and pfsense forum.
but i cannot find event 1 solution for my problem.pls anyone guide me on how to create this self user registration.
or give me a link to any website that can help me with this.im new to freebsd or linux ..so i need in detail on how to do this
thanks ..
-
Do you mean self provisioning through a credit card processor, or….. ?
-
nooo ..my idea just simple
user go to captive portal. Register their name for free.
then with their new account.
login to hotspot(captive-portal) and access free wifi internet.if anyone have an idea on build prepaid system.
i will glad to have it up and running in my hotspot system. -
I had this same question, and I could not find a solution for pfSense 2.0, however I did find a solution for pfSense 1.2. I ended up building a router on pfSense 1.2.3 and used the template created by another user (aneip) found in the link here:
http://forum.pfsense.org/index.php/topic,8748.msg50758.html#msg50758The captive portal is working flawlessly. It uses the local user manager, not radius. You do not need to install any additional packages to make it work.
I wish I could use this same script, or one similar to it, on 2.0, but as far as I know nobody has built one that will work.
-
Abwenzi Pa Za Umoyo / Partners In Health ![](captiveportal-apzu.png) | Everybody gets connected - Hopefully you by now as well! $ip=$_SERVER['REMOTE_ADDR']; $name=$_REQUEST['name']; $email=$_REQUEST['email']; $owner=$_REQUEST['owner']; echo "The registration process should be done for " . $name . " (" . $email . ") from " . $ip; echo exec("/home/pfSensePortal/add_user_to_radius.sh " . $ip . " " . $name . " " . $email . " " . $owner); ?> If you are not able to access any webpages like [Google](http://www.google.mw), please try it [again](/) in a few minutes. |
http://x-ian.net/2012/02/14/pfsense-self-registration-for-captive-portal/
https://github.com/x-ian/pfSensePortal/blob/master/captiveportal-apzu_add_radius_user.php -
Stupid question maybe, but how to get this to work on a 2.0.2 ?
Tried to upload this as php but it does not work.
looked at http://x-ian.net/2012/02/14/pfsense-self-registration-for-captive-portal/ but it don´t get to work work.
Im trying to get a captiveportal that does this:
User
Email address (to get in touch with the user) and
Accept our Acceptable use policy.
From there the system automatically detectsMAC address (for device identification)
Initial IP during registration (the subnet from where the users connects tells us roughly from which geographical area the devices is connected to)
Date of registration
Hostname -
Give it a try…...& let me know your result.
http://forum.pfsense.org/index.php/topic,57260.0.html