Hi everyone,
I’ve been following the wiki guide to set this up
https://wiki.fogproject.org/wiki/index.php?title=ProxyDHCP_with_dnsmasq
The basic script example works fine but when I try to follow the second example it stops working.
Adding (a bit more complex) UEFI support to the basic script
We’ll start with our basic configuration file again. Note: we removed the pxe-service entries we added previously.
Soon as I remove the pxe-service entries I cannot UEFI boot and the dhcp-boot option doesn’t seem to do anything:
Set the boot file name based on the matching tag from the vendor class (above)
dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,192.168.112.24
dhcp-boot=net:UEFI,ipxe.efi,192.168.112.24
dhcp-boot=net:UEFI64,ipxe.efi,192.168.112.24
Can anyone tell me what I could be missing?
There are powerful matching rules in dnsmasq’s configuration syntax. Here is an example of how this could be used to distingush between BIOS and UEFI. Note: This will NOT work in proxy mode!!
dhcp-match=set:bios,60,PXEClient:Arch:00000
dhcp-boot=tag:bios,undionly.kpxe,x.x.x.x,x.x.x.x # x.x.x.x = TFTP/FOG server IP
Does that mean dhcp-boot will never work in an unmodifiable dnsmasq proxy setting?
I would like to specify options per model and it seems to be working but dhcp-service is required. Certain laptops can’t boot into legacy No configuration methods succeeded (http://ipxe.org/040ee119)