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

    PXE TFTP File Not Found

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    7
    942
    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.
    • R
      RogerBrownTDL
      last edited by

      FOG is really annoying me now - I have DHCP options 66 configured for my FOGServer - 192.168.17.250 and i’ve tried option 67 with undionly,kpxe undionlykkpxe and ipxe.efi but still keep getting the tftp file not found

      FOG Verson 1.5.10,
      Ubuntu 22.04.4LTS

      I dont really want to copy the VHD from my PC lab to my server lab - Would rather have a fresh slate in this room - What am I missing please!!!

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @RogerBrownTDL
        last edited by

        @RogerBrownTDL This condition could have several root causes, with some not FOG related.

        First look to see if there is content in /tftpboot on the fog server. If that directory is missing or simply empty then you missed a step during installation (high probability)

        The boot file option (dhcp option 67) needs to match the type of computer you are booting. For uefi computer it needs to be ipxe.efi or bios computer it needs to be undionly.kpxe.

        If you are using a soho router for your dhcp server, many will send their IP address instead of the IP address you configured into the dhcp router. So what device is your dhcp server?

        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!

        R 1 Reply Last reply Reply Quote 0
        • R
          RogerBrownTDL @george1421
          last edited by RogerBrownTDL

          @george1421 Hi fella, long time no “see” How can I check the TFTP boot directory? - If it’s blank, how do I populate? i have this in tftpd-hpa? Is this where you mean?

          fogadmin@tie-svrbr-fog:~$ cat /etc/default/tftpd-hpa

          /etc/default/tftpd-hpa

          TFTP_USERNAME=“tftp”
          TFTP_DIRECTORY=“/srv/tftp”
          TFTP_ADDRESS=“:69”
          TFTP_OPTIONS=“–secure”

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @RogerBrownTDL
            last edited by george1421

            @RogerBrownTDL said in PXE TFTP File Not Found:

            TFTP_DIRECTORY=“/srv/tftp”

            OK then in this directory, is it blank? Different distros have different locations for the boot directory. I thought the fog installer created a standard but maybe not. If its blank, the most often cause is that you did not perform step 3 in the installer. Step 1 is to run the fog installer script, step 2 is to open a web browser to install the database, then in step 3 you return to the fog console and press enter to complete the install. This is the part where the tftpboot files are installed.

            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!

            R 1 Reply Last reply Reply Quote 0
            • R
              RogerBrownTDL @george1421
              last edited by

              @george1421 Yup tftp folder is blank/empty

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

                @RogerBrownTDL So the installer always defaults to /tftpboot folder

                you may need to make /srv/tftp a ln to this folder? Or edit the /etc/default/tftpd-hpa file to make TFTP_DIRETORY=/tftpboot

                This occurs in:
                echo -e "# /etc/default/tftpd-hpa\n# FOG Modified version\nTFTP_USERNAME=\"root\"\nTFTP_DIRECTORY=\"/ tftpboot\"\nTFTP_ADDRESS=\":69\"\nTFTP_OPTIONS=\"${tftpAdvOpts:+ $tftpAdvOpts }-s\"" > "$tftpconfigupstartdefaults"

                Which effectively makes the (default) file look like:

                # /etc/default/tftpd-hpa
                # FOG Modified version
                TFTP_USERNAME="root"
                TFTP_DIRECTORY="/tftpboot"
                TFTP__ADDRESS=":69"
                TFTP_OPTIONS="-s'
                

                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
                • R
                  RogerBrownTDL
                  last edited by

                  @Tom-Elliott @george1421 I’ve done it, Winscp’d the files from my PC build lab FOG and added them to the directory on the SRV build lab FOG… PXE now working!!! woop

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

                  219

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project