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

    Ipxe connection timed out (4c126092)

    Scheduled Pinned Locked Moved
    General Problems
    4
    14
    3.1k
    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.
    • G
      Godlike @george1421
      last edited by

      @george1421 Ordered a switch, will respond after i have tested things out with the STP. Should arrive tomorrow

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

        @Godlike It’s kinda strange this workes just fine sometimes but fails on other tries in your setup. Definitely try out the other dumb switch. First connected in between your current setup but as well you might want to try swaping out your existing switch with the dumb one for testing.

        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

        G 1 Reply Last reply Reply Quote 1
        • G
          Godlike @Sebastian Roth
          last edited by

          @sebastian-roth Finally managed to get some time to test it out and no use, still the same issue. some laptops dont have the issue but some take up to 6 restarts for it to actually work. A icybox lan USB lan adapter sometimes makes it work more often in these cases, im not sure if it has any affect or not. The only error with that im gettin is the following:

          tftp://x.x.x.x/default.ipxe… Connection timed out (http://ipxe.org/4c126092)

          I have reed the website in the brackets but still came to a conclusion as in why does it work sometimes, but the other times it just doesnt. Could it really be a lease issue? DHCP not working properly or maybe i have multiple ports open (66,67…)?

          Would installing dnsmasq be of any use here in this case?

          Thanks and sorry for the later reply 🙂

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

            @godlike said in Ipxe connection timed out (4c126092):

            Could it really be a lease issue? DHCP not working properly or maybe i have multiple ports open (66,67…)?

            Hmmmm, from what I know about this I don’t think it’s a DHCP issue. I say this because usually we see different errors then. Those that have real DHCP issues don’t get to the stage where it tries to load default.ipxe as far as I know. It should fail out earlier if getting an IP from the DHCP is an issue. As well this is already half way into the PXE booting process. The network ROM already requested an IP from the DHCP once, pulled the iPXE binary from the FOG server and executed it. This iPXE loaded then again requests an IP from the DHCP and tries to pull default.ipxe from your FOG server.

            The main difference between the first and the second round is that the network ROM is using an internal driver provided by the NIC manufacturer while inn the second step the iPXE loaded driver is in play. I can imagine the iPXE driver to be at fault here.

            I think compiling iPXE from the latest official source code is a quick first step to see if that can fix the issue: https://docs.fogproject.org/en/latest/reference/compile_ipxe_binaries.html

            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

            G 2 Replies Last reply Reply Quote 0
            • G
              Godlike @Sebastian Roth
              last edited by

              @sebastian-roth Thank you for the reply, i will try it out and see if it has any changes.

              1 Reply Last reply Reply Quote 0
              • G
                Godlike @Sebastian Roth
                last edited by

                @sebastian-roth Reinstalled fog to see if that would fix the problem, it didnt do much. I expected as much since the version i see on screen when booting is iPXE 1.21.1+ (gc64d) which is supposedly the latest version when looking around the git hub.

                When running ls -la /tftpboot/.efi the files seem to be reinstalled/updated.

                What is interesting is that when i first installed FOG the whole internet started acting a bit strange. Sometimes wifi doesnt connect (Connected, secured. No internet) errors, similar with cable connections. What usually fixes the issue is ipconfig /release - ipconfig /flushdns - ipconfig /renew and its all back to normal, connects instantly. Perhaps its not getting a decent connection during the pxe boot when it needs to download through tftp? Its a wild guess from me.

                Also what i should probably mention is that when i first installed FOG it was on a test laptop to see how it would work, but i didnt properly uninstall it i suppose, just formated the disk. Made a new install on a machine im running on right now. Could that affect anything as well?

                Thank you in advance!

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

                  @godlike said in Ipxe connection timed out (4c126092):

                  What is interesting is that when i first installed FOG the whole internet started acting a bit strange.

                  Haha! Sorry but it sounds kind of funny that installing FOG would have an inpact on the “whole internet”. 😉

                  Sometimes wifi doesnt connect (Connected, secured. No internet) errors, similar with cable connections. What usually fixes the issue is ipconfig /release - ipconfig /flushdns - ipconfig /renew and its all back to normal, connects instantly.

                  Hmmm, I am not sure I can follow here. FOG is installed on a Linux system but the mentioned commands are from Windows. How does that connect at all?

                  Perhaps its not getting a decent connection during the pxe boot when it needs to download through tftp? Its a wild guess from me.

                  We have way too little information to be able to answer that question.

                  Also what i should probably mention is that when i first installed FOG it was on a test laptop to see how it would work, but i didnt properly uninstall it i suppose, just formated the disk. Made a new install on a machine im running on right now. Could that affect anything as well?

                  Definitely not.

                  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

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Godlike @Sebastian Roth
                    last edited by

                    @sebastian-roth The windows commands were related to the internet part only. Its most likely not related to FOG install at all that the internet started acting up, so i cant speak much about it. I will do some testing with a different isp later to see if the problem could be in the router or switch being configured badly. So far the whole thing is working its just a bit inconvinient to have to restart when it fails 😄

                    1 Reply Last reply Reply Quote 0
                    • A
                      austinjt01 @Godlike
                      last edited by austinjt01

                      @godlike @george1421 Hey did you ever come to a resolution on this issue. I was getting the exact same error and I placed a “very cheap/inexpensive unmanaged switch” between the pxe booting computer and the building network switch and everything was fine. Did you guys ever figure out what setting on your building network switch needed to be tweaked to resolve Ipxe connection timeout?

                      Thanks!

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

                        @austinjt01 If the inexpensive switch masked your problem, then inspect the spanning tree setting on your building switch. You need/should be running one of the fast spanning tree protocols like portfast, fast-stp, rstp, etc. Standard spanning tree starts forwarding data too late for FOG.

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

                        185

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project