iPXE discussion forum
embedded chain times out but interactive chain works - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: embedded chain times out but interactive chain works (/showthread.php?tid=7821)



embedded chain times out but interactive chain works - maruchi - 2015-09-29 00:29

Hi All,

I came across a strange behavior as in embedded "chain command timesout but
interactive/manual chain command works.

Below is my embedded script during compiling my bin/ipxe.iso.

set net4/ip a.b.c.d
set net4/netmask 255.255.255.0
set net4/gateway a.b.c.1
set net4/dns 10.0.0.1
set net4/domain mycompany.com

ifopen net4

chain http://boot.ipxe.org/demo/boot.php || shell

The iso will put in the shell after timing out.
If I give the same "chain" command, it just work.

I will be doing more forensic investigation but if you know something from top of your head, please let me know.

Thanks,


RE: embedded chain times out but interactive chain works - robinsmidsrod - 2016-11-02 11:12

Have you turned off STP on your switch, as dhcp might time out before the link is considered up? If that is not the issue try out the test suite on http://ipxe.org/dev/driver and see if you're able to figure anything out from it.