2008 / 06 / 04

dnsmasq TFTP problem

dnsmasq is a DHCP server and a DNS forwarder which is easy to configure. It also includes a TFTP server, which I have been using for PXE boot, but every time I have tried to test it with a small text file, it failed with the error:


Error code 4: unsupported request from 192.168.1.1

I originally thought that the error was meaningless and not very helpful, but reading an entry in Neobius' blog, I discovered that the message is actually accurate:

The dnsmasq TFTP server does not support ASCII transfer, which most TFTP clients default to. The dnsmasq changelog for version 2.36 confirms "The TFTP server is read-only, binary-mode only".

Thank you very much Simon Kelley for a great little piece of software !