Article 5DH99 Switching to DDWRT From DNSMASQ on server. Need help migrating config.

Switching to DDWRT From DNSMASQ on server. Need help migrating config.

by
jmgibson1981
from LinuxQuestions.org on (#5DH99)
Topic says it. Trying to remove my server from network control (dhcp & dns via dnsmasq) and put it all on the router. Most of the configuration can be done via the DD-WRT gui. I still need network boot ability via LTSP off of the server. This is the part of my /etc/dnsmasq.conf that I'm not sure how to port. I know I need to get these all targeting the server itself, I'm just not sure how to do that. Server ip will be 192.168.1.2

Code:# LTSP

# Set some tags to be able to separate client settings later on.
# "39" means "recent iPXE with menu support": http://ipxe.org/howto/dhcpd
dhcp-match=set:iPXE,175,39
dhcp-match=set:X86PC,option:client-arch,0
dhcp-match=set:X86-64_EFI,option:client-arch,7
# Due to rfc4578 errata, sometimes BC_EFI=9 is misused instead of X86-64_EFI=7:
dhcp-match=set:X86-64_EFI,option:client-arch,9
dhcp-mac=set:rpi,b8:27:eb:*:*:*
dhcp-mac=set:rpi,dc:a6:32:*:*:*

# In proxy DHCP mode, the server ONLY sends its IP and the following filename.
# Service types: man dnsmasq or https://tools.ietf.org/html/rfc4578#section-2.1
# PXE services in non proxy subnets sometimes break UEFI netboot, so tag:proxy.
pxe-service=tag:proxy,tag:!iPXE,X86PC,"undionly.kpxe",ltsp/undionly.kpxe
pxe-service=tag:proxy,tag:!iPXE,X86-64_EFI,"snponly.efi",ltsp/snponly.efi
pxe-service=tag:proxy,tag:iPXE,X86PC,"ltsp.ipxe",ltsp/ltsp.ipxe
pxe-service=tag:proxy,tag:iPXE,X86-64_EFI,"ltsp.ipxe",ltsp/ltsp.ipxe
pxe-service=tag:rpi,X86PC,"Raspberry Pi Boot ",unused

# Specify the boot filename for each tag, relative to tftp-root.
# If multiple lines with tags match, the last one is used.
# See: https://www.syslinux.org/wiki/index.php?title=PXELINUX#UEFI
dhcp-boot=tag:!iPXE,tag:X86PC,ltsp/undionly.kpxe
dhcp-boot=tag:!iPXE,tag:X86-64_EFI,ltsp/snponly.efi
dhcp-boot=tag:iPXE,ltsp/ltsp.ipxeThank you for your views and I appreciate any assistance given.

*EDIT* Either that or how to specify a remote tftp server? That would be easier I'd guess.latest?d=yIl2AUoC8zA latest?i=htfrNX4TDig:LcYNz7R5gVM:F7zBnMy latest?i=htfrNX4TDig:LcYNz7R5gVM:V_sGLiP latest?d=qj6IDK7rITs latest?i=htfrNX4TDig:LcYNz7R5gVM:gIN9vFwhtfrNX4TDig
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments