Here's what I did:
1. Flashed my WRT310 router with dd-wrt (lots of good reasons to do this anyway)
2. Added this to DNSMasq Options in router using the dd-wrt interface:
Code: Select all
dhcp-boot=pxe/minimyth/pxelinux.0,icarus,192.168.1.201
4. Copied the pxelinux.0 into the tftp folder (so it agrees with path in step 2)
5. Created the boot files under "pxe/minimyth/pxelinux.cfg" using the mac addresses of the frontends for the names, prefixing with "01-" and using lower case. Like this:
Code: Select all
pxe/minimyth/pxelinux.cfg/01-00-1d-60-ba-26-72
pxe/minimyth/pxelinux.cfg/01-00-1d-92-f2-dd-de
pxe/minimyth/pxelinux.cfg/01-00-22-15-b6-8f-d8
7. Here's the critical part, I added the MM_DHCP_HOST_NAME to the boot line for each of those files in step 6, like this:
Code: Select all
DEFAULT minimyth-ram
LABEL minimyth-ram
KERNEL ram-minimyth-0.21.0-64-nvidia.180.22/kernel
APPEND ro root=/dev/ram0 ramdisk_size=96000 initrd=ram-minimyth-0.21.0-64-nvidia.180.22/rootfs MM_DHCP_HOST_NAME="peeper"
Code: Select all
pxe/minimyth/default
pxe/minimyth/toro
pxe/minimyth/peeper
pxe/minimyth/geronimo
This will allow the mm machine to discover it's custom bootline using it's mac address. And because the MM_DHCP_HOST_NAME is on the boot line, MM can then come back and download its appropriate minimyth.conf,
xorg.conf, etc.. from the correct host name folder.
I also used the "mm_minimyth_conf_include minimyth-common.conf" option in each host-specific minimyth.conf so I could keep them tiny.
Hope this save you time!