Created
March 15, 2017 02:35
-
-
Save kylemanna/05fc2a2614039771be5c42a9051d78e4 to your computer and use it in GitHub Desktop.
Simple tftp server using dnsmasq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo dnsmasq -kd -p 0 -C /dev/null -u nobody --enable-tftp --tftp-root=/srv/ftp |
But when running it, I cannot upload nothing to tftp server, having dnsmasq-tftp: unsupported request from error
It's OK because dnsmasq not supported write request (WRQ). TFTP server in dnsmasq designed only for provide files (bootloaders, configurations, etc).
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q1/003558.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
your gist is very helpful (don't have to setup dnsmasq at all, just run this !! )
But when running it, I cannot upload nothing to tftp server, having
dnsmasq-tftp: unsupported request from <ip>
errorI suspect o port issue, since you put dnsmasq port to 0, avoiding dns. Is there a way to set it to another one, but ensuring to disable dns on the same time ?
regards