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

    Info Page?

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 1.0k 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.
    • J
      jhochwald
      last edited by

      Hi all,

      i would like to display my Users (Connected via CP) some Info via an info-page.
      I would like to present the IP (Works via $CLIENT_IP$) and if possible the time since when the user is connected and the Bandwidth.
      Anybody known a way how to do that?

      Thanks & Regards
      /JH

      Regards

      /JH

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

        @jhochwald:

        Anybody known a way how to do that?

        Sure.
        All the info is already available.
        All you need is some PHP creativity.

        @jhochwald:

        and the Bandwidth.

        As a history since the user connected ?
        pfSense doesn't collect data every x seconds so a good chart (RRD) can be drawn.
        Doing so will ask a lot of resources.

        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
        • J
          jhochwald
          last edited by

          @Gertjan:

          Sure.
          All the info is already available.
          All you need is some PHP creativity.

          I will dig more into it…
          What i found so far ist the IP and MAC Info.

          @Gertjan:

          As a history since the user connected ?
          pfSense doesn't collect data every x seconds so a good chart (RRD) can be drawn.
          Doing so will ask a lot of resources.

          More the Bandwidth parameter that we pass him via Radius and/or CP Settings.
          Some users ask for it.

          /JH

          Regards

          /JH

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

            @jhochwald:

            More the Bandwidth parameter that we pass him via Radius and/or CP Settings.

            Ah …..
            This info is also present in the PHP array, loaded when PHP executes.

            The PHP code that 'makes' this page "Status => Captive Portal" ( /usr/local/www/status_captiveportal.php ) shows you all the arrays and variables (and how to access them) you need to make your page.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.