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

PXE Boot Problems after install FOG 1.0.0 on Ubuntu DHCP Server

Scheduled Pinned Locked Moved
FOG Problems
12
30
21.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.
  • T
    Tom Elliott
    last edited by May 27, 2014, 10:03 AM

    [quote=“bradburyn, post: 28243, member: 24378”]Alright I had to create an account to submit my issue. I have spent about 2 days of reading and testing but have not had any success. I am trying to setup fog 1.0.1 and have a windows dhcp server (66 and 67 are setup correctly (undionly.kpxe). I have tried on 14.04 64bit and now 12.04 32bit with the exact same issue. I pxe boot the client and it picks up dhcp and starts the boot but I get an error when the line hits “<myip>/fog/service/ipxe/boot.php no such file”. I checked the directory and the file is clearly there, I disabled firewall and even opened up all permissions with still no luck. I gave up for the night but in the morning my next try will be to download fog and try an older install to see if this continues. Any help or insight before the downgrade would be appreciated.[/quote]

    When you installed, did a symlink from /var/www/fog get created in /var/www/html/? If so, chances are this is what’s causing your particular issue. You may need to edit the configuration file to make /var/www/ the document root as opposed to /var/www/html

    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

    1 Reply Last reply Reply Quote 0
    • B
      bradburyn
      last edited by May 27, 2014, 1:17 PM

      That makes sense. I did change the root directory to /var/www/html/fog in /etc/apache2/sites-available/default to redirect to x.x.x.x/fog instead so I can just type the ip in the browser and not have to do /fog after. I reverted back and everything is good to go. My next question, how would I be able to setup the server to point to x.x.x.x/fog when I type just x.x.x.x in the browser?

      1 Reply Last reply Reply Quote 0
      • B
        bradburyn
        last edited by May 27, 2014, 1:25 PM

        Solved my own question. I did go back and change the default files under apache2/sites-available to point to html/fog and then changed the web config on the Web UI to point to just ‘/’ instead of /fog/ and then edited /tftpboot/default.ipxe to change the path and eliminated the ‘/fog/’ section and all is good to go now. Thanks for the help, that little tip helped solve all my problems!

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by May 27, 2014, 1:26 PM

          why not just put a redirect in the root?

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • W
            Wolfbane8653 Developer
            last edited by May 27, 2014, 2:18 PM

            [quote=“Junkhacker, post: 28263, member: 21583”]why not just put a redirect in the root?[/quote]
            Change /var/www/fog/index.html to contain the following:

            [CODE]<meta http-equiv=Refresh content=“0;url=/fog/”>[/CODE]

            Edit:
            [U][B]IF you don’t have any other web services on this machine [/B][/U]

            1 Reply Last reply Reply Quote 0
            • N
              number_one
              last edited by May 30, 2014, 10:10 PM

              [quote]undionly.kpxe is the new filename that DHCP option 67 should point to now?[/quote]
              Might it not be a good idea to update all the info on the wiki/guide to reflect this fact especially for new users? I spent a half hour trying figure out why PXE boot wasn’t working and just about everywhere states “pxelinux.0” as the proper file.

              1 Reply Last reply Reply Quote 0
              • N
                number_one
                last edited by May 30, 2014, 10:12 PM

                Are there other changes in v1.0.x that are going to be incompatible with earlier releases? Is there a document somewhere that describes any changes? Thanks.

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by May 30, 2014, 10:12 PM

                  [quote=“number_one, post: 28781, member: 24434”]Might it not be a good idea to update all the info on the wiki/guide to reflect this fact especially for new users? I spent a half hour trying figure out why PXE boot wasn’t working and just about everywhere states “pxelinux.0” as the proper file.[/quote]

                  I’m slowly working on the documentation. That said, the documentation within the installer is up-to-date. So while I’m sorry the WIKI is not up to par quite yet, there IS information available.

                  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

                  1 Reply Last reply Reply Quote 0
                  • N
                    number_one
                    last edited by May 31, 2014, 2:43 AM

                    Tom, do you mean the documentation shown as the installer runs? Maybe I’m missing something but I don’t see much except for a changelog included with the installer files. If you mean inline documentation within the installer then I didn’t pay enough attention while it was running. Sorry about the venting; just haven’t had any experience with FOG yet and am eager to get things up and running.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by May 31, 2014, 3:19 AM

                      [quote=“number_one, post: 28796, member: 24434”]Tom, do you mean the documentation shown as the installer runs? Maybe I’m missing something but I don’t see much except for a changelog included with the installer files. If you mean inline documentation within the installer then I didn’t pay enough attention while it was running. Sorry about the venting; just haven’t had any experience with FOG yet and am eager to get things up and running.[/quote]

                      I meant the inline installer, that’s why it’s there.

                      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

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

                      164

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project