Ipxe connection timed out (4c126092)


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

  • Moderator

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


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


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

  • Moderator

    @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


  • @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 🙂

  • Moderator

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


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

  • Moderator

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


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

  • Moderator

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

338
Online

9.1k
Users

15.7k
Topics

145.9k
Posts