[Dnsmasq-discuss] dnsmasq-tftp : failed sending file

Louis Garcia louisgtwo at gmail.com
Mon Nov 23 00:58:34 GMT 2015


I've added tftp-no-blocksize but does not seem to help;

Nov 22 19:51:15 tiger systemd[1]: Started DNS caching server..
Nov 22 19:51:15 tiger systemd[1]: Starting DNS caching server....
Nov 22 19:51:15 tiger dnsmasq[3344]: started, version 2.75 DNS disabled
Nov 22 19:51:15 tiger dnsmasq[3344]: compile time options: IPv6 GNU-getopt
DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC
loop-detect inotify
Nov 22 19:51:15 tiger dnsmasq-dhcp[3344]: DHCP, proxy on subnet 192.168.0.5
Nov 22 19:51:15 tiger dnsmasq-tftp[3344]: TFTP root is /srv/tftpboot
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 available DHCP subnet:
192.168.0.5/255.255.255.0
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 vendor class:
PXEClient:Arch:00007:UNDI:003016
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 PXE(enp0s25)
b8:ae:ed:73:6f:9b proxy
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 tags: enp0s25
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 broadcast response
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 sent size:  1 option:
53 message-type  2
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 sent size:  4 option:
54 server-identifier  192.168.0.5
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 sent size:  9 option:
60 vendor-class  50:58:45:43:6c:69:65:6e:74
Nov 22 19:52:10 tiger dnsmasq-dhcp[3344]: 717563352 sent size: 17 option:
97 client-machine-id  00:00:3f:65:c8:77:72:e3:11:93:4d:b8:ae:ed...
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 717563352 available DHCP subnet:
192.168.0.5/255.255.255.0
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 717563352 vendor class:
PXEClient:Arch:00007:UNDI:003016
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 available DHCP subnet:
192.168.0.5/255.255.255.0
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 vendor class:
PXEClient:Arch:00007:UNDI:003016
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 PXE(enp0s25)
b8:ae:ed:73:6f:9b proxy
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 tags: enp0s25
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 bootfile name:
grubx64.efi
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 next server:
192.168.0.5
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 sent size:  1 option:
53 message-type  5
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 sent size:  4 option:
54 server-identifier  192.168.0.5
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 sent size:  9 option:
60 vendor-class  50:58:45:43:6c:69:65:6e:74
Nov 22 19:52:13 tiger dnsmasq-dhcp[3344]: 2463408450 sent size: 17 option:
97 client-machine-id  00:00:3f:65:c8:77:72:e3:11:93:4d:b8:ae:ed...
Nov 22 19:52:15 tiger dnsmasq-tftp[3344]: error 8 User aborted the transfer
received from 192.168.0.97
Nov 22 19:52:15 tiger dnsmasq-tftp[3344]: failed sending
/srv/tftpboot/grubx64.efi to 192.168.0.97
Nov 22 19:52:15 tiger dnsmasq-tftp[3344]: sent /srv/tftpboot/grubx64.efi to
192.168.0.97


On Sun, Nov 22, 2015 at 5:47 PM, Simon Kelley <simon at thekelleys.org.uk>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
>
> On 22/11/15 07:14, Louis Garcia wrote:
> > I am trying to debug a uefi pxe problem and found tftp failing to
> > send files. I created /var/lib/tftpboot/test.txt file and from
> > another computer I used the tftp command to get the file.
> >
> > $tftp 192.168.0.5 tftp> get test.txt Transfer timed out.
> >
> > I found this is the logs over and over Nov 22 01:58:20 tiger
> > dnsmasq-tftp[2282]: failed sending /var/lib/tftpboot/test.txt to
> > 192.168.0.26
>
> That's a timeout awaiting an ACK for a data transfer.
> >
> > sometimes this Nov 22 01:58:38 tiger dnsmasq-tftp[2282]: error 8
> > User aborted the transfer received from 192.168.0.26
>
> That comes from the client end: Note that some PXE ROMS do this as a
> matter of course. They check that a file is accessible by downloading
>  that fist block and then aborting the transfer.
>
>
> >
> >
> > # Configuration file for dnsmasq:
> >
> > # Turn on the debugging log-dhcp
> >
> > # Don't function as a DNS server port=0
> >
> > # kill multicast dhcp-option=vendor:PXEClient,6,2b
> >
> > # This range(s) is for the public interface, where dnsmasq
> > functions # as a proxy DHCP server providing boot information but
> > no IP leases. # Any ip in the subnet will do, so you may just put
> > your server NIC ip here. dhcp-range=192.168.0.5,proxy
> >
> > # Set the boot filename for netboot/PXE. You will only need this if
> > you want to # boot machines over the network and you will need the
> > built in TFTP server.
> >
> > #pxe-prompt="What system shall I netboot?", timeout before first
> > available action is taken: pxe-prompt="Press F8 for the Menu.", 5
> >
> > #Loads <tftp-root>/pxelinux.0 from dnsmasq TFTP server.
> > pxe-service=x86PC, "Install Fedora Workstation, (BIOS)", pxelinux
> >
> > #Loads <tftp-root>/uefi/shim.efi from dnsmasq TFTP server.
> > pxe-service=X86-64_EFI, "Boot From Network, (UEFI)", grubx64
> > pxe-service=BC_EFI, "Boot From Network, (UEFI)", grubx64
> >
> > # Enable dnsmasq's built-in TFTP server enable-tftp
> >
> > # Set the root directory for files available via FTP.
> > tftp-root=/var/lib/tftpboot
> >
> >
>
> I wonder if the client is asking for a block size greater than the
> network MTU?  Try adding
>
> tftp-no-blocksize
>
> to the configuration.
>
> Cheers,
>
> Simon.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iQIcBAEBCAAGBQJWUkXtAAoJEBXN2mrhkTWi6r4QAI0ECeSdvv4/i82BmKVA/pJR
> rcKtUrUKAzZiJ0kA+e5w0snHNfvB7c7ED3DBli4DN4rxJ8UQuwI1ABbaLfD4ETfR
> v5emvTyYeLQzrSU85jEOvVerxPhtB7YAEuDrvCzt42S4K507YS5dhHJ86oiR3KAp
> gE7GcSAdhqG2Q2FIrI9BjzB7B76drDWsa9c0G8a1AruFKbcH6Ljcz07pTHqa5Vtd
> DyU06wZjIckfEBIxVpqjxtDZ8Dt8IaQau2vx3lRPpcCdlthPdwtLG9atdWsYKoh4
> 37ciZWORskPqq7vw+fNYRmUtCUXKIqeqkYAKOuUIqZQpw1Fs2l/J/oxZEZKT7rsW
> ewCrdTYv6p0itlaSoqR6FrvdWTSmvoLOYvJFFQfImWoRYA5DQgKs9BdpZIACLDKx
> SYWojYem+GCwofNSa7ncqHCrR6Enuhpvr+czpP1D0SFLXR3VuOVzX49MnjAjhfH0
> Zg+kB0We3VzbfI5otjbUeT2x4t6S6WssU7eAuvnqb6JW46RJRTXpongJk579tOQH
> p+2n2DAhejVRENWDFzXP8sB4pX0EBmLieMgN00N8WsSTQwHyYl46qcQyXD6fi8JB
> MwHckb7m6h/JaJ6MkhxZGVtzG/XQxR6CdVkpFGpnRz4iUOSnufbzMfFfVYFcE/Ej
> oq7xg/z4iSud3DfL20g0
> =KdQi
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20151122/d90bf200/attachment.html>


More information about the Dnsmasq-discuss mailing list