iPXE discussion forum

Full Version: Menu file loads fine via TFTP, but not via HTTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've setup a dnsmasq similar to this.

This is my config:
Code:
dhcp-range=172.16.0.0,proxy
dhcp-match=ipxe,175   # iPXE sends a 175 option
pxe-service=net:!ipxe,x86PC,"iPXE Network boot",undionly.kpxe
dhcp-boot=net:ipxe,http://diskstation/ipxe/boot.ipxe
enable-tftp
tftp-root=/var/ftpd

For some reason, iPXE itself loads fine, but then fails with "Nothing to boot.". Entering the iPXE shell and typing "chain http://.../boot.ipxe" loads the menu just fine. It just doesn't work automatically. (From the dnsmasq log I can see that the URL is sent to iPXE.)

However, changing the dhcp-boot line to:
Code:
dhcp-boot=net:ipxe,menu.ipxe,172.16.254.10,172.16.254.10

So that the file is loaded via TFTP, works and the menu shows up directly on boot. But this is from a different server and I'd like the menu file to be on the HTTP server with the rest of the files.

dnsmasq is version 2.75.

Any ideas?

I probably could compile iPXE with the chain-command, but I'd love for it to work out-of-the-box with the http-URL delivered via DHCP.
Try using the IP address of the server.
Reference URL's