Captive Portal Page Images
-
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 -
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.
-
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.incpfsense:/var/db/cpelements# ls -l
-rw-r--r-- 1 root wheel 31294 Oct 8 23:33 captiveportal-logo.jpg_ -
I have exact the same problem like ptcheezer and don´t know, what to do…
-
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
-
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 -
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.
-
Oh, I guess I should have actually read that before responding…
-
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
-
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.