iPXE discussion forum

Full Version: scriptlet feature and chainloading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to chain-load iPXE with pre-built undionly.kpxe from http://boot.ipxe.org, but my DHCP server (Mikrotik RouterOS 6.4) does not support class-based options. My goal is to chainload iPXE and then force it to execute some script (from tftp or http) automatically without need to build it.

Can somebody explain the "scriptlet" dhcp-option to me? I've found some way how to pass it to iPXE encapsulated in DHCP option 175. In iPXE shell I type "dhcp" and then "config" and it seems that "scriptlet" option passes well. But how I can use it?

Or maybe there is another way to do this?
If your DHCP server doesn't support conditional return behavior, like ISC dhcpd and Microsoft does, then you need to embed a script in your iPXE binary. It's the only way I can think of to do it. You can build a custom binary with an embedded script from http://rom-o-matic.eu/ if you don't have access to a Linux environment.
Reference URL's