Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

DHCP for PXE boot?

Discussion in 'ASUS AC Routers & Adapters' started by zoob, Nov 12, 2012.

  1. zoob

    zoob New Around Here

    Sep 17, 2012

    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.


    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: Nov 12, 2012

Share This Page