Navigation

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

    CP Authentication Error Page NO LOGO

    Captive Portal
    3
    5
    1496
    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.
    • L
      litebrite2001 last edited by

      I'll start by saying that I'm a complete newb.  I have been struggling through setting up an effective firewall with pfsense, but one of the most basic items is still eluding me.

      I have used a few tutorials that I have found here and there to set up a captive portal with a logo. The captive portal works. The logo works.  As of today, the voucher system works.  But for whatever reason, if invalid credentials are specified, the LOGO doesn't shop up on authentication error page.  It just shows a broken link.  I am using basic HTML, no PHP.  The extent of my programming skills lies in qbasic and ladder logic, so I'm hoping this is a simple fix.

      1 Reply Last reply Reply Quote 0
      • J
        jaspras last edited by

        did you change your HTML code to point to

        "captiveportal-"LOGO.jpg ?? pfsense adds "captiveportal-" at the beginning of all images uploaded into it, that will be served by pfsense for CP.

        1 Reply Last reply Reply Quote 0
        • L
          litebrite2001 last edited by

          Both my "Portal page contents" and my "Authentication error page contents" have the reference to captiveportal-logo.jpg.  They are html files, so the exact line is:

          ![](captiveportal-logo.jpg)
          

          This line works on the portal page.  This line does NOT work on the authentication error page.

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

            @litebrite2001:

            Both my "Portal page contents" and my "Authentication error page contents" have the reference to captiveportal-logo.jpg.  They are html files, so the exact line is:

            ![](captiveportal-logo.jpg)
            

            This line works on the portal page.  This line does NOT work on the authentication error page.

            I have a logo file called "logo.jpg", and I upload it using th Captive Portal File Manager.
            When done, it informed me that I could use it if i called it "captiveportal-logo.jpg".

            here is my portal error html file:

            
            		<title>Brit Hotel Fumel</title>
            
            <form method="post" action="$PORTAL_ACTION$">
            
            ![Image](captiveportal-logo.jpg)
            
            Oops ...
            
            $PORTAL_MESSAGE$
            
            Vous êtes sur le portail d'accès" Internet " de
            
            [Brit Hotel Fumel](http://www.brit-hotel-fumel.fr/)
            
            Veuillez saisir le numéro de votre chambre
            
            Le mot de passe ´Wifi´ est disponible à la réception, et mentionné sur la feuille " Informations " présent dans votre chambre.
            
             Puis 
            
            Vous pouvez aussi vous déconnecter.
            
            Pour le faire, vous devez visiter cette page
            
            [$PORTAL_ACTION$]($PORTAL_ACTION$)
            
            à nouveau.
            
            Pour info: IP: $CLIENT_IP$ - MAC: $CLIENT_MAC$
            
            			</form>
            
            

            For me, the logo shows up.
            (No, it doesn't show up when using the preview test "View current page" on the portal settings page, but I don't care.  real lifge testing is done when you hit the portal and make a login error. The error html will be show, and then,  ;D the image shows).

            Btw: this is an html file without parsing error.
            That always helps a lot  ;)

            1 Reply Last reply Reply Quote 0
            • L
              litebrite2001 last edited by

              I AM a newb.  I had never actually entered invalid credentials.  I would click the 'View current page" and when it worked for the portal page contents and not for the authentication error page contents, I assumed it wasn't working.  When I actually try to log in and deliberately enter bad credentials, it notifies me… with the logo and all.  Thanks everyone for the help.

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

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy