• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    why is fog 1.3 asking for a username and password to get to the fog menu? i cant find a setting at all to turn this off

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    28
    8.5k
    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.
    • D
      darkxeno
      last edited by

      #!ipxe
      set fog-ip 10.0.0.22
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      iseq ${platform} efi && set key 0x1b || set key 0x1b
      iseq ${platform} efi && set keyName ESC || set keyName Escape
      prompt --key ${key} --timeout 0 Booting… (Press ${keyName} to access the menu) && goto menuAccess || sanboot --no-describe --drive 0x80
      :menuAccess
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param platform ${platform}
      param username ${username}
      param password ${password}
      param menuaccess 1
      param debug 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :bootme
      chain -ar http://10.0.0.22/fog/service/ipxe/boot.php##params

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @darkxeno
        last edited by

        @darkxeno And you’re 100% sure you upgraded from 1.2.0 to 1.3.0-RC-37?

        I know this sounds stupid but I installed 1.2.0 and then upgraded to 1.3.0-RC-37 and am not seeing the same issue you are. This tells me the Schema update is working properly.

        So I must ask the questions here.

        Maybe try removing the /var/www/fog and /var/www/html/fog directories and re-run the installer? I am not sure this will fix the issue but it would help ensure the data is in a known state.

        Please I’m not questioning your capabilities but I must know what is actually happening.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        D 2 Replies Last reply Reply Quote 0
        • D
          darkxeno @Tom Elliott
          last edited by

          @Tom-Elliott give me a few to re run it

          1 Reply Last reply Reply Quote 0
          • D
            darkxeno @Tom Elliott
            last edited by

            @Tom-Elliott its still doing it

            D 1 Reply Last reply Reply Quote 0
            • D
              darkxeno @darkxeno
              last edited by

              @darkxeno <?php
              /**

              • Boot page for pxe/iPXE
              • PHP version 5
              • @category Boot
              • @package FOGProject
              • @author Tom Elliott tommygunsster@gmail.com
              • @license http://opensource.org/licenses/gpl-3.0 GPLv3
              • @link https://fogproject.org
                /
                /
                *
              • Boot page for pxe/iPXE
              • @category Boot
              • @package FOGProject
              • @author Tom Elliott tommygunsster@gmail.com
              • @license http://opensource.org/licenses/gpl-3.0 GPLv3
              • @link https://fogproject.org
                */
                require ‘…/…/commons/base.inc.php’;
                header(“Content-type: text/plain”);
                $mac = array_merge(
                explode(‘|’, $_REQUEST[‘mac’]),
                explode(‘|’, $_REQUEST[‘mac0’]),
                explode(‘|’, $_REQUEST[‘mac1’]),
                explode(‘|’, $_REQUEST[‘mac2’])
                );
                $mac = array_filter($mac);
                $mac = array_unique($mac);
                $mac = array_values($mac);
                $_REQUEST[‘mac’] = implode(‘|’, (array)$mac);
                $Host = $FOGCore->getHostItem(false, false, true);
                FOGCore::getClass(‘BootMenu’, $Host);

              this the boot.php file

              1 Reply Last reply Reply Quote 0
              • D
                darkxeno
                last edited by

                tom i sent you a messge on google talk

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @darkxeno
                  last edited by

                  @darkxeno I don’t see the message. Maybe you’re talking to the wrong account?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    darkxeno @Tom Elliott
                    last edited by

                    @Tom-Elliott could be it said you been inactive for 4 months lol
                    do you have any other ideas what i can do to fix this?

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      Luckily this wasn’t due to a schema issue or anything.

                      This was due to somebody installing the capone plugin from a much older version of FOG but with recent changes, it was still in place just looking at the wrong places for values.

                      Removed the capone plugin and all is well.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      george1421G 1 Reply Last reply Reply Quote 1
                      • george1421G
                        george1421 Moderator @Tom Elliott
                        last edited by

                        @Tom-Elliott I seemed to recall this same exact issue in another thread. I’m pretty sure this was the solution then too. I could not find that thread for the life of me, but I know we did see this issue before. As FOG turns 1.3.0 we should get this documented somewhere in a faq that users can find easily.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

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

                        264

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project