Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
scriptlet feature and chainloading
2013-10-31, 20:24
Post: #1
scriptlet feature and chainloading
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?
Find all posts by this user
Quote this message in a reply
2013-11-03, 23:25
Post: #2
RE: scriptlet feature and chainloading
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)