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

    Captive portal still doesn't start automatically on system startup

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    30 Posts 12 Posters 10.2k 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
      freebee
      last edited by

      Thanks for the effort to solve this problem.

      1 Reply Last reply Reply Quote 0
      • M
        mdmogren
        last edited by

        Still happening in latest build. Anyone have any ideas? Getting frustrated that this is going on so long…

        1 Reply Last reply Reply Quote 0
        • E
          eri--
          last edited by

          I will fix this probably by next week.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @ermal:

            I will fix this probably by next week.

            Excellent. Thanks for the intention.

            1 Reply Last reply Reply Quote 0
            • F
              freebee
              last edited by

              Can somebody try this ?.

              Create some script in /usr/local/etc/rc.d like
              ee /usr/local/etc/rc.d/fix_captiveportal.sh

              put this two lines:

              /etc/rc.captiveportal_configure
              /usr/local/sbin/lighttpd -f /var/etc/lighty-visitantes-CaptivePortal-SSL.conf

              Save, do chmod 655  /usr/local/etc/rc.d/fix_captiveportal.sh.
              Reboot.

              OBS: The line /usr/local/sbin/lighttpd -f /var/etc/lighty-visitantes-CaptivePortal-SSL.conf changes on every installation. To see the correct name file, ls /var/etc . Will be something like: lighty--CaptivePortal-SSL.conf (if you use SSL) or lighty--CaptivePortal.conf without SSL.
              In Alix board, patient. 2 minutes (more or less) to everything work. rw on / to write file and chmod take effect.
              This script can be more elaborated and is not the real fix to the problem (can solve temporally i guess).

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                Should be fixed on next snapshots.

                1 Reply Last reply Reply Quote 0
                • MellowlynxM
                  Mellowlynx
                  last edited by

                  @ermal:

                  Should be fixed on next snapshots.

                  I hope it's the one built after: Thu Nov 22 09:33:27 EST 2012??
                  In this one it's still not staring as it should :(

                  1 Reply Last reply Reply Quote 0
                  • E
                    eri--
                    last edited by

                    Its this one https://github.com/bsdperimeter/pfsense/commit/3a4b01476620d33b6d6200849231398f82e593c7
                    Probably tomorrow snapshot should have it.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mdmogren
                      last edited by

                      I can confirm that this works on the snapshot: "built on Thu Nov 22 14:00:25 EST 2012"
                      Have already updated/tested on 5 different routers.

                      Thanks so much! :)

                      1 Reply Last reply Reply Quote 0
                      • B
                        bmah
                        last edited by

                        Working great now on this version:

                        2.1-BETA0 (i386) built on Thu Nov 22 13:25:28 EST 2012 FreeBSD 8.3-RELEASE-p4

                        (1GB nanobsd i386 on Soekris net5501)

                        Thanks for the fix!

                        Bruce.

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