No subject


Mon Sep 7 11:48:48 BST 2009


match.

Any thoughts?
Linked below is a log file with a successful boot (when there wasn't a
network specification based on matching vendor class substrings) and an
uncessful one (when I did have the network specification there).  As well as
my config file with both configurations.

Thanks again!
      Max

http://notes.maxmusings.net/dnsmasq.conf
http://notes.maxmusings.net/boot-fail.txt
http://notes.maxmusings.net/boot-success.txt

On Sun, Jan 31, 2010 at 11:02 AM, Simon Kelley <simon at thekelleys.org.uk>
 wrote:

> Max Turkewitz wrote:
> > 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).
> >
> > using the --test option I found that DNSMasq didn't like the line:
> > dhcp-vendor=apple-boot,AAPLBSDPC/i386
> >
> > Without that line it accepts the configuration file but my Mac will still
> > not NetBoot.
>
> Humble apologies, should be
>
> dhcp-vendorclass=apple-boot,AAPLBSDPC/i386
>
> (This sets the tag "apple-boot" which the client sends the AA.... string
> as its vendorclass, that's used in the other lines to only send the
> apple-specific options to apple clients.
>
> You can omit that line completely, but you have to remove the
> "apple-boot" tags from the option lines so that are sent always, rather
> than being sent never, because there's nothing to set the tag.
>
> If you can see log output, it's very useful to set --log-dhcp which logs
> lots of stuff about what's going on with DHCP options.
>
> Cheers,
>
> Simon
>
>
>

--001517477fe63ecbc5047e7dcedd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><span class=3D"Apple-style-span" style=3D"font-family: arial, sans-seri=
f; font-size: 13px; border-collapse: collapse; "><span style=3D"font-family=
: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><sp=
an style=3D"font-family: arial, sans-serif; font-size: 13px; border-collaps=
e: collapse; ">(resending this because the list put it on hold due to its l=
arge size, so I hosted the files instead of attaching them)</span></div>

<div class=3D"im" style=3D"color: rgb(80, 0, 80); "><div><span style=3D"fon=
t-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">=
<br></span></div>No apologies needed, your helping me for free as fumble ar=
ound trying to get this working and I appreciate it. =A0I got a little fart=
her and appear to be stuck again. =A0By commenting out all of the lines for=
 my Non-Apple PXE boot configuration, removing the vendor class specificati=
on and changing the options, the machine finally network booted my Apple Ne=
tBoot set.<div>

<br></div><div>Here is the working configuration:</div></div><div><div clas=
s=3D"im" style=3D"color: rgb(80, 0, 80); "><div>dhcp-option-force=3D43,08:0=
4:81:00:00:67</div><div>dhcp-option-force=3D60,&quot;AAPLBSDPC/i386&quot;</=
div>

<div>dhcp-option-force=3D17,&quot;nfs:192.168.33.1:/var/lib/tftpboot:Diag10=
6NetBoot.nbi/NetBoot.dmg&quot;</div><div>dhcp-option-force=3D67,&quot;Diag1=
06NetBoot.nbi/i386/booter&quot;</div><div><br></div><div>After that I chang=
ed the configuration to add the vendor class specification</div>

<div><div>dhcp-vendorclass=3Dapple-boot,&quot;APPLBSDPC/i386&quot;</div><di=
v>dhcp-option-force=3Dapple-boot,43,08:04:81:00:00:67</div><div>dhcp-option=
-force=3Dapple-boot,60,&quot;AAPLBSDPC/i386&quot;</div><div>dhcp-option-for=
ce=3Dapple-boot,17,&quot;nfs:192.168.33.1:/var/lib/tftpboot:Diag106NetBoot.=
nbi/NetBoot.dmg&quot;</div>

<div>dhcp-option-force=3Dapple-boot,67,&quot;Diag106NetBoot.nbi/i386/boot</=
div><div><br></div><div>I tried=A0&quot;APPLBSDPC/i386&quot;,=A0APPLBSDPC/i=
386,=A0APPLBSDPC/i386/*,&quot;APPLBSDPC/i386/*</div><div>None of them work.=
</div>

</div><div>I have been watching the output from syslog after adding --log-d=
hcp as you suggested and can see that my Mac is returning:=A0AAPLBSDPC/i386=
/MacBook5,1</div><div>dnsmasq-dhcp[7702]: 24437 Vendor class: AAPLBSDPC/i38=
6/MacBook5,1</div>

<div>From the DNSMasq man page it looks like the vendor class option should=
 still match.</div><div><br></div><div>Any thoughts?</div></div><div>Linked=
 below is a log file with a successful boot (when there wasn&#39;t a networ=
k specification based on matching vendor class substrings) and an uncessful=
 one (when I did have the network specification there). =A0As well as my co=
nfig file with both configurations.</div>

<div><br></div><div>Thanks again!</div><div>=A0=A0 =A0 =A0Max</div><div><br=
></div><div><a href=3D"http://notes.maxmusings.net/dnsmasq.conf" target=3D"=
_blank" style=3D"color: rgb(0, 84, 136); ">http://notes.maxmusings.net/dnsm=
asq.conf</a></div>

<div><a href=3D"http://notes.maxmusings.net/boot-fail.txt" target=3D"_blank=
" style=3D"color: rgb(0, 84, 136); ">http://notes.maxmusings.net/boot-fail.=
txt</a></div><div><a href=3D"http://notes.maxmusings.net/boot-success.txt" =
target=3D"_blank" style=3D"color: rgb(0, 84, 136); ">http://notes.maxmusing=
s.net/boot-success.txt</a></div>

</div></span><br><div class=3D"gmail_quote"><div class=3D"im" style=3D"colo=
r: rgb(80, 0, 80); ">On Sun, Jan 31, 2010 at 11:02 AM, Simon Kelley=A0<span=
 dir=3D"ltr">&lt;<a href=3D"mailto:simon at thekelleys.org.uk" target=3D"_blan=
k" style=3D"color: rgb(0, 84, 136); ">simon at thekelleys.org.uk</a>&gt;</span=
>=A0wrote:<br>

</div><div class=3D"im" style=3D"color: rgb(80, 0, 80); "><blockquote class=
=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px; margin-bottom=
: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(2=
04, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<div>Max Turkewitz wrote:<br>&gt; Thanks for your quick response Simon. =A0=
I had to move to a different system<br>&gt; to get some diagnostic output (=
DD-WRT doesn&#39;t seem to support some options<br>&gt; or just isn&#39;t g=
iving me output at the terminal).<br>

&gt;<br>&gt; using the --test option I found that DNSMasq didn&#39;t like t=
he line:<br>&gt; dhcp-vendor=3Dapple-boot,AAPLBSDPC/i386<br>&gt;<br>&gt; Wi=
thout that line it accepts the configuration file but my Mac will still<br>

&gt; not NetBoot.<br><br></div>Humble apologies, should be<br><br>dhcp-vend=
orclass=3Dapple-boot,AAPLBSDPC/i386<br><br>(This sets the tag &quot;apple-b=
oot&quot; which the client sends the AA.... string<br>as its vendorclass, t=
hat&#39;s used in the other lines to only send the<br>

apple-specific options to apple clients.<br><br>You can omit that line comp=
letely, but you have to remove the<br>&quot;apple-boot&quot; tags from the =
option lines so that are sent always, rather<br>than being sent never, beca=
use there&#39;s nothing to set the tag.<br>

<br>If you can see log output, it&#39;s very useful to set --log-dhcp which=
 logs<br>lots of stuff about what&#39;s going on with DHCP options.<br><br>=
Cheers,<br><font color=3D"#888888"><br>Simon<br></font><div><div></div><div=
>

<br></div></div></blockquote></div></div></span><div class=3D"gmail_quote">=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div><div class=3D"h5">
<br>
</div></div></blockquote></div><br>

--001517477fe63ecbc5047e7dcedd--



More information about the Dnsmasq-discuss mailing list