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

    TFTP Open Timeout on New Fog Install

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    30
    5.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.
    • F
      fhrivers @george1421
      last edited by fhrivers

      @george1421 Edit: Misread the question.

      Everything is on the same subnet. We’re on a .23 subnet. In fact all the devices I’m using for testing are plugged into the same switch.

      I’ll work on getting the info you need.

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

        @fhrivers said in TFTP Open Timeout on New Fog Install:

        @george1421 Fog is not handling DHCP, our corporate router does that. I’ll look at providing you that info.

        As long as they are all on the same vlan (subnet) then we can get an accurate picture of what the target computer is being told.

        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!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @fhrivers said in TFTP Open Timeout on New Fog Install:

          Very strange. I even rebooted after the change for good measure.

          Which change did you do exactly?? Disabled the firewall as suggested? I am not talking about the Windows firewall here!

          Make sure firewall rules are gone after the disabled:

          iptables -L -n -v
          Chain INPUT (policy ACCEPT 70204 packets, 115M bytes)
           pkts bytes target     prot opt in     out     source               destination         
          
          Chain FORWARD (policy ACCEPT 22073 packets, 26M bytes)
           pkts bytes target     prot opt in     out     source               destination         
          
          Chain OUTPUT (policy ACCEPT 64101 packets, 8327K bytes)
           pkts bytes target     prot opt in     out     source               destination         
          

          All three default chains are empty and default policy set to ACCEPT.

          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

          F 2 Replies Last reply Reply Quote 0
          • F
            fhrivers @Sebastian Roth
            last edited by

            @Sebastian-Roth I disabled firewalld in CentOS.

            1 Reply Last reply Reply Quote 0
            • F
              fhrivers @Sebastian Roth
              last edited by

              @Sebastian-Roth Here’s the output of my iptables:

              Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
              pkts bytes target prot opt in out source destination

              Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
              pkts bytes target prot opt in out source destination

              Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
              pkts bytes target prot opt in out source destination

              1 Reply Last reply Reply Quote 0
              • F
                fhrivers @george1421
                last edited by

                @george1421 Where is the output.pcap file saved?

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

                  @fhrivers It would be saved in the directory where you ran the tcpdump command.

                  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!

                  1 Reply Last reply Reply Quote 0
                  • F
                    fhrivers
                    last edited by

                    After much frustration, I set up another Fog installation on Ubuntu that is working much better. I still get a “TFTP open timeout” but at least I can transfer TFTP in both Windows and on the Fog server.

                    So there’s something wrong with my CentOS install. I reinstalled it twice and followed the Wiki instructions to the T.

                    1 Reply Last reply Reply Quote 0
                    • F
                      fhrivers
                      last edited by

                      Okay, I managed to upload a PCAP from Wireshark:

                      Wireshark Capture

                      george1421G 2 Replies Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @fhrivers
                        last edited by

                        @fhrivers Looking at it now.

                        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!

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

                          @fhrivers Look at the FOG forum chat bubble (upper right hand corner of the browser window) for additional information.

                          I’m almost suspecting its your dhcp server at fault here. I want you to test the following on a windows computer connected to the same subnet as the pxe booting computer.

                          1. Install the tftp client feature into windows 7 or windows 10 computer.
                          2. Temporary disable the windows firewall
                          3. With the tftp client feature installed key in the following into a windows command prompt tftp 172.16.10.21 GET undionly.kpxe . I’m interested in seeing if the file is downloaded. You can delete the file after it downloads, I’m only testing the process.

                          Let me know the results.

                          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!

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            fhrivers @george1421
                            last edited by

                            @george1421 I tested that earlier. It works.

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

                              @fhrivers said in TFTP Open Timeout on New Fog Install:

                              @george1421 I tested that earlier. It works.

                              Ah, sorry I missed that in the thread. Since tftp is working from the fog server to the windows computer, I’m going to suggest that you disable the pxe boot information on your meraki dhcp server and switch over to using dnsmasq on your FOG server. In the configuration I’m going to give you dnsmasq will only provide the pxe boot information to the client all other dhcp information will come from your main dhcp server.

                              I have a tutorial here on how to install dnsmasq. Use my configuration file from the tutorial just be sure to update the tag with the IP address of your FOG server. If you have clients on a different subnet then you will need to update your router’s dhcp-relay service. But I’m not seeing that is the case from your pcap file.

                              https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-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!

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

                                The OP was able to get things running using dnsmasq. It appears that the meraki dhcp server doesn’t provide enough information to the pxe booting computer. The advantage of dnsmasq (as well as simply working) it will dynamically provide the correct pxe boot loader based on the pxe booting client. That is something the meraki dhcp server isn’t capable of providing.

                                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!

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fhrivers
                                  last edited by

                                  Much thanks, George and others for the help. As well as saving my company thousands of dollars! 🙂

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

                                  217

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project