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





Thread Closed 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Can dhcpd.conf 'filename' point to a http server?
2012-10-11, 00:40 (This post was last modified: 2012-10-11 17:57 by stefanlasiewski.)
Post: #1
[solved] Can dhcpd.conf 'filename' point to a http server?
I am attempting to configure my ISC DHCP Server to load undionly.kpxe over TFTP, using the method described at http://ipxe.org/howto/dhcpd

Code:
if exists user-class and option user-class = "iPXE" {
      filename "http://my.web.server/real_boot_script.php";
  } else {
      filename "undionly.kpxe";
  }

Does this require TFTP? Or can I do this load over HTTP?

I ask, because the the gPXE docs at http://etherboot.org/wiki/httpboot suggest that I can load gPXE over HTTP. Am I misunderstanding what they are saying?

Quote:Booting from HTTP with gPXE is as simple as replacing the DHCP filename field with an http:// URL. For example, if you currently have /etc/dhcpd.conf containing

next-server my.tftp.server;
filename "/pxe.0";
then you can just copy pxe.0 to your web server and edit /etc/dhcpd.conf to contain

filename "http://my.web.server/pxe.0";

As does http://ipxe.org/howto/sccm#booting

Quote: You should now be able to configure iPXE to boot from the file sccm.ipxe on your web server. For example, if you are using ISC dhcpd then you can edit /etc/dhcpd.conf to contain

filename "http://my.web.server/sccm.ipxe";
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
[solved] Can dhcpd.conf 'filename' point to a http server? - stefanlasiewski - 2012-10-11 00:40



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