Thanks for your quick response Simon. I had to move to a different system to get some diagnostic output (DD-WRT doesn't seem to support some options or just isn't giving me output at the terminal).<div><br></div><div>
using the --test option I found that DNSMasq didn't like the line:</div><div>dhcp-vendor=apple-boot,AAPLBSDPC/i386</div><div><br></div><div>Without that line it accepts the configuration file but my Mac will still not NetBoot. I now am testing this in my virtual machine environment with DNSMasq to rule out any differences in the two environments (except for the DHCP server) causing the problem.</div>
<div>I have to step away for a couple hours, but next I will try adding:</div><div>dhcp-option-force=apple-boot,60,AAPLBSDPCi/i386</div><div><br></div><div>which DNSMasq doesn't find any problems with when I run the configuration through DNSMasq with the --test argument. </div>
<div><br></div><div>Helmut -</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">>Your "root-path" option looks strange (for me): must be a directory, no file.</span></div>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">>Is "NetBoot.dmg" a directory?<br>>Is "tftpboot:Diag106NetBoot.nbi" a subdirectory?</span><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">This is part of how Apple does its network booting. Diag106NetBoot.nbi is a folder in the root directory accessible via tftp, and NetBoot.dmg is the root filesystem for the machine. Maybe it means the path to the root filesystem.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Thanks guys! I'll do some more testing later and let you know how it goes.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">-Max<br></span></font><div><br></div><div><br><br><div class="gmail_quote">On Sun, Jan 31, 2010 at 7:30 AM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Max Turkewitz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi guys,<br>
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:<br>
class "AppleNBI-i386"{<br>
match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";<br>
option dhcp-parameter-request-list 1,3,17,43,60;<br>
if (option dhcp-message-type = 1) { option vendor-class-identifier "AAPLBSDPC/i386"; }<br>
if (option dhcp-message-type = 1) { option vendor-encapsulated-options 08:04:81:00:00:67; }<br>
# The Apple Boot Loader binary image. This file will in turn TFTP the kernel image and extension cache.<br>
filename "Diag106NetBoot.nbi/i386/booter";<br>
## NOTE: Try to keep the root path as short as possible. I copy the DMG files to /nbi and export that folder.<br>
option root-path "nfs:192.168.33.1:/var/lib/tftpboot:Diag106NetBoot.nbi/NetBoot.dmg";<br>
}<br>
<br>
</blockquote>
<br></div>
Even better:<br>
<br>
dhcp-vendor=apple-boot,AAPLBSDPC/i386<br>
dhcp-option-force=apple-boot,vendor:AAPLBSDPC/i386,8,81:00:00:67<br>
dhcp-option-force=apple-boot,option:root-path,"nfs:192.168.33.1:/var/lib/tftpboot:Diag106NetBoot.nbi/NetBoot.dmg"<br>
dhcp-boot=net:apple-boot,"Diag106NetBoot.nbi/i386/booter"<br>
<br>
<br>
HTH<br><font color="#888888">
<br>
Simon.<br>
<br>
</font><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
This came from <a href="http://www.afp548.com/article.php?story=20061220102102611" target="_blank">http://www.afp548.com/article.php?story=20061220102102611</a><br>
<br>
I was wondering if you guys could help me. So far I have:<br>
dhcp-vendorclass=AppleNBI-i386,"AAPLBSDPC/i386"<br>
dhcp-option=net:AppleNBI-i386,option-vendor,"AAPLBSDPC/i386"<br>
dhcp-option=net:AppleNBI-i386,option:filename,"Diag106NetBoot.nbi/i386/booter"<br>
dhcp-option=net:AppleNBI-i386,option:root-path,"nfs:192.168.33.1:/var/lib/tftpboot:Diag106NetBoot.nbi/NetBoot.dmg"<br>
<br>
But this actually seems to have broken DNSMasq. Do you guys think you can help me translate this ISC configuration to a DNSMasq configuration?<br>
If the Developers are out there on the list I really enjoy the product, thanks for the great work!<br>
<br>
-Max<br>
<br>
<br>
<br>
<br></div><div class="im">
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</div></blockquote>
<br>
<br>
</blockquote></div><br></div></div>