[Dnsmasq-discuss] client-specific prefix possible on tftp-dir?
Oliver Rath
rath at mglug.de
Fri Oct 11 14:48:26 BST 2013
Hi Simon!
Omg, looking at the right place ist the motto...
Thank you very much!
Regards,
Oliver
Am 11.10.2013 15:35, schrieb Simon Kelley:
> On 11/10/13 14:31, Oliver Rath wrote:
>> Hi list,
>>
>> is it possible to generate any client-specific prefix (mac, ip, etc.)?
>>
>> I.e.:
>>
>> client with mac 00-01-12-23-34-45 calls for a file dir.cfg, so he
>> should get
>>
>> /opt/tftproot/00-01-12-23-34-45/dir.cfg
>>
>> Any hints?
>>
>> I didnt found any recent in the net. tFH!
>
>
> From the manpage:
>
> --tftp-unique-root
> Add the IP address of the TFTP client as a path component on the
> end of the TFTP-root (in standard dotted-quad format). Only valid
> if a tftp-root is set and the directory exists. For
> instance, if tftp-root is "/tftp" and client 1.2.3.4
> requests file "myfile" then the effective path will be
> "/tftp/1.2.3.4/myfile" if /tftp/1.2.3.4 exists or /tftp/myfile
> otherwise.
>
> Cheers,
>
> Simon.
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list