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

    TFTP Timeout

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    19
    2.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.
    • Q
      quinnby95 @george1421
      last edited by

      @george1421

      Capture.PNG

      That is what shows up when I run the requested command

      Yes when I installed FOG server I had SELINUX turned off as well as the firewall

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

        @quinnby95 Ping works from an external machine but TFTP doesn’t? Do I get this right? Guess it is a firewall issue. Maybe Windows firewall and as well check the firewall in your VM: sudo iptables -L -n -v

        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

        Q 1 Reply Last reply Reply Quote 0
        • Q
          quinnby95 @Sebastian Roth
          last edited by

          @Sebastian-Roth That is correct, I can ping the machine but no TFTP. I thought maybe a firewall issue too so I tried disabling the Windows firewall entirely as well and got the same result.

          650300d6-32be-4766-b47f-92b958cb5289-image.png

          That is the response from the IP Tables

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

            @quinnby95 Run this command to see if the firewall is enabled.
            sudo ufw status

            If its running then issue this command to stop it.
            sudo ufw disable

            Since you are using a Desktop OS, I’m suspecting its enabled by default.

            Once you stop the firewall, test again to download the file using a windows client.

            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!

            Q 1 Reply Last reply Reply Quote 0
            • Q
              quinnby95 @george1421
              last edited by

              @george1421 The status is currently inactive, I turned off the firewall for both the Windows machine and Ubuntu and got the same results. I truly am at an impasse for why this is happening I spent the last week looking at other posts trying everything

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

                @quinnby95 This is an interesting one…

                We’ve hit on the simple ones, now lets look a bit deeper.

                1. Is selinux disabled: sudo getenforce Hopefully this returns Permissive
                2. is there anything in the tftp directory? ls -la /tftpboot ensure that undionly.kpxe exists in that directory as well as a bunch of other files.
                3. Are you using the proper tftp get command on the windows test system? tftp <fog_server_ip> GET undionly.kpxe .?
                4. In /var/logs there may be a tftp log file it may be called in.tftp. See if there are any helpful messages in that log file. If you can’t find which log file to look into use this command sudo grep -r tftp /var/log/* to find the name of the log file as well as display any entries with tftp in the name

                Other infrastructure questions. Is the FOG server and the target computer on the same subnet?

                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
                • D
                  daarnalthe
                  last edited by daarnalthe

                  Hello,
                  maybe i will dig up this topic because i am facing the same problem after 3 years of the last post here.

                  I have very similar environment:

                  subnet: 10.6.22.0/24
                  FOG Server: 10.6.22.10 (1.5.9 stable)
                  HOST Windows 10: 10.6.22.11
                  virtualbox guest Windows 10: 10.6.22.107 (bridged adapter, IP obtained from fog DHCP)

                  Tried with and without firewall enabled on windows PC.
                  Physical workstations from this subnet connect to FOG and tftp without problems. Problem occurs only with virtual machine Windows. I am trying to prepare my syspreped image in virtualbox and then capture it with FOG so this is the purpose i want it to work correctly 🙂

                  When i boot the virtual Windows from virtualbox i have:

                  506686ca-a7c7-435d-a0f0-c1e9e356aeaf-image.png

                  and the answers for your questions are:

                  • Is selinux disabled: sudo getenforce Hopefully this returns Permissive

                  5e5a2a18-bf6d-4b3f-b576-4160c45c78d0-image.png

                  • is there anything in the tftp directory? ls -la /tftpboot ensure that undionly.kpxe exists in that directory as well as a bunch of other files.

                  59199e11-6685-44a7-970c-706f880fef33-image.png

                  • Are you using the proper tftp get command on the windows test system? tftp <fog_server_ip> GET undionly.kpxe .?

                  84804bcb-a4b1-41f6-a292-d37467e10eb0-image.png
                  *- I tried run this command from host Windows PC and also from guest Windows PC in Virtualbox - the same result - “connect request failed”, so there is not problem with VirtualBox software - I read on the other forums, where people was suggesting that VitrtualBox software is blocking someway the tftp.

                  • In /var/logs there may be a tftp log file it may be called in.tftp. See if there are any helpful messages in that log file. If you can’t find which log file to look into use this command sudo grep -r tftp /var/log/* to find the name of the log file as well as display any entries with tftp in the name

                  Nothing special… some old logs… Only fresh logs:

                  /var/log/daemon.log:Oct 3 08:29:11 fog in.tftpd[23091]: tftp: client does not accept options
                  /var/log/daemon.log:Oct 3 09:56:53 fog in.tftpd[28424]: tftp: client does not accept options
                  /var/log/daemon.log:Oct 3 10:00:51 fog in.tftpd[28622]: tftp: client does not accept options
                  /var/log/daemon.log:Oct 4 13:34:30 fog dhcpd[32034]: option tftp-server-name 10.
                  /var/log/daemon.log:Oct 4 13:34:30 fog isc-dhcp-server[32025]: option tftp-server-name 10.
                  /var/log/daemon.log:Oct 4 13:34:30 fog dhcpd[32035]: option tftp-server-name 10.
                  /var/log/daemon.log:Oct 4 13:35:33 fog dhcpd[32122]: option tftp-server-name 10.
                  /var/log/daemon.log:Oct 4 13:35:33 fog dhcpd[32123]: option tftp-server-name 10.
                  /var/log/daemon.log:Oct 4 13:35:33 fog isc-dhcp-server[32113]: option tftp-server-name 10.
                  /var/log/daemon.log:Oct 4 14:03:06 fog in.tftpd[1721]: tftp: client does not accept options

                  but i was trying to connect to tftp from this Windows PC with and without firewall so these logs aren’t very helpful.

                  I also tried to add some options to /etc/dhcp/dhcpd.conf:

                  2f224446-7e61-4ac0-abf6-46df004d6099-image.png

                  but it didn’t help.

                  Do you have some other suggetsions what should I check?

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

                    @daarnalthe Have you tried sending ping (ICMP) packets from the Windows 10 VM to your FOG Server and back?

                    Firewall on the FOG server is disabled or enabled?

                    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
                    • D
                      daarnalthe
                      last edited by

                      @Sebastian-Roth
                      I don’t have active any firewall on the FOG server and i can PING it from the VM Windows.

                      1 Reply Last reply Reply Quote 0
                      • D
                        daarnalthe
                        last edited by

                        @Sebastian-Roth
                        Hmm… Maybe “some other forums” has right… Maybe somehow Virtualbox software blocks the tftp processes while PXE booting…

                        I change VM software to Windows Hyper-V and i don’t have problem with tftp timeout anymore…

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

                        214

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project