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

TFTP Issues

Scheduled Pinned Locked Moved Unsolved
FOG Problems
4
12
3.7k
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.
  • P
    pencils
    last edited by Oct 4, 2016, 11:22 AM

    Running 1.3.0 on Ubuntu. Everything running fine. Console is running no issues. I boot laptopo to NIC. It gets an IP address but when the TFTP runs it times out. The settings in the tftpd-hpa is as follows:

    /etc/default/tftpd-hpa

    #TFTP_USERNAME=“tftp”
    TFTP_USERNAME=“fog”
    #TFTP_DIRECTORY=“/var/lib/tftpboot”
    TFTP_DIRECTORY=“/etc/default”
    #TFTP_DIRECTORY=“/var/www/fog/service/ipxe”
    TFTP_ADDRESS=“0.0.0.0.”
    TFTP_OPTIONS=“–secure”

    The ip address is correct. On the fog server the path for the image file is set to /var/www/fog/service/ipxe which i added to the file since it wasnt working. I can manually GET files on windows and it sends. So the TFTP server is working.

    The question is why is it failing to boot into fog client?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Tom Elliott Oct 4, 2016, 5:26 AM Oct 4, 2016, 11:25 AM

      TFTP_DIRECTORY needs to be:
      TFTP_DIRECTORY="/tftpboot"

      Once changed restart the tftpd-hpa service.

      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
      • Q
        Quazz Moderator
        last edited by Oct 4, 2016, 11:45 AM

        #
        

        comments out the option (aka makes it so it doesn’t get used)

        Also, on the default FOG install, the PXE boot files are in /tftpboot

        1 Reply Last reply Reply Quote 0
        • P
          pencils
          last edited by Oct 4, 2016, 12:08 PM

          added the line. now the ftp service wont load. Its saying that /tftpboot is missing.

          T 1 Reply Last reply Oct 4, 2016, 12:25 PM Reply Quote 0
          • P
            pencils
            last edited by Oct 4, 2016, 12:19 PM

            OK. The Dir is actually /var/lib/tftboot. Which was i assume installed when fog was installed.

            I have changed to reflect that now. however, Im still no closer to get the TFTP side to work.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Oct 4, 2016, 12:24 PM

              I’m very confused. Why is TFTP setup for /var/lib/tftpboot? If you installed fog, it defaults to /tftpboot, not /var/lib/tftpboot.

              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

              P 1 Reply Last reply Oct 4, 2016, 12:33 PM Reply Quote 2
              • T
                Tom Elliott @pencils
                last edited by Oct 4, 2016, 12:25 PM

                @pencils And what do you mean ftp service? TFTP and FTP are 2 VERY different things.

                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 1
                • P
                  pencils @Tom Elliott
                  last edited by Oct 4, 2016, 12:33 PM

                  @Tom-Elliott sorry tom. I meant the TFTP service. I installed 1.3 RC release and it installed it the the DIR i have already mentioned. On the FOG server the TFTP PXE KERNEL DIR is set to /var/www/fog/sservice/ipxe?

                  Should i make a copy of the folder to the root?

                  W 1 Reply Last reply Oct 4, 2016, 6:43 PM Reply Quote 0
                  • W
                    Wayne Workman @pencils
                    last edited by Wayne Workman Oct 4, 2016, 12:45 PM Oct 4, 2016, 6:43 PM

                    @pencils I’m pretty sure there is zero code in any version of fog that puts boot files anywhere but /tftpboot

                    What is the output of:
                    ls -lahRt /var/lib/tftpboot

                    What is doing DHCP in your setup?

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    P 1 Reply Last reply Oct 5, 2016, 7:28 AM Reply Quote 0
                    • P
                      pencils @Wayne Workman
                      last edited by Oct 5, 2016, 7:28 AM

                      @Wayne-Workman 0_1475652353611_Capture.PNG

                      Also the switch is doing is leasing IP address and have just got it to work with the two options. Question on Option 67, the wiki says to use file name UNDIONLY.kpxe. Is this correct?

                      W 1 Reply Last reply Oct 5, 2016, 1:15 PM Reply Quote 0
                      • W
                        Wayne Workman @pencils
                        last edited by Oct 5, 2016, 1:15 PM

                        @pencils those files are not files from fog 1.3.0

                        Did the installer even complete for you? Fog puts the boot files at /tftpboot and nowhere else.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator
                          last edited by Oct 5, 2016, 1:18 PM

                          The files of /var/www/fog/service/ipxe are in your /var/lib/tftpboot folder and the the /tftpboot folder does not exist.

                          Try running the FOG installer again and hope it can fix this mess.

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

                          205

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project