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

PXE TFTP File Not Found

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
7
917
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 Jun 25, 2024, 8:35 AM

    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!!!

    G 1 Reply Last reply Jun 25, 2024, 9:52 AM Reply Quote 0
    • G
      george1421 Moderator @RogerBrownTDL
      last edited by Jun 25, 2024, 9:52 AM

      @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 Jun 25, 2024, 10:19 AM Reply Quote 0
      • R
        RogerBrownTDL @george1421
        last edited by RogerBrownTDL Jun 25, 2024, 4:22 AM Jun 25, 2024, 10:19 AM

        @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”

        G 1 Reply Last reply Jun 25, 2024, 10:24 AM Reply Quote 0
        • G
          george1421 Moderator @RogerBrownTDL
          last edited by george1421 Jun 25, 2024, 4:25 AM Jun 25, 2024, 10:24 AM

          @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 Jun 25, 2024, 10:26 AM Reply Quote 0
          • R
            RogerBrownTDL @george1421
            last edited by Jun 25, 2024, 10:26 AM

            @george1421 Yup tftp folder is blank/empty

            T 1 Reply Last reply Jun 25, 2024, 10:38 AM Reply Quote 0
            • T
              Tom Elliott @RogerBrownTDL
              last edited by Jun 25, 2024, 10:38 AM

              @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 Jun 25, 2024, 11:00 AM

                @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
                1 / 1
                • First post
                  7/7
                  Last post

                148

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project