dnsmasq has all that is needed to support a basic PXE boot.
- dnsmasq is already installed and doing it's work: so no need to install, just configure
- enable tftp in dnsmasq
- specify tftp-root
- specify boot file
The /etc/config/dnsmasq does not seem to support the above, so one has to edit /etc/init.d/dnsmasq for this.
To test, remember that dnsmasq only supports binary if you want to get the file with a tftp client program.
Then follow your favorite HOW-TO for PXE using openwrt as dhcp/tftp/boot server
/etc/init.d/dnsmasq
- with, for example, tftproot /mnt/usbdrive
start() {
include /lib/network
scan_interfaces
config_load /var/state/network
config_load dhcp
# args=""
args=" --enable-tftp --tftp-root=/mnt/usbdrive --dhcp-boot=/mnt/usbdrive/pxelinux.0"
(Last edited by oxo on 12 Oct 2008, 21:32)