What's new

DHCP for PXE boot?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

zoob

New Around Here
Hi,

Just wondering is there a way to configure DHCP tags 66 and 67 for PXE boot?

I tried to look for the config files for busybox and dnsmasq dhcpd's but I think I'm going in the wrong direction as I can't find the corresponding config files when I SSH into my router.

Thanks

EDIT: I saw Merlin's new firmware that gives us config file overrides... will give this whirl and report back.

EDIT2: Yup! I should have checked for the new Merlin firmware before doing anything. It was far easier than I expected:

1. Enable JFFS, format on next boot, reboot.
2. Edit /jffs/configs/dnsmasq.conf.add
3. One liner: dhcp-boot=pxelinux.0,,ip-of-the-server
4. Reboot router, start up tftpd on my server.

Done, now I can boot PING or whatever else I want with PXE. It works much better than using tftpd as my DHCP server which was quite slow and refused to lease out new IPs after the first one.
 
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top