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

    Captive Portal + lightsquid logging usernames instead of IP address

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 2.7k 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.
    • K
      kyleh0000
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        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 ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          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!

          @Gertjan:

          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 ?

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