diff options
author | W. Michael Petullo <mike@flyn.org> | 2020-09-23 21:42:00 -0500 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2020-09-24 22:38:37 +0200 |
commit | d20007ce91e25385d792faedc3146cbfdc34a8c5 (patch) | |
tree | ffc0951567c86a3bc7e2210fea2fdee60b6d4c47 /.gitignore | |
parent | ad3044c424510668dd318c6a48c0b56bfba3c2da (diff) | |
download | upstream-d20007ce91e25385d792faedc3146cbfdc34a8c5.tar.gz upstream-d20007ce91e25385d792faedc3146cbfdc34a8c5.tar.bz2 upstream-d20007ce91e25385d792faedc3146cbfdc34a8c5.zip |
dnsmasq: support tftp_unique_root in /etc/config/dhcp
The TFTP server provided by dnsmasq supports serving a select boot image
based on the client's MAC or IP address. This allows an administrator
to activate this feature in /etc/config/dhcp. Here is an example
/etc/config/dhcp that configures dnsmasq with --tftp-unique-root=mac:
...
config dnsmasq
option enable_tftp 1
option tftp_root /usr/libexec/tftpboot
option tftp_unique_root mac
config boot router
option serveraddress 192.168.1.1
option servername tftp.example.com
option filename openwrt-initramfs-kernel.bin
...
With this configuration, dnsmasq will serve
/usr/libexec/tftpboot/00-11-22-33-44-55/openwrt-initramfs-kernel.bin to
the client with MAC address 00:11:22:33:44:55.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions