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

Captive portal user REGISTER

Captive Portal
6
11
9.7k
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.
  • R
    ripice
    last edited by Nov 30, 2006, 11:43 AM

    Hi!

    im using pfsense with captive portal on my network but i need a way to the user´s could register to have acess to the captive portal :)

    do you have some documentation about that ?

    Thank you …

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Nov 30, 2006, 4:30 PM

      There is no registration function.  The admin needs to create the accounts.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by Nov 30, 2006, 9:48 PM

        The cp portal pages supports php pages. maybe you can create a registration feature this way.

        1 Reply Last reply Reply Quote 0
        • R
          ripice
          last edited by Dec 7, 2006, 4:13 PM

          yeah!! good idea :) …  wherecan i acess to the Database?

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by Dec 8, 2006, 12:54 AM

            It depends what kind of solution you need but using a radius server for this makes sense I think. You'll have to do some investigation and developement work yourself here. If you come up with a solution that might suite others needs as well feel free to post your solution here.

            1 Reply Last reply Reply Quote 0
            • R
              ripice
              last edited by Dec 12, 2006, 10:21 AM

              ill post here :) but i dont know where to start using the local pfsense database …

              1 Reply Last reply Reply Quote 0
              • B
                buraglio
                last edited by Dec 12, 2006, 4:26 PM

                Services => Captive Portal => Users tab.

                https://www.forwardingplane.net/

                1 Reply Last reply Reply Quote 0
                • B
                  buraglio
                  last edited by Dec 14, 2006, 8:43 PM

                  You could write some php ode to add users to a remote radius server (or better yet like a postgres db and then build into radius users, I've been toying with the idea of doing that in all my spare time….I do actually need it for around summer time.

                  nb

                  https://www.forwardingplane.net/

                  1 Reply Last reply Reply Quote 0
                  • J
                    Justinw
                    last edited by Jan 3, 2007, 5:20 AM

                    The Db for the users is currently located in /usr/local/etc/raddb/users
                    You have to remember that this file is written on the fly everytime the system reboots or changes to radius are made.  Not a whole lot of help I realize, but its a start.  If you were really desperate you can change where radius looks for the user file in /usr/local/pkg/freeradius.inc, then it won't get written over everytime radius updates, but then again the user manager in the gui won't update anything.

                    If I figure out a less ghetto way then that I'll let you know.  I'm hoping to be able to learn more about the package system but it sounds like a new one will be released soon anyways if I'm not mistaken.

                    1 Reply Last reply Reply Quote 0
                    • D
                      daknar
                      last edited by Jan 11, 2007, 4:39 AM

                      Does this mean if i upload a new file of users the radius will work without issues?

                      users will beable to authenticate?

                      thanks :)

                      EKOPLC : Broadband Over Powerlines
                      http://www.ekoplc.net

                      1 Reply Last reply Reply Quote 0
                      • J
                        Justinw
                        last edited by Jan 16, 2007, 5:29 PM

                        It has worked for me up until now, just make sure that you don't use vi to edit the user file, for some reason it doesn't like the way it writes it.  Radius must also restart after each change to the user file to read in the new changes before the new users will be able to authenticate.

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