Flexion.Org
Bad grammar and typos for total strangers
Wiki › DNSMasq TFTP
Wiki Index All Recent Edit Bottom

Enabling TFTP in DNSmasq

A TFTP server was integrated into DNSmasq around version 2.39. I have installed DNSmasq from 'testing' to get a version with the built in TFTP server.

The remainder of this page assumes that your DNSmasq server is installed and configured something like I explained here...

Once you have a DNSmasq server, setup something like I describe in the page above, do the following...

Configure DNSmasq

 nano /etc/dnsmasq.conf

Sample

 # Set the boot filename and tftpd server name and address
 # for BOOTP. You will only need this is you want to
 # boot machines over the network.
 dhcp-boot=pxelinux.0,slug,192.168.1.77
 
 # Enable dnsmasq's built-in TFTP server
 enable-tftp
 
 # Set the root directory for files availble via FTP.
 tftp-root=/var/lib/tftpboot

Make the tftpboot directory.

 mkdir -p /var/lib/tftpboot

Now restart DNSmasq.

 /etc/init.d/dnsmasq restart

$Id: DNSMasqTFTP,v 1.5 2008/07/19 18:13:39 martin Exp $

Wiki Index All Recent Edit Top
 
Valid XHTML Valid CSS Hacker