[Dnsmasq-discuss] About UEFI PXE booting in proxy mode

Steven Shiau steven at nchc.org.tw
Tue Jan 24 08:50:29 GMT 2017


Hi Simon,

Attached please find the dump file of the command "tcpdump -s 0 -w 
capturefile". Let me know if you need more info.
Thank you very much.

Steven


On 1/24/2017 AM 05:25, Simon Kelley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Thanks for the reply. Please could you repeat the tcpdump using the
> command
>
> tcpdump -s 0 -w capturefile
>
> and send me the resulting file? That has far more information than
> tcpdump prints.
>
>
> Cheers,
>
> Simon.
>
> On 20/01/17 08:39, Steven Shiau wrote:
>> Hi Simon,
>>
>> Thanks for your reply. I am answering you in the following.
>>
>> On 2017/01/20 06:47, Simon Kelley wrote:
>>> Your example 3 - I'm confused why that shouldn't work - the PXE
>>> client seems to be making further requests which are bring
>>> ignored. Would it be possible for you to get a packet dump of
>>> that exchange using tcpdump?
>> $ sudo tcpdump -ni ens38 'udp port 67 and udp port 68' tcpdump:
>> verbose output suppressed, use -v or -vv for full protocol decode
>> listening on ens38, link-type EN10MB (Ethernet), capture size
>> 262144 bytes 16:18:33.208355 IP 0.0.0.0.68 > 255.255.255.255.67:
>> BOOTP/DHCP, Request from 00:0c:29:1d:9a:d1, length 347
>> 16:18:36.205647 IP 192.168.22.254.67 > 255.255.255.255.68:
>> BOOTP/DHCP, Reply, length 341 16:18:36.385548 IP 0.0.0.0.68 >
>> 255.255.255.255.67: BOOTP/DHCP, Request from 00:0c:29:1d:9a:d1,
>> length 359 16:18:36.386212 IP 192.168.22.254.67 >
>> 255.255.255.255.68: BOOTP/DHCP, Reply, length 341 ^C 4 packets
>> captured 4 packets received by filter 0 packets dropped by kernel
>>
>>> Example 4 looks quite hopeful - the client is succerssfully
>>> downloading the bootx64.efi file (ignore the error before, that's
>>> just testing for the existance of the file.
>>>
>>> Can you see what's displayed on the client system at this point?
>> It's blank screen due to the background_image for grub is not
>> downloaded,  and in the end the grub shows no grub.cfg error, as
>> attached. That format is from the grub prefix we added by:
>> ======================================= set
>> prefix=(tftp)/grub-efi.cfg echo "Grub CPU and platform: \$grub_cpu,
>> \$grub_platform" echo 'Network status: ' net_ls_cards net_ls_addr
>> net_ls_routes
>>
>> tr --set pretty_mac x: x- \$net_default_mac
>>
>> echo "Loading config file \$prefix/grub.cfg-01-\$pretty_mac..."
>> configfile \$prefix/grub.cfg-01-\$pretty_mac
>>
>> echo "Loading config file \$prefix/grub.cfg-\$net_default_ip..."
>> configfile \$prefix/grub.cfg-\$net_default_ip
>>
>> echo "Loading config file: \$prefix/grub.cfg" configfile
>> \$prefix/grub.cfg
>>
>> echo "Could not find config file \$prefix/grub.cfg-\$pretty_mac,
>> \$prefix/grub.cfg-\$net_default_ip or \$prefix/grub.cfg!" sleep 15
>> ======================================= This is exactly the same
>> problem as mentioned here:
>> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2016q4/010931
> .html
>>
> i.e., only grub efi is downloaded, while the rest of required files are
>> not downloaded. As I mentioned for comparison, for non-proxy mode
>> with same configuration, it works well.
>>
>> Thanks again.
>>
>> Steven
>>
>>
>>
>> _______________________________________________ Dnsmasq-discuss
>> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iQIcBAEBCAAGBQJYhnTjAAoJEBXN2mrhkTWiHX8QAJhjmt1VYRoJ3DuaA6f3s9o+
> Tpoie2+4VgFHf3q/wQjq+miQ+da75+0sii9UAdjBtAAHDgLdyzPJSxCHU3neKYYF
> dY8ww789lJlUAyvmvKm7Pnv3psMWhy22WLxeJGFXPIz+DjpH+tatZ507ZTQ7946o
> nbTPdnfOO5ADF/Spuors6ioB+cmyZD9cPASSvMUQm7EwunBpAORB2S11ZRbeqSb/
> 84EdzTTtWomq7oP4NtSV98SDo0sTH2MYQtF1ht4INlutQs/zOP6P7NuzdFFJLcb8
> Bieq1FYWxK6x4FcTqNdw9SJJon/jRjoxhF3Lvovkwb/00RuQuJRHqHpw+laY6yNA
> MGS5LOIps/fIP42gxs7zftgqvfXVMfBLPUDRS3G+IwOZeteKvzNGwV0LrGFGKcZZ
> iRDRAIhWH8RImb6gSpt1YXNxyR6Or1m0IuqR+jvYPOjtmXBjRYupZ89B0FKHR9jv
> r2tJKSVq/uJa4ScW5R8ezGxaQB8iVFFj6CKDWeWEKxb4NxJUYrJ8RVb1IhAxZJUg
> 6EqXAZ/tvsIDRlveXk1nMqJ12pJlA68mnLzQ4Z5yarGTsoi6zlLecyhQkThp/LxP
> E4lGqyuJEamggwyLd0WUYH7TMqXimCd9Nyv36rurfDZOVbT3G/JaS980SkTbsjZ2
> c6JPXEqLshQyjdbht/1b
> =msps
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/47CF935C
Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C

-------------- next part --------------
A non-text attachment was scrubbed...
Name: capturefile.gz
Type: application/gzip
Size: 11531 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170124/8a60444e/attachment-0001.bin>


More information about the Dnsmasq-discuss mailing list