iPXE discussion forum

Full Version: embedded chain times out but interactive chain works
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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,
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.
Reference URL's