• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
    last edited by Jan 12, 2022, 10:08 AM

    Hello! Im very new to FOG project and so far im liking it. I have done a lot of research on how to perfect everything by reading forums and WIKI and so far it has all been helpful. Now i have an issue that i cant seem to find a solution to. Whenever i boot inti ipv4 and start the pxe, it dowloads the NBP file and everything goes well. It receives DHCP answer and after that starts loading default.ipxe which comes to a *Connection timed out (http://ipxe.org/4c126092)
    Chainloading failed.

    Now the issue only tends to happen sometimes, and a computer reboot usually fixes it but sometimes it doesnt work after 5 tries. I cant seem to find the solution to it.

    I use snponly.efi, during FOG installation configured it to handle DHCP and used mostly default settings. The machine the server is running on is Ubuntu 20.04 LTS.

    If there is any other information needed, i can try to dig that up as well since im a bit of a beginner in this field.

    Thank you!

    G 1 Reply Last reply Jan 12, 2022, 10:46 AM Reply Quote 0
    • G
      george1421 Moderator @Godlike
      last edited by Jan 12, 2022, 10:46 AM

      @godlike Lets try this. If you have a very cheap/inexpensive unmanaged network switch. Place that switch between the pxe booting computer and the building network switch. This will help us test to see if your troubles are related to spanning tree being set to default settings on your building network switch.

      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!

      G 1 Reply Last reply Jan 12, 2022, 11:04 AM Reply Quote 0
      • G
        Godlike @george1421
        last edited by Jan 12, 2022, 11:04 AM

        @george1421 Its a TP-Link Gigabit switch (TL-SG116E) , but im pretty sure its not ever configured. Its been at my workplace before i came here. And its currently between the pxe booting computer and the main router. So Router - TPlink switch - target computer. The main host computer is also built on the switch if that makes any difference

        G A 2 Replies Last reply Jan 12, 2022, 12:38 PM Reply Quote 0
        • G
          george1421 Moderator @Godlike
          last edited by Jan 12, 2022, 12:38 PM

          @godlike Well I looked into this switch and it has advanced settings like QoS, VLAN, IGMP Snooping, etc. But there is no reference to spanning tree protocol (STP). Its hard to understand that if this device has all of those other features but does not have a setting for spanning tree, strange.

          I’m still thinking that we want to try one of those dumb 5 port unmanaged switches to see if that is the problem. The issue you have at the moment is outside of FOG itself, but rather infrastructure as far as I can tell.

          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!

          G 1 Reply Last reply Jan 13, 2022, 9:21 AM Reply Quote 0
          • G
            Godlike @george1421
            last edited by Jan 13, 2022, 9:21 AM

            @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 Jan 13, 2022, 9:55 PM

              @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 Jan 21, 2022, 8:39 AM Reply Quote 1
              • G
                Godlike @Sebastian Roth
                last edited by Jan 21, 2022, 8:39 AM

                @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 Jan 21, 2022, 1:11 PM

                  @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 Jan 21, 2022, 1:22 PM Reply Quote 0
                  • G
                    Godlike @Sebastian Roth
                    last edited by Jan 21, 2022, 1:22 PM

                    @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 Jan 24, 2022, 12:41 PM

                      @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 Jan 24, 2022, 2:26 PM Jan 24, 2022, 8:26 PM

                        @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 Jan 25, 2022, 1:21 PM Reply Quote 0
                        • G
                          Godlike @Sebastian Roth
                          last edited by Jan 25, 2022, 1:21 PM

                          @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 Jan 5, 2023, 9:53 AM Jan 5, 2023, 3:49 PM

                            @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!

                            G 1 Reply Last reply Jan 9, 2023, 10:48 PM Reply Quote 0
                            • G
                              george1421 Moderator @austinjt01
                              last edited by Jan 9, 2023, 10:48 PM

                              @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

                              194

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project