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

TFTP Problem, Ubuntu 14.04 Fog 1.2.0 server on isolated network

Scheduled Pinned Locked Moved Solved
FOG Problems
tftp ubuntu 14.04 fog 1.2.0 isolated network
6
12
7.6k
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.
  • W
    Wayne Workman
    last edited by Oct 9, 2015, 4:59 PM

    I think it’s DHCP related.

    Make sure it’s running. give it a restart too.

    service dhcpd status
    service dhcpd restart
    

    If it’s running with no errors, do a Wireshark capture to see if the DHCP server is giving out the options properly. Feel free to post the capture file (the .pcap file) here for others to look at.

    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
    • I
      ITSolutions Testers
      last edited by Oct 9, 2015, 5:27 PM

      @Wayne-Workman I think you maybe right now that I look at his dhcpd.conf file a little closer I noticed option tftp-server-name line in his config. I have run into issues in the past with this. @stan6595 Can you try removing, or remarking this line out and restart your DHCP and see if that works for you? service dhcpd restart

      Not a guarantee, but like I said I have seen where it can be an issue. The next-server should be fine for passing the option to the client.

      W 1 Reply Last reply Oct 9, 2015, 5:29 PM Reply Quote 0
      • W
        Wayne Workman @ITSolutions
        last edited by Oct 9, 2015, 5:29 PM

        @ITSolutions Ah I didn’t see that. Nice catch.

        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
        • S
          stan6595
          last edited by Oct 9, 2015, 11:49 PM

          Thank you guys

          @Wayne-Workman

          Here is the file from the WireShark from the very beginning of the connect to “Network Not Found” display on the screen

          FogCapture.pcapng

          @ITSolutions

          I tried your methods, I mark out the line of option tftp-server-name. As a result, “TFTP timeout-PXE-E32” display on the screen and “Network Not Found” display on the screen

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Oct 10, 2015, 3:02 AM

            It seems that the problem is the way you’re trying to start tftp. Ubuntu usually uses tftpd-hpa, not xinetd.

            Try:

            sudo service tftpd-hpa stop; sleep 2; sudo service tftpd-hpa start

            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

            W 1 Reply Last reply Oct 11, 2015, 4:17 PM Reply Quote 1
            • W
              Wayne Workman @Tom Elliott
              last edited by Wayne Workman Oct 12, 2015, 6:48 AM Oct 11, 2015, 4:17 PM

              Can you try this for you ISC-DHCP configuration and see what happens?

              option space PXE;
              option PXE.mtftp-ip    code 1 = ip-address;
              option PXE.mtftp-cport code 2 = unsigned integer 16;
              option PXE.mtftp-sport code 3 = unsigned integer 16;
              option PXE.mtftp-tmout code 4 = unsigned integer 8;
              option PXE.mtftp-delay code 5 = unsigned integer 8;
              option arch code 93 = unsigned integer 16; # RFC4578
              
              use-host-decl-names on;
              ddns-update-style interim;
              ignore client-updates;
              next-server 192.168.1.1;
              authoritative;
              
              
              subnet 192.168.1.0 netmask 255.255.255.0 {
                      option subnet-mask              255.255.255.0;
                      range dynamic-bootp 192.168.1.10 192.168.1.254;
                      default-lease-time 21600;
                      max-lease-time 43200;
                      option domain-name-servers      192.168.1.1;
              	#option routers      x.x.x.x;
               
                  class "UEFI-32-1" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
                  filename "i386-efi/ipxe.efi";
                  }
              
                  class "UEFI-32-2" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
                   filename "i386-efi/ipxe.efi";
                  }
              
                  class "UEFI-64-1" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
                   filename "ipxe.efi";
                  }
              
                  class "UEFI-64-2" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
                  filename "ipxe.efi";
                  }
              
                  class "UEFI-64-3" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
                   filename "ipxe.efi";
                  }
              
                  class "Legacy" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
                  filename "undionly.kkpxe";
                  }
              
                  }
              

              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
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth Oct 11, 2015, 11:07 AM Oct 11, 2015, 5:07 PM

                In the packet dump I can see ‘Fragmented IP Protocol’ which means that the TFTP packets seam to be too big in your network. Usually ethernet has an MTU of 1500 and the blocksize of 1456 used here shouldn’t cause a problem. But somehow it does!

                Give this a try: Edit /etc/default/tftp-hpa and add the blocksize option

                ...
                TFTP_OPTIONS="-s --blocksize=512"
                

                512 is very small but should hopefully work for you. If it does you can crank it up step by step. By the way, what kind of network is this?

                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
                • T
                  Trevelyan
                  last edited by Oct 12, 2015, 9:22 AM

                  Random other suggestion; check /tftpboot folder, see if undionly.0 exists. If it doesn’t, try this as root:

                  cd /tftpboot
                  
                  sudo su
                  
                  ln -r -s undionly.kpxe undionly.0
                  
                  
                  1 Reply Last reply Reply Quote 2
                  • S
                    stan6595
                    last edited by Oct 14, 2015, 7:11 PM

                    Hello, Everyone.

                    Here comes the update

                    I tried to restart the tftp whcih @Tom Elliott mentioned below.
                    I did edit my dhcp config just the exactly the same as @Wayne-Workman 's reply below.
                    And I also add one more line refer from @Uncle-Frank 's reply below.

                    I tried those methods separately, but didn’t work out well.

                    However, when I combine those methods together. Fog server finally run and I can upload and download images to the machine now.

                    Thank you everyone who contributes in this post.

                    Note: there is a login fail problem with this particular setting. To resolve this issue, change your password through the database to modify your password.

                    W 1 Reply Last reply Oct 14, 2015, 7:15 PM Reply Quote 2
                    • W
                      Wayne Workman @stan6595
                      last edited by Wayne Workman Oct 14, 2015, 1:16 PM Oct 14, 2015, 7:15 PM

                      @stan6595 Thank you for following up!

                      If you have any other problems, never hesitate to start a new thread! (search for a solution first though)

                      🙂

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

                      196

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project