Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Captive portal User self registration

    Scheduled Pinned Locked Moved Captive Portal
    7 Posts 6 Posters 10.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      asura
      last edited by

      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 ..

      1 Reply Last reply Reply Quote 0
      • I
        islandwifibill
        last edited by

        Do you mean self provisioning through a credit card processor, or…..  ?

        1 Reply Last reply Reply Quote 0
        • A
          asura
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • J
            jerwiles
            last edited by

            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#msg50758

            The 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.

            1 Reply Last reply Reply Quote 0
            • N
              neewbie
              last edited by

              
               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

              1 Reply Last reply Reply Quote 0
              • P
                perjoh
                last edited by

                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 detects

                MAC 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

                1 Reply Last reply Reply Quote 0
                • K
                  khan
                  last edited by

                  Give it a try…...& let me know your result.

                  http://forum.pfsense.org/index.php/topic,57260.0.html

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.