[Dnsmasq-discuss] Help Translating DNSMasq options for NetBoot Mac

Max Turkewitz max.turkewitz at gmail.com
Sun Jan 31 02:11:09 GMT 2010


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";
}

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100130/f107b3f4/attachment.htm 


More information about the Dnsmasq-discuss mailing list