iPXE discussion forum
iPXE USB stick - how to change timeout? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: iPXE USB stick - how to change timeout? (/showthread.php?tid=11688)

iPXE USB stick - how to change timeout? - pku - 2018-06-17 22:31

I have some machines that are pretty slow to bring up an Ethernet connection and complete a DHCP handshake at boot time. Because of that, when booting from the iPXE USB stick, it gives up on the net0 NIC. I'm thinking that there must be some timeout constant in the source code that I can alter, then make it and create a fresh, customized USB stick.

Where are the timeout variables stored? I just spent about 30 minutes loking through the source code but I couldn't find them.

Thanks - Pete

RE: iPXE USB stick - how to change timeout? - NiKiZe - 2018-06-18 19:25

See dhcp.h, however consider actually investigating the timouts instead.
All errors in iPXE have an error url, on that error url there are suggestions.

One common case when having timeouts is that you have STP enabled on the switch, but "fast-port" is disabled which means it can take quite a long time from link up before the switch starts forwarding packets for that port.