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

Captive Portal Page Images

Scheduled Pinned Locked Moved Captive Portal
17 Posts 8 Posters 21.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.
  • M
    manas
    last edited by Nov 27, 2009, 3:29 PM

    Hello,
    This is my tag :   

    In  "Services:Captive portal:File Manager"    I can see the file "captiveportal-visuel-wifi.jpg" all in lowercase.

    I don't understand what is happening, I've never had this problem with monowall.
    Where can I see the error.log of httpd ?
    I still listen to any idea.
    Thanks

    1 Reply Last reply Reply Quote 0
    • P
      ptcheezer
      last edited by Dec 1, 2009, 6:08 PM

      This is a real problem for me too.  I have prepended captiveportal- to everything I uploaded.  I have tried all lowercase and tried to make the file extension uppercase as well.  It will not work.  I had zero issues with this feature in m0n0wall.  The file is in /var/db/cpelements/ in all lowercase.  Please don't brush this off as a non-issue or user error.  Thanks!

      My issue with m0n0wall's captive portal was that DHCP relay requests were not granted by the firewall's DHCP server.  Does anyone know if this is still an issue here as well?  Basically we have a bunch of access points which feed into a security server and I need DHCP relay to work.  I currently use ZoneCD and it works, but I'd like to use pfSense.

      1 Reply Last reply Reply Quote 0
      • D
        dotdash
        last edited by Dec 1, 2009, 7:58 PM

        Verify the link in /usr/local/captiveportal/ is pointing to the correct place.
        Mine looks something like this:
        _pfsense:/usr/local/captiveportal#  ls -l
        lrwxr-xr-x  1 root  wheel    40 Oct  8 23:33 captiveportal-logo.jpg -> /var/db/cpelements/captiveportal-logo.jpg
        -rwxr-xr-x  1 root  wheel  16282 Oct  7 07:45 index.php
        -rw-r–r--  1 root  wheel  10114 Oct  7 07:45 radius_accounting.inc
        -rw-r--r--  1 root  wheel  5459 Oct  7 07:45 radius_authentication.inc

        pfsense:/var/db/cpelements#  ls -l
        -rw-r--r--  1 root  wheel  31294 Oct  8 23:33 captiveportal-logo.jpg_

        1 Reply Last reply Reply Quote 0
        • J
          Jaimie
          last edited by Jan 27, 2010, 1:36 AM

          I have exact the same problem like ptcheezer and don´t know, what to do…

          1 Reply Last reply Reply Quote 0
          • S
            storkus
            last edited by Jan 30, 2010, 12:39 PM

            DotDash has it on the head: the link from /usr/local/captiveportal to /var/db/cpelements is missing on mine as well.

            HOWEVER when I try to create it, it complains that it's a read-only filesystem (I'm running a live-cd environment).

            What do we do next?

            Mike

            1 Reply Last reply Reply Quote 0
            • D
              dotdash
              last edited by Feb 1, 2010, 2:15 PM

              If you're running on nano, you need to run:
              /etc/rc.conf_mount_rw
              then make the changes.
              when done, set it back to read only:
              /etc/rc.conf_mount_ro

              1 Reply Last reply Reply Quote 0
              • S
                storkus
                last edited by Feb 1, 2010, 8:49 PM

                Ah, no, as I said I'm running on the live-CD, but your post IS helpful in that it's convinced me that I need to find an old hard drive to put into this old white-box computer and do a full install–I'm sure that will fix the problem.

                1 Reply Last reply Reply Quote 0
                • D
                  dotdash
                  last edited by Feb 1, 2010, 11:10 PM

                  Oh, I guess I should have actually read that before responding…

                  1 Reply Last reply Reply Quote 0
                  • S
                    storkus
                    last edited by Feb 3, 2010, 11:44 AM

                    My idea worked: installing to a hard drive made the directory read-write and the problem automagically fixed itself.

                    Bottom line for future readers: if you want to use the image/file upload feature, you MUST be running with a R/W environment–no Live-CD and no embedded automounted read-only (for that directory, anyway).

                    Mike

                    1 Reply Last reply Reply Quote 0
                    • J
                      jahonix
                      last edited by Feb 4, 2010, 6:18 PM

                      Embedded does automount r/w when doing stuff like uploading a CP file.
                      Other than that, mounting a CD for read & WRITE is sub optimal.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received