[Dnsmasq-discuss] Help Translating DNSMasq options for NetBoot Mac
Max Turkewitz
max.turkewitz at gmail.com
Wed Feb 3 23:26:09 GMT 2010
It works!!!
Simon, that last suggestion helped greatly (also I think I had some
errors in the rest of my configuration).
The final working configuration:
interface=eth0
resolv-file=/tmp/resolv.dnsmasq
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=55
dhcp-option=3,192.168.33.1
dhcp-option=6,68.87.71.226,68.87.73.242
dhcp-authoritative
dhcp-range=192.168.33.100,192.168.33.149,255.255.255.0,1440m
dhcp-boot=net:#apple-boot,pxelinux.0,192.168.33.1,192.168.33.1
dhcp-option-force=net:#apple-boot,208,f1:00:74:7e
dhcp-option-force=net:#apple-boot,209,pxelinux.cfg/default
hcp-vendorclass=apple-boot,AAPLBSDPC/i386
dhcp-option-force=net:apple-boot,43,08:04:81:00:00:67
dhcp-option-force=net:apple-boot,60,"AAPLBSDPC/i386"
dhcp-option-force=net:apple-boot,17,"nfs:192.168.33.1:
/var/lib/tftpboot:Diag106NetBoot.nbi/NetBoot.dmg"
dhcp-option-force=net:apple-boot,67,"Diag106NetBoot.nbi/i386/booter"
I'm perfectly happy with my configuration, but if your interested I booted
both the Mac and the PC with these settings and then the Mac and PC with the
settings you recommended. In this zip file is the dhcp-log output(syslog),
my configuration(dnsmasq.conf.myconfig), the tcpdump from the PC&Mac
successful network boot(myConfig.pcap), the configuration as I understand
you recommended it(dnsmasq.conf.recommended), and the tcpdump from the
unsuccessful Mac boot and the successful PC boot(recommended.pcap).
http://notes.maxmusings.net/dnsmasq.zip (I'll leave that up for a couple
weeks).
Here are the times:
My configuration, Mac booting:
Start:16:10
Stop:16:14:23
My configuration, PC booting:
Start:16:24:06
Stop:16:25:23
Recommended configuration, Mac booting (I had to unplug the mac because it
took too long and I could see it wasn't getting the files from the server):
Start:16:31
Stop:16:36:20
Recommended configuration, PC booting:
Start:16:37
Stop:16:39
Let me know if you want me to try some other things.
Thanks for all your help,
Max
On Wed, Feb 3, 2010 at 2:06 PM, Simon Kelley <simon at thekelleys.org.uk>wrote:
> Max Turkewitz wrote:
>
>>
>> Don, Thanks for pointing out the spelling difference.
>> Simon,
>> After making the changes I can see that DNSMasq picks up the apple-boot
>> tag! It does not seem to work without the force option or with the
>> compressed option you suggested:
>> > dhcp-option=vendor:AAPLBSDPC/i386,8,81:00:00:67
>> My mac is specifically requesting option 60 and it is not being sent with
>> the above line. I did get apple-boot tag though.
>>
>> What I found was that I need the specific dhcp options 43 and 60.
>> After configuring, testing, and successfully booting my Mac I uncommented
>> the lines:
>> dhcp-boot=pxelinux.0,192.168.33.1,192.168.33.1
>> dhcp-option-force=208,f1:00:74:7e
>> dhcp-option=209,pxelinux.cfg/default
>>
>> To test that PC's booting PXE were not broken, and found that those
>> options broke the Mac booting.
>>
>
> If you just need to suppress those during apple booting, making them
>
> dhcp-option=net:#apple-boot,209,pxelinux.cfg/default
> dhcp-option-force=net:#apple-boot,208,f1:00:74:7e
>
> will do it: "#apple-boot" means "not apple-boot"
>
>
>
>
>
>> I need to look at the DHCP output from Syslog more but work and school
>> need a lot of attention right now so hopefully I'll have more information
>> tomorrow or Friday.
>>
>>
>>
> If you can get packet-captures of the transactions using wireshark or
> tcpdump, that would be very useful. The simplest method is
>
> tcpdump -i <interface> -s 0 -w <file> on the machine running dnsmasq. Send
> the resulting file to me off-list. Dumps from the working and non-working
> configurations would be useful.
>
>
>> Thanks again for all your help,
>> Max
>>
>>
>>
>>
>> Cheers,
>
> Simon.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100203/2efa20ae/attachment-0001.htm
More information about the Dnsmasq-discuss
mailing list