<div dir="ltr"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">Good morning,</span><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br class="gmail-"></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">I’m diagnosing the problems of netbooting a raspberry Pi3 without SD card inserted (which is supposed to work). My environment has a FritzBox router (and DHCP server) and another raspi acting as boot server (and DHCP proxy). Problem is that I cannot see the client raspi connect to server raspi for TFTP. </div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">It has been suggested in <a href="http://www.markwilson.co.uk/blog/2014/10/raspberry-pi-infrastructure-server-dns-dhcp-tftp.htm" class="gmail-">http://www.markwilson.co.uk/blog/2014/10/raspberry-pi-infrastructure-server-dns-dhcp-tftp.htm</a> that adding option 66 might help.</div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br class="gmail-"></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">My problem with this suggestion is that dnsmasq apparently doesn’t send option 66 although it is every requested by the client (looks a bit like <a href="https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg05690.html" class="gmail-">https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg05690.html</a>).</div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br class="gmail-"></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">Here’s the server config:</div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br class="gmail-"></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>resolv-file=/etc/resolv.conf.dnsmasq</div><div class="gmail-"><br class="gmail-"></div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>port=0</div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>dhcp-range=192.168.0.255,proxy</div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>dhcp-option-force=66,192.168.0.48</div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>dhcp-option-force=67,bootcode.bin</div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>log-dhcp</div><div class="gmail-"><br class="gmail-"></div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>enable-tftp</div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>tftp-root=/tftpboot</div><div class="gmail-"><br class="gmail-"></div><div class="gmail-"><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>pxe-service=0,"Raspberry Pi Boot”</div></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br class="gmail-"></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">And here’s the tcp trace. The way I’m reading this (not an expert) is that the client is asking for various options, including 66. The server answers but omits option 66.</div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">My question would be if that’s the expected behaviour or if it wouldn’t be possible to force the server to send option 66?</div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br class="gmail-"></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">The trace:</div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><div class="gmail-"><br class="gmail-"></div><div class="gmail-">No.     Time           Source                Destination           Protocol Length Info</div><div class="gmail-">     79 25.468155      0.0.0.0               255.255.255.255       DHCP     362    DHCP Discover - Transaction ID 0x26f30339</div><div class="gmail-"><br class="gmail-"></div><div class="gmail-">Frame 79: 362 bytes on wire (2896 bits), 362 bytes captured (2896 bits)</div><div class="gmail-">Ethernet II, Src: Raspberr_9d:c1:5a (b8:27:eb:9d:c1:5a), Dst: Broadcast (ff:ff:ff:ff:ff:ff)</div><div class="gmail-">Internet Protocol Version 4, Src: 0.0.0.0, Dst: 255.255.255.255</div><div class="gmail-">User Datagram Protocol, Src Port: 68, Dst Port: 67</div><div class="gmail-">Bootstrap Protocol (Discover)</div><div class="gmail-">    Message type: Boot Request (1)</div><div class="gmail-">    Hardware type: Ethernet (0x01)</div><div class="gmail-">    Hardware address length: 6</div><div class="gmail-">    Hops: 0</div><div class="gmail-">    Transaction ID: 0x26f30339</div><div class="gmail-">    Seconds elapsed: 0</div><div class="gmail-">    Bootp flags: 0x0000 (Unicast)</div><div class="gmail-">    Client IP address: 0.0.0.0</div><div class="gmail-">    Your (client) IP address: 0.0.0.0</div><div class="gmail-">    Next server IP address: 0.0.0.0</div><div class="gmail-">    Relay agent IP address: 0.0.0.0</div><div class="gmail-">    Client MAC address: Raspberr_9d:c1:5a (b8:27:eb:9d:c1:5a)</div><div class="gmail-">    Client hardware address padding: 00000000000000000000</div><div class="gmail-">    Server host name not given</div><div class="gmail-">    Boot file name not given</div><div class="gmail-">    Magic cookie: DHCP</div><div class="gmail-">    Option: (53) DHCP Message Type (Discover)</div><div class="gmail-">        Length: 1</div><div class="gmail-">        DHCP: Discover (1)</div><div class="gmail-">    Option: (55) Parameter Request List</div><div class="gmail-">        Length: 12</div><div class="gmail-">        Parameter Request List Item: (43) Vendor-Specific Information</div><div class="gmail-">        Parameter Request List Item: (60) Vendor class identifier</div><div class="gmail-">        Parameter Request List Item: (67) Bootfile name</div><div class="gmail-">        Parameter Request List Item: (128) DOCSIS full security server IP [TODO]</div><div class="gmail-">        Parameter Request List Item: (129) PXE - undefined (vendor specific)</div><div class="gmail-">        Parameter Request List Item: (130) PXE - undefined (vendor specific)</div><div class="gmail-">        Parameter Request List Item: (131) PXE - undefined (vendor specific)</div><div class="gmail-">        Parameter Request List Item: (132) PXE - undefined (vendor specific)</div><div class="gmail-">        Parameter Request List Item: (133) PXE - undefined (vendor specific)</div><div class="gmail-">        Parameter Request List Item: (134) PXE - undefined (vendor specific)</div><div class="gmail-">        Parameter Request List Item: (135) PXE - undefined (vendor specific)</div><div class="gmail-">        Parameter Request List Item: (66) TFTP Server Name</div><div class="gmail-">    Option: (93) Client System Architecture</div><div class="gmail-">        Length: 2</div><div class="gmail-">        Client System Architecture: IA x86 PC (0)</div><div class="gmail-">    Option: (94) Client Network Device Interface</div><div class="gmail-">        Length: 3</div><div class="gmail-">        Major Version: 2</div><div class="gmail-">        Minor Version: 1</div><div class="gmail-">    Option: (97) UUID/GUID-based Client Identifier</div><div class="gmail-">        Length: 17</div><div class="gmail-">        Client Identifier (UUID): 44444444-4444-4444-4444-444444444444</div><div class="gmail-">    Option: (60) Vendor class identifier</div><div class="gmail-">        Length: 32</div><div class="gmail-">        Vendor class identifier: PXEClient:Arch:00000:UNDI:002001</div><div class="gmail-">    Option: (255) End</div><div class="gmail-">        Option End: 255</div><div class="gmail-"><br class="gmail-"></div><div class="gmail-">No.     Time           Source                Destination           Protocol Length Info</div><div class="gmail-">     80 25.469580      192.168.0.48          255.255.255.255       DHCP     356    DHCP Offer    - Transaction ID 0x26f30339</div><div class="gmail-"><br class="gmail-"></div><div class="gmail-">Frame 80: 356 bytes on wire (2848 bits), 356 bytes captured (2848 bits)</div><div class="gmail-">Ethernet II, Src: Raspberr_a9:e8:80 (b8:27:eb:a9:e8:80), Dst: Broadcast (ff:ff:ff:ff:ff:ff)</div><div class="gmail-">Internet Protocol Version 4, Src: 192.168.0.48, Dst: 255.255.255.255</div><div class="gmail-">User Datagram Protocol, Src Port: 67, Dst Port: 68</div><div class="gmail-">Bootstrap Protocol (Offer)</div><div class="gmail-">    Message type: Boot Reply (2)</div><div class="gmail-">    Hardware type: Ethernet (0x01)</div><div class="gmail-">    Hardware address length: 6</div><div class="gmail-">    Hops: 0</div><div class="gmail-">    Transaction ID: 0x26f30339</div><div class="gmail-">    Seconds elapsed: 0</div><div class="gmail-">    Bootp flags: 0x8000, Broadcast flag (Broadcast)</div><div class="gmail-">    Client IP address: 0.0.0.0</div><div class="gmail-">    Your (client) IP address: 0.0.0.0</div><div class="gmail-">    Next server IP address: 0.0.0.0</div><div class="gmail-">    Relay agent IP address: 0.0.0.0</div><div class="gmail-">    Client MAC address: Raspberr_9d:c1:5a (b8:27:eb:9d:c1:5a)</div><div class="gmail-">    Client hardware address padding: 00000000000000000000</div><div class="gmail-">    Server host name not given</div><div class="gmail-">    Boot file name not given</div><div class="gmail-">    Magic cookie: DHCP</div><div class="gmail-">    Option: (53) DHCP Message Type (Offer)</div><div class="gmail-">        Length: 1</div><div class="gmail-">        DHCP: Offer (2)</div><div class="gmail-">    Option: (54) DHCP Server Identifier</div><div class="gmail-">        Length: 4</div><div class="gmail-">        DHCP Server Identifier: 192.168.0.48</div><div class="gmail-">    Option: (60) Vendor class identifier</div><div class="gmail-">        Length: 9</div><div class="gmail-">        Vendor class identifier: PXEClient</div><div class="gmail-">    Option: (97) UUID/GUID-based Client Identifier</div><div class="gmail-">        Length: 17</div><div class="gmail-">        Client Identifier (UUID): 44444444-4444-4444-4444-444444444444</div><div class="gmail-">    Option: (43) Vendor-Specific Information (PXEClient)</div><div class="gmail-">        Length: 32</div><div class="gmail-">        Option 43 Suboption: (6) PXE discovery control</div><div class="gmail-">        Option 43 Suboption: (10) PXE menu prompt</div><div class="gmail-">        Option 43 Suboption: (9) PXE boot menu</div><div class="gmail-">        PXE Client End: 255</div><div class="gmail-">    Option: (255) End</div><div class="gmail-">        Option End: 255</div></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br class="gmail-"></div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">Much appreciated,</div><div class="gmail-" style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px">Andreas</div><div><br></div></div>