I have been ripping my hair out the last two days trying to get tftp in dnsmasq working. Now after all that time it seems there is some kind of bug in the service.
Setting up the server setting 'tftp-root=/jffs/tftpboot' in '/jffs/configs/dnsmasq.conf.add' results in the 'dnsmasq-tftp: TFTP root is /jffs/tftpboot' line in syslog.log on restarting the service. But when trying to fo a tftp GET on a file in that root folder it says it can not find it. So I tried to do a tftp PUT and it was not in the root folder but it did send with no error. Running a find command for the file finds it in /tmp ?!?! I then run another tftp GET command on some file in /tmp and it gets it successfully!
In short it seems that dnsmasq is not respecting the 'tftp-root' setting despite system log saying 'dnsmasq-tftp: TFTP root is /jffs/tftpboot'.
Setting up the server setting 'tftp-root=/jffs/tftpboot' in '/jffs/configs/dnsmasq.conf.add' results in the 'dnsmasq-tftp: TFTP root is /jffs/tftpboot' line in syslog.log on restarting the service. But when trying to fo a tftp GET on a file in that root folder it says it can not find it. So I tried to do a tftp PUT and it was not in the root folder but it did send with no error. Running a find command for the file finds it in /tmp ?!?! I then run another tftp GET command on some file in /tmp and it gets it successfully!
In short it seems that dnsmasq is not respecting the 'tftp-root' setting despite system log saying 'dnsmasq-tftp: TFTP root is /jffs/tftpboot'.