[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Feature dnsmasq as TFTP server in the installation guide ?



Hello everybody,

today I installed debian via TFTP on a network where I was already running
dnsmasq, and it had never been so simple:

    # cat <<__END__ > /etc/dnsmasq.d/tftp
    enable-tftp
    tftp-root=/var/tftp
    __END__

    # /etc/init.d/dnsmasq restart
    # mkdir /var/tftp ; cd /var/tftp
    # wget http://http.us.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/gtk/netboot.tar.gz
    # tar xvfz netboot.tar.gz

According to the Debian wiki, only the following other items need to be configured.

    interface=eth1
    domain=yourdomain.com
    dhcp-range=192.168.0.3,192.168.0.253,255.255.255.0,1h
    dhcp-boot=pxelinux.0,pxeserver,192.168.0.2
    pxe-service=x86PC, "Install Linux", pxelinux

    https://wiki.debian.org/PXEBootInstall#Another_Way_-_use_Dnsmasq

Nevertheless, it looks like pxe-service is not strictly necessary.

I wonder if it would be worth mentioning dnsmasq proeminently it in the
Installation Guide.  It is a much easier setup than isc-dhcp-server or BOOTP
(is that still needed ?)

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


Reply to: