The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Menu file loads fine via TFTP, but not via HTTP
2016-02-27, 00:00 (This post was last modified: 2016-02-27 00:04 by mbirth.)
Post: #1
Menu file loads fine via TFTP, but not via HTTP
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Menu file loads fine via TFTP, but not via HTTP - mbirth - 2016-02-27 00:00



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