[Dnsmasq-discuss] tftp hook for "not found"
Simon Kelley
simon at thekelleys.org.uk
Thu Dec 2 22:02:27 UTC 2021
On 02/12/2021 16:00, Carl Karsten wrote:
> for more details on what it does:
> it first does many ftp get /<filenam> and it isn't clear what files it
> needs from the boot partition.if t can't find the file in / then it
> tries /<serial>/<filename>
> so I could put all 41 files in /srv/tftp ... but that makes me grumpy.
>
I've not played with Pi, but assuming it's some variety of the PXE
protocol, that usually tries pathnames constructed from the MAC
address, then the IP address with decreasing specificity (Ie
192.168.1.100, then 192.168.1, then 192.168, then 192) and finally it
tries a fixed pathname. If you don't want to have machine-specific boot
files, just don't provide those files and the boot process will drop
though top the generic ones.
Simon.
More information about the Dnsmasq-discuss
mailing list