<div dir="ltr"><div>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.<br><br>$tftp 192.168.0.5<br>tftp> get test.txt<br>Transfer timed out.<br><br></div>I found this is the logs over and over <br><div><div>Nov 22 01:58:20 tiger dnsmasq-tftp[2282]: failed sending /var/lib/tftpboot/test.txt to 192.168.0.26<br><br></div><div>sometimes this<br>Nov 22 01:58:38 tiger dnsmasq-tftp[2282]: error 8 User aborted the transfer received from 192.168.0.26<br><br></div><div><br># Configuration file for dnsmasq:<br><br># Turn on the debugging<br>log-dhcp<br><br># Don't function as a DNS server<br>port=0<br><br># kill multicast<br>dhcp-option=vendor:PXEClient,6,2b<br><br># This range(s) is for the public interface, where dnsmasq functions<br># as a proxy DHCP server providing boot information but no IP leases.<br># Any ip in the subnet will do, so you may just put your server NIC ip here.<br>dhcp-range=192.168.0.5,proxy<br><br># Set the boot filename for netboot/PXE. You will only need this if you want to<br># boot machines over the network and you will need the built in TFTP server.<br><br>#pxe-prompt="What system shall I netboot?", timeout before first available action is taken:<br>pxe-prompt="Press F8 for the Menu.", 5<br><br>#Loads <tftp-root>/pxelinux.0 from dnsmasq TFTP server.<br>pxe-service=x86PC, "Install Fedora Workstation, (BIOS)", pxelinux<br><br>#Loads <tftp-root>/uefi/shim.efi from dnsmasq TFTP server.<br>pxe-service=X86-64_EFI, "Boot From Network, (UEFI)", grubx64<br>pxe-service=BC_EFI, "Boot From Network, (UEFI)", grubx64<br><br># Enable dnsmasq's built-in TFTP server<br>enable-tftp<br><br># Set the root directory for files available via FTP.<br>tftp-root=/var/lib/tftpboot<br><br></div></div></div>