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

    Disconnetct!

    Scheduled Pinned Locked Moved Captive Portal
    26 Posts 4 Posters 2.4k 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.
    • GertjanG
      Gertjan @ilarioQ
      last edited by Gertjan

      @ilarioQ said in Disconnetct!:

      I will keep my sg1100 that is not working...

      Again : as long as you - and everybody else, doesn't safe and/or modify Captif Portal settings, the ipfw firewall doesn't get restarted, and thus you will not be bothered by this error.

      Btw : this has been de classified as being rocket science :

      Install the package called "System patches" :

      9431ccf9-f399-4cdf-8472-ccd020772da8-image.png

      You will have now a new menu option in the system menu :

      7422efb2-3033-45e5-8e63-9ec6059fa960-image.png

      Click on it, and click on the green button :

      86311874-68a3-4622-be0b-389d7f48597e-image.png

      Now read this port - everything after the "EDIT : Netgate decided to ..." text https://forum.netgate.com/topic/137824/pfsense-no-internet-when-it-is-said-you-are-connected/13

      Use this URL as "URL/Commit ID" :
      https://github.com/pfsense/pfsense/compare/RELENG_2_4_4...Augustin-FL:fix-reconfig-for-2-4-4.diff

      (hint : copy and past it).

      The description : type in whatever you want.

      Don't fill in or touch any other options.
      Just click the blue save button at the bottom.

      Now for the difficult part :
      Click on the blue Fetch button.

      The action should show you this message :

      e9d597b9-73d3-40d5-bae7-0cf83dae3973-image.png

      Click on the blue Test button.

      You should see this message :

      412c87e1-1a7e-4a79-8a92-e629cbf88b94-image.png

      Now, click on the blue Apply button.
      You should see this message :

      cab15c01-d12b-4b8a-9726-4b55ba210ad4-image.png

      Now, disconnect all Captive portal users.

      3a8fbf9d-2f8a-4f0e-9ce2-57096ff1f19d-image.png

      Done.

      Ok, I admit, the cut and paste of the Commit URL was probably the most difficult thing after all ;)

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

      I 4 Replies Last reply Reply Quote 1
      • I
        ilarioQ @Gertjan
        last edited by

        @Gertjan PA?!

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

          @ilarioQ said in Disconnetct!:

          @Gertjan PA?!

          I hit Submit before finishing up my post.
          Read again please.

          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
          • I
            ilarioQ @Gertjan
            last edited by

            @Gertjan sorry! Many thanks.

            1 Reply Last reply Reply Quote 0
            • I
              ilarioQ @Gertjan
              last edited by

              @Gertjan Thanks for the detailed tutorial, I try.

              1 Reply Last reply Reply Quote 0
              • I
                ilarioQ @Gertjan
                last edited by

                @Gertjan Hi I think everything went well, yet one more thing, after disconnecting all users I have to restart pfsense or is it enough to restart the captive portal? Tanks

                F 1 Reply Last reply Reply Quote 0
                • F
                  free4 Rebel Alliance @ilarioQ
                  last edited by free4

                  @ilarioQ after disconnecting all users, you don't need to do anything else

                  you can just use the portal normally now! the issue should not happen anymore

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    ilarioQ @free4
                    last edited by

                    @free4 thanks!

                    1 Reply Last reply Reply Quote 0
                    • C
                      chanrio13 @free4
                      last edited by

                      @free4 it seems issue is still there even after applying the patch. though its not the same as before where all changes to CP makes the issue. now a matter of 2 reboot issue came back "you are connected"

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

                        Users that are still connected after a reboot ?
                        That's not related to the bug we are talking about in this thread.
                        Have a look at this https://forum.netgate.com/topic/137824/pfsense-no-internet-when-it-is-said-you-are-connected/102

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

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          chanrio13 @Gertjan
                          last edited by

                          @Gertjan yes and when you look at status > system logs you will see user disconnect (this time it was just me for testing) but if you look at status > captive portal, you will see user is still connected. this is after applying the patch. no other services aside from a fresh install pf and CP

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

                            Again : the patch for the "you are connected" bug described here (and in many other threads) works.

                            When users 'seem' to be connected after a reboot - that is, they are listed on the Status page - and they can't / didn't login after the rebbot, then do this ( https://forum.netgate.com/topic/137824/pfsense-no-internet-when-it-is-said-you-are-connected/102 ) which is a totally different bug (captive portal connected users database is not deleted). The solution is : add 4 key strokes ($g, ") as described .
                            The problem exists. The solution also. Case closed ^^.

                            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
                            • F
                              free4 Rebel Alliance
                              last edited by

                              @chanrio13 Could you "revert" the patch then "re-fetch" it then "apply" it again?

                              I noticed a mistake in the patch regarding reboots (sorry for that, you are actually the first one to report me an issue with this patch...).

                              I corrected it.

                              GertjanG C 2 Replies Last reply Reply Quote 0
                              • GertjanG
                                Gertjan @free4
                                last edited by

                                @free4 said in Disconnetct!:

                                I corrected it.

                                The global $g thing ?

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

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  free4 Rebel Alliance @Gertjan
                                  last edited by

                                  yup

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    chanrio13 @free4
                                    last edited by

                                    @free4 i really appreciate your effort on this !

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