Navigation

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

    Failed to update 2.1.5 to 2.3.2 in captive portal (solved)

    Captive Portal
    2
    8
    2119
    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.
    • G
      gmendoza last edited by

      Good afternoon I have problems with the upgrade, actualize the 2.1.5 to 2.3.2 and the captive portal if you open on computers , only to press the start button , not connected , stays charging and mark error because check the code of the index page and the code is correct . which will be the problem.

      Regards!! :'( :'(

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

        You're using the default, built-in "login" page ?

        What do you mean by the "start button" ?

        No "help me" PM's please. Use the forum.

        1 Reply Last reply Reply Quote 0
        • G
          gmendoza last edited by

          This is the portal and the code encesita for login.

          ![portal cautivo fpgal.jpg](/public/imported_attachments/1/portal cautivo fpgal.jpg)
          ![portal cautivo fpgal.jpg_thumb](/public/imported_attachments/1/portal cautivo fpgal.jpg_thumb)
          ![portal cautivo fpgal code.jpg](/public/imported_attachments/1/portal cautivo fpgal code.jpg)
          ![portal cautivo fpgal code.jpg_thumb](/public/imported_attachments/1/portal cautivo fpgal code.jpg_thumb)

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

            Your portal html file won't work.
            Use the default 'html login' page - and compare that on with yours.

            No "help me" PM's please. Use the forum.

            1 Reply Last reply Reply Quote 0
            • G
              gmendoza last edited by

              I will review what he says, but before the update was working properly.

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

                @gmendoza:

                … but before the update was working properly.

                Knowing that the internals of the captive portal changed, an 'old' hand made html file won't work any more.

                No "help me" PM's please. Use the forum.

                1 Reply Last reply Reply Quote 0
                • G
                  gmendoza last edited by

                  He was running my captive portal, change some of the code to make actualizacón, check with the portal that is predetermined, have if anything was missing and add it to my original html and it worked correctly.

                  That was my code:

                  <form method="post" action="http://192.168.10.1:8002/index.php?zone=cpzone">

                  User  :

                  Pass  :

                  Ticket:

                  -->

                  </form>

                  Thank you!!

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

                    Some advise :
                    @gmendoza:

                    That was my code:

                    This

                    is better.

                    Condition : Your DNS should work. Your should set  as instructed when installing, a domaine like "mylocalpfsense.tld" and a host name like "pfsense".
                    Also - if your portal is running on a separate interface (it real should) - a host name for your portal's gateway should be set

                    Do NOT hard code something like "zone=cpzone".

                    Include the new :

                    do not hard code like

                    New stuff might appear when upgrading - even if your settings are maintained, sometime you will have to 'retouch' something.
                    This is why the CP didn't seem to work when you upgraded from ancient pfSense versions.

                    ( => never keep old software except when you are an expert. - Note : experts never keep old versions around, the do not have time for that  ;))

                    No "help me" PM's please. Use the forum.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post