Max Turkewitz wrote:
Hi guys,
For sometime now I've been using DNSMasq off a DD-WRT router to PXE boot machines on my network to run diagnostics and OS installers. Recently I got the drive to set this up for my Intel Mac, I got it working with the ISC dhcp server in my virtual machine environment, but can't seem to understand how to translate the options to DNSMasq in order to run it on my local network. Below is the pertinent section:
class "AppleNBI-i386"{
match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
option dhcp-parameter-request-list 1,3,17,43,60;
if (option dhcp-message-type = 1) { option vendor-class-identifier "AAPLBSDPC/i386"; } if (option dhcp-message-type = 1) { option vendor-encapsulated-options 08:04:81:00:00:67; } # The Apple Boot Loader binary image. This file will in turn TFTP the kernel image and extension cache.
filename "Diag106NetBoot.nbi/i386/booter";
## NOTE: Try to keep the root path as short as possible. I copy the DMG files to /nbi and export that folder. option root-path "nfs:192.168.33.1:/var/lib/tftpboot:Diag106NetBoot.nbi/NetBoot.dmg";
}


Even better:

dhcp-vendor=apple-boot,AAPLBSDPC/i386
dhcp-option-force=apple-boot,vendor:AAPLBSDPC/i386,8,81:00:00:67
dhcp-option-force=apple-boot,option:root-path,"nfs:192.168.33.1:/var/lib/tftpboot:Diag106NetBoot.nbi/NetBoot.dmg"
dhcp-boot=net:apple-boot,"Diag106NetBoot.nbi/i386/booter"


HTH

Simon.

This came from http://www.afp548.com/article.php?story=20061220102102611

I was wondering if you guys could help me.  So far I have:
dhcp-vendorclass=AppleNBI-i386,"AAPLBSDPC/i386"
dhcp-option=net:AppleNBI-i386,option-vendor,"AAPLBSDPC/i386"
dhcp-option=net:AppleNBI-i386,option:filename,"Diag106NetBoot.nbi/i386/booter"
dhcp-option=net:AppleNBI-i386,option:root-path,"nfs:192.168.33.1:/var/lib/tftpboot:Diag106NetBoot.nbi/NetBoot.dmg"

But this actually seems to have broken DNSMasq. Do you guys think you can help me translate this ISC configuration to a DNSMasq configuration? If the Developers are out there on the list I really enjoy the product, thanks for the great work!

-Max




------------------------------------------------------------------------

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss



Reply via email to