<div dir="ltr"><div dir="auto"><div>Hi Petr,<div dir="auto"><br></div><div>Thanks for all your help.</div><div dir="auto">Have done a build from the fork shared above.<br></div><div>Herein are the test results.</div><div><br></div><div>Now:<br></div><div>Rpi + proxy success<br></div><div>Rpi + noproxy success</div><div>Efi + proxy failure<br></div><div>Efi + noproxy success <br></div><div>BIOS + proxy failure <br></div><div>BIOS + noproxy success <br></div><div><br></div><div>Earlier it was only:<br></div><div>
<div>Efi + noproxy failure<br></div>

</div><div><br></div><div dir="auto"></div><div>I believe that unless you can find a way to replicate all the scenarios at your end, it will be very difficult for you to nail the exact problem area in the code. <br></div><div dir="auto"><br></div><div dir="auto">
Hence, I have attached the pcap and logs for all scenarios as well as the ipxe files and dnsmasq (proxy and noproxy) conf and build options used in this archive - <a href="https://drive.google.com/file/d/1-nwKXxqor2nNEYDyIFg1T1OwhFAXv19O/view?usp=sharing">https://drive.google.com/file/d/1-nwKXxqor2nNEYDyIFg1T1OwhFAXv19O/view?usp=sharing</a></div><div dir="auto"><br></div><div>The names of the files in the archive should be self-explanatory. Yet do let me know if you need any further information.<br></div><div dir="auto"><br><div data-smartmail="gmail_signature" dir="auto">Regards,<br>Shrenik</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 7 Oct, 2021, 05:12 Petr Menšík, <<a href="mailto:pemensik@redhat.com" target="_blank">pemensik@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
I configured something on my laptop and tried few requests with my<br>
raspberry. I think I have found weird state. It checks only matching<br>
dhcp-range context, not pxe-service, when adding PXE stuff to requests.<br>
So I made it require also pxe-service. It seems it might do what you<br>
have requested, at least on the first glance.<br>
<br>
Patch #2 is just small tuning, unifying dhcp-boot and pxe-service way of<br>
setting boot files. There is slight chance it might break something. In<br>
that case, either dhcp-boot or pxe-service needs fixing.<br>
<br>
Could you please try success with patched version? I made new COPR<br>
builds [1] for Fedora, including these changes. But I think that is not<br>
your distribution. Can you try local build? Pushed also to our fork [2].<br>
<br>
1. <a href="https://copr.fedorainfracloud.org/coprs/pemensik/dnsmasq/" rel="noreferrer noreferrer" target="_blank">https://copr.fedorainfracloud.org/coprs/pemensik/dnsmasq/</a><br>
<br>
2. <a href="https://github.com/InfrastructureServices/dnsmasq/tree/pxe-services" rel="noreferrer noreferrer" target="_blank">https://github.com/InfrastructureServices/dnsmasq/tree/pxe-services</a><br>
<br><br>
</blockquote></div></div></div>
</div>