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

      Hello, everyone, still having trouble with the captive portal (I guess).
      After the two crashes in 5 days, I thought I had solved the problems by turning off pfblocker. For 15 days everything went well, today I connected the laptop with the usual system of vouchers. After not even an hour the connection was interrupted and the laptop does not connect anymore.
      PfSense may be a great firewall but otherwise my experience is very negative.

      pfsense.png

      Translated with www.DeepL.com/Translator

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

        Hi,

        You mean "Status > Captive portal" shows you're logged in, but you can't connect to nothing ?

        ( and you edited / saved Captive portal settings while users where logged in )

        Right ?

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

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

          @ilarioQ said in Disconnetct!:

          After not even an hour the connection was interrupted and the laptop does not connect anymore.

          what do you mean when you say "the laptop does not connect anymore?"
          what is the laptop displaying

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

            @Gertjan Thanks for the answer, the laptop had been connected for about an hour, I didn't modify anything during that hour, I was working with Scribus, suddenly the laptop was disconnected and if I tried to reconnect, the window with the words "you are connected" would appear, which was not true.
            I deleted the laptop user, successfully reconnected with the same voucher, then turned the laptop off and on again and again the "you are connected" window appeared!
            So I deleted the laptop user again and used a new voucher, with the new voucher the problem did not occur I turned off several times the wifi of the laptop and reconnected each time.
            Important the first voucher had been used to try the custom html page in case of error of wrong typing of the code, I had voluntarily typed with an error the code and then correctly and the connection was successful.

            Translated with www.DeepL.com/Translator

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

              @free4 Thanks for the answer. The laptop had a wifi icon with the ? and if I tried to reconnect, the "you are connected" window would appear, which was not true.

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

                @ilarioQ this is a known bug

                it happened because you reconfigured the captive portal while some users were connected to it...

                bug report & technical details of the issue : https://redmine.pfsense.org/issues/8616

                the issue has been fixed in the "development" version and won't appear in the next pfsense release (2.5.0)

                I know that this problem is very annoying. To this date, you have 4 options :

                • Click on "Disconnect All" every time you reboot your pfSense or edit some captive portal settings
                • Install on your pfSense the patch that has been chosen to address this issue. the guidelines for installing this patch can be found here.
                • Downgrade your pfSense to a previous version. This issue is present on all 2.4.X version, 2.3.X are unaffected. Because of the multiple production and security fixes made in 2.4.4 I would not recommend doing this however.
                • Upgrade your pfsense to the "development" version. I would not recommend doing this either, since your appliance is currently in production
                I 2 Replies Last reply Reply Quote 0
                • I
                  ilarioQ @free4
                  last edited by

                  @free4 No! I didn't touch the captive portal I was working with scribus!

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

                    @free4 The captive portal of the 2.4 series simply has a problem and Netgate should make it easier to update the system. I understand that making it simple would reduce the number of requests for paid assistance and it is not in their interest.

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

                      @ilarioQ I can confirm you that the "you are connected" issue is coming from a desync between ipfw and the sqlite db containing users. this desync is usually happening when reconfiguring the captive portal or rebooting the appliance

                      the patch is fixing that problem...you should try it

                      I C 2 Replies Last reply Reply Quote 0
                      • I
                        ilarioQ @free4
                        last edited by

                        @free4 Thanks, I read the links. Unfortunately the procedure is too complex for my technical level and my lack of knowledge of English.
                        I will keep my sg1100 that is not working... ☹ ☹ ☹ ☹ ☹

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