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

    User name to apear in the status

    Scheduled Pinned Locked Moved Captive Portal
    17 Posts 6 Posters 9.9k 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.
    • B Offline
      buraglio
      last edited by

      Well, it's super easy to apply (it's a really simple change) if you want to try it.  I've attached it if you'd like to try it.

      To apply it just move the file into /usr/local/www/ and do this:

      patch -p0 < status_captiveportal-withusers.diff.txt

      Next time you run the status => captive portal from the gui the usernames will be there.

      status_captiveportal-withusers.diff.txt

      https://www.forwardingplane.net/

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

        @buraglio:

        patch -p0 < status_captiveportal-withusers.diff.txt

        Great !

        But when I typed patch I receive a silly patch: Command not found. (diff - same thing).

        Where do I get them ? (package ?)

        I figured out that a /usr/local/bin/gpatch -p0<withusers.diff.txt did="" the="" job…="" (have="" to="" check="" yet="" -="" no="" hotspot="" user="" present="" but="" captiveportalstatus="" page="" looks="" great="" already="" more="" info="" !)<br=""></withusers.diff.txt>

        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
        • B Offline
          buraglio
          last edited by

          patch may only be in the developers build.  I can't recall since I did it so long ago =P
          I use the portal info extensively, it's pretty handy.

          https://www.forwardingplane.net/

          1 Reply Last reply Reply Quote 0
          • H Offline
            hoba
            last edited by

            why not provide the full version of this file buraglio. It's easy to replace it by using diagnostics>edit file, copy paste, save, even on the embedded platform.

            1 Reply Last reply Reply Quote 0
            • B Offline
              buraglio
              last edited by

              I can do that.  I just posted the patch that I had submitted back in Feb cause I had it right there. 
              You can download it from here http://buraglio.com/nick/projects/pfsense/status_captiveportal.php.txt

              https://www.forwardingplane.net/

              1 Reply Last reply Reply Quote 0
              • A Offline
                alexander007
                last edited by

                This patch will show the radius users?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  buraglio
                  last edited by

                  Yes, it will show radius user names.  It was written for a version that is well over a year old so it may need some minor changes but it's pretty straightforward.

                  https://www.forwardingplane.net/

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    alexander007
                    last edited by

                    This is the version that im running: 1.0.1 built on Sun Oct 29 01:07:16 UTC 2006

                    HOw I put this patch? I attached my original file

                    Thanks for your help

                    status_captiveportal.php.txt

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      buraglio
                      last edited by

                      I don't have a version to test it with but you can try to apply it with /usr/local/bin/gpatch -p0 <patch name="">Like I said, it may or may not work with newer versions.</patch>

                      https://www.forwardingplane.net/

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        alexander007
                        last edited by

                        It works right ;D

                        I think that this mod? should be by default…....

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sullrich
                          last edited by

                          It will be in 1.2-RC2.

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            alexander007
                            last edited by

                            Cool ;D

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