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

    Pfsense, No internet when it is said "You are connected".

    Scheduled Pinned Locked Moved Captive Portal
    168 Posts 34 Posters 54.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.
    • F
      free4 Rebel Alliance @olakara
      last edited by free4

      @olakara said in Pfsense, No internet when it is said "You are connected".:

      Hello,
      I have the same issue ( 2.4.4-RELEASE-p1) and many others reported. The only solution is, don''t make any changes in CP settings when the users are connected. After making any changes, you need to "disconnect all user" from status. We have to wait until the bug get fixed.

      @johnpoz said in Pfsense, No internet when it is said "You are connected".:

      This? https://redmine.pfsense.org/issues/8616

      Hello,

      I made a fix for it : https://github.com/pfsense/pfsense/pull/4031

      You can now install this fix using patch package. Two things you need to know :

      • Please enter https://github.com/pfsense/pfsense/compare/master...Augustin-FL:patch-captivportal-reconfigure-no-configbump.diff as "URL/Commit ID". The pull request link above may not work properly because it has been designed for patching pfsense:master (which is the dev, future 2.4.5 version).
      • After installing the patch, click on "Disconnect All" in captive portal status page, otherwise you might have SQL errors in your logs (the errors should be about sqlite complaining of "unknown columns bw_up/bw_down").

      Don't hesitate to report me issues or to thumb up this PR on Github !

      EDIT : Netgate decided to fix this issue in a different way (using https://github.com/pfsense/pfsense/pull/4042). Please use this pull request instead. Here are updated steps :

      • Please enter https://github.com/pfsense/pfsense/compare/RELENG_2_4_4...Augustin-FL:fix-reconfig-for-2-4-4.diff as "URL/Commit ID". The pull request link above may not work properly because it has been designed for patching pfsense:master (which is the dev, future 2.5.0 version).
      • After installing the patch, click on "Disconnect All" in captive portal status page, otherwise you might have pipe leaks

      @gertjan said in Pfsense, No internet when it is said "You are connected".:

      You can ! Come over and I pay you even a beer or two while doing so ! ;)

      May i also request a beer ? ;)

      S GertjanG 2 Replies Last reply Reply Quote 2
      • S
        shood
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • S
          shood @free4
          last edited by

          @free4
          is the patch set up for 2.4.4-p2 ??

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

            @shood Yes. I just updated my previous post

            1 Reply Last reply Reply Quote 0
            • A
              abuledi
              last edited by

              @free4 please help me to run this patch ...
              Patch Fetched Successfully
              but unable to apply or test getting below message .
              Patch can NOT be applied cleanly (detail)
              Patch can NOT be reverted cleanly (detail)

              1 Reply Last reply Reply Quote 0
              • A
                abuledi
                last edited by

                Patch Test Output apply
                /usr/bin/patch --directory=/ -t -p2 -i /var/patches/5c544011ac364.patch --check --forward --ignore-whitespace

                Hmm... Looks like a unified diff to me...
                The text leading up to this was:

                |From 4573641589d50718b544b778cea864cfd725078a Mon Sep 17 00:00:00 2001
                |From: jim-p
                |Date: Tue, 15 Nov 2011 16:28:45 -0500
                |Subject: [PATCH] Add a gui field to set the source tracking timeout for sticky
                | connections.
                |
                |---
                | etc/inc/filter.inc | 2 ++
                | usr/local/www/system_advanced_misc.php | 20 +++++++++++++++++---
                | 2 files changed, 19 insertions(+), 3 deletions(-)
                |
                |diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
                |index 29864dfb08..fdd43b70aa 100644
                |--- a/etc/inc/filter.inc

                +++ b/etc/inc/filter.inc
                No file to patch. Skipping...
                Hunk #1 ignored at 280.
                1 out of 1 hunks ignored while patching inc/filter.inc
                Hmm... The next patch looks like a unified diff to me...
                The text leading up to this was:

                |diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php
                |index d25c96d9fe..e1da77245a 100644
                |--- a/usr/local/www/system_advanced_misc.php

                +++ b/usr/local/www/system_advanced_misc.php
                No file to patch. Skipping...
                Hunk #1 ignored at 56.
                Hunk #2 ignored at 103.
                Hunk #3 ignored at 192.
                Hunk #4 ignored at 274.
                Hunk #5 ignored at 284.
                5 out of 5 hunks ignored while patching local/www/system_advanced_misc.php
                done
                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by

                  What "URL/Commit ID" ae you using ?

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

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    abuledi @Gertjan
                    last edited by

                    @gertjan https://github.com/pfsense/pfsense/commit/4573641589d50718b544b778cea864cfd725078a.patch
                    colored text

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

                      Why ?

                      @free4 said in Pfsense, No internet when it is said "You are connected".:

                      Hello,
                      I made a fix for it : https://github.com/pfsense/pfsense/pull/4031

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

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        abuledi @Gertjan
                        last edited by

                        @gertjan which one should I give url??

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

                          The issue discussed in this thread : https://github.com/pfsense/pfsense/pull/4031

                          Dono where you took your patch URL from (except that it is something proposed by @jimp last September, so ... old).

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

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

                            @abuledi please use https://github.com/pfsense/pfsense/compare/master...Augustin-FL:patch-captivportal-reconfigure-no-configbump.diff as "URL/Commit ID"

                            1 Reply Last reply Reply Quote 0
                            • A
                              abuledi @Gertjan
                              last edited by

                              @gertjan yes... Same issue I am facing but I am new here so mentioned patch is not compliang I have to execute this could please send me url so I can sync this patch to my box..

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

                                What are the messages when you "Test" the patch ?

                                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
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  The patch applies fine for me against 2.4.4p2:

                                  0_1549123810235_Selection_563.png

                                  0_1549123869098_Selection_564.png

                                  I suspect you have entered the wrong URL.

                                  Steve

                                  A 1 Reply Last reply Reply Quote 1
                                  • A
                                    abuledi @stephenw10
                                    last edited by

                                    @stephenw10 please share that url thanks in advance...

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by stephenw10

                                      It's this, the link that free4 posted above, twice:

                                      https://github.com/pfsense/pfsense/compare/master...Augustin-FL:patch-captivportal-reconfigure-no-configbump.diff

                                      Steve

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        abuledi @stephenw10
                                        last edited by

                                        @stephenw10 https://github.com/pfsense/pfsense/commit/4573641589d50718b544b778cea864cfd725078a.patch

                                        I already use that url and you share also same but no luck for me..

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

                                          And you are running 2.4.4p2 ?

                                          0_1549124848879_4384d06e-7d6b-416c-ba7d-92ffd815281b-image.png

                                          0_1549125100130_4f6a842d-7ae3-4a05-bf7b-b54da54b3f69-image.png

                                          What does the first "detail" links tell ypu ?

                                          Use

                                          0_1549125237200_d452a482-c8fc-4a3d-b6c6-fea1bc8020f0-image.png

                                          to highlight the code.

                                          /usr/bin/patch --directory=/ -t -p2 -i /var/patches/5c3c2026af1e2.patch --check --forward --ignore-whitespace
                                          
                                          Hmm...  Looks like a unified diff to me...
                                          The text leading up to this was:
                                          --------------------------
                                          |diff --git a/src/etc/inc/captiveportal.inc b/src/etc/inc/captiveportal.inc
                                          |index 9b4856f774..b08bd350e0 100644
                                          |--- a/src/etc/inc/captiveportal.inc
                                          |+++ b/src/etc/inc/captiveportal.inc
                                          --------------------------
                                          Patching file etc/inc/captiveportal.inc using Plan A...
                                          Hunk #1 succeeded at 225.
                                          Hunk #2 succeeded at 233.
                                          Hunk #3 succeeded at 371.
                                          Hunk #4 succeeded at 391.
                                          Hunk #5 succeeded at 415.
                                          Hunk #6 succeeded at 563.
                                          Hunk #7 succeeded at 605.
                                          Hunk #8 succeeded at 698.
                                          Hunk #9 succeeded at 911.
                                          Hunk #10 succeeded at 967.
                                          Hunk #11 succeeded at 1101.
                                          Hunk #12 succeeded at 1219.
                                          Hunk #13 succeeded at 1234.
                                          Hunk #14 succeeded at 1683.
                                          Hunk #15 succeeded at 1706.
                                          Hunk #16 succeeded at 2208.
                                          Hunk #17 succeeded at 2431.
                                          Hmm...  The next patch looks like a unified diff to me...
                                          The text leading up to this was:
                                          --------------------------
                                          |diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc
                                          |index 6d082a01d7..f1cc340192 100644
                                          |--- a/src/etc/inc/globals.inc
                                          |+++ b/src/etc/inc/globals.inc
                                          --------------------------
                                          Patching file etc/inc/globals.inc using Plan A...
                                          Hunk #1 succeeded at 69.
                                          Hmm...  The next patch looks like a unified diff to me...
                                          The text leading up to this was:
                                          --------------------------
                                          |diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc
                                          |index 73b1acbcac..d55adeea07 100644
                                          |--- a/src/etc/inc/system.inc
                                          |+++ b/src/etc/inc/system.inc
                                          --------------------------
                                          Patching file etc/inc/system.inc using Plan A...
                                          Hunk #1 succeeded at 2113.
                                          Hmm...  The next patch looks like a unified diff to me...
                                          The text leading up to this was:
                                          --------------------------
                                          |diff --git a/src/etc/inc/upgrade_config.inc b/src/etc/inc/upgrade_config.inc
                                          |index 97fb3d6a3e..51398ca6cb 100644
                                          |--- a/src/etc/inc/upgrade_config.inc
                                          |+++ b/src/etc/inc/upgrade_config.inc
                                          --------------------------
                                          Patching file etc/inc/upgrade_config.inc using Plan A...
                                          Hunk #1 succeeded at 5921 (offset -13 lines).
                                          Hmm...  The next patch looks like a unified diff to me...
                                          The text leading up to this was:
                                          --------------------------
                                          |diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
                                          |index ccdc6152af..69875d12a3 100644
                                          |--- a/src/usr/local/www/services_captiveportal.php
                                          |+++ b/src/usr/local/www/services_captiveportal.php
                                          --------------------------
                                          Patching file usr/local/www/services_captiveportal.php using Plan A...
                                          Hunk #1 succeeded at 151.
                                          Hunk #2 succeeded at 354.
                                          Hunk #3 succeeded at 635.
                                          Hunk #4 succeeded at 1187.
                                          Hmm...  The next patch looks like a unified diff to me...
                                          The text leading up to this was:
                                          --------------------------
                                          |diff --git a/src/usr/local/www/status_captiveportal.php b/src/usr/local/www/status_captiveportal.php
                                          |index bdfd441f5a..3963fd2ed5 100644
                                          |--- a/src/usr/local/www/status_captiveportal.php
                                          |+++ b/src/usr/local/www/status_captiveportal.php
                                          --------------------------
                                          Patching file usr/local/www/status_captiveportal.php using Plan A...
                                          Hunk #1 succeeded at 268.
                                          done
                                          

                                          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
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            If you're using the same settings as I posted above then it would only not apply if the files have already been modified or it's not 2.4.4p2 (so the files are different).

                                            You see the same error details?

                                            Steve

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