iPXE discussion forum
Quick start for a home user (DNSMASQ) - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Quick start for a home user (DNSMASQ) (/showthread.php?tid=7327)



Quick start for a home user (DNSMASQ) - TheUltimateUnltd - 2014-05-21 13:43

I assume you have ADSL and don't want to hack your ADSLMODEM.

This is how I set up my environment.

1. Use a current DNSMASQ version at least > 2.53

2. My DNSMASQ configfile:

enable-tftp
tftp-root=/var/lib/tftpboot
pxe-service=X86PC, "Boot from network", undionly
dhcp-userclass=set:ENH,iPXE
dhcp-boot=tag:!ENH,undionly.kpxe,bastftp,192.168.1.29
dhcp-boot=undionly.kpxe,bastftp,192.168.178.29
dhcp-option=vendor:PXEClient,6,2b
dhcp-no-override
dhcp-range=192.168.178.29,proxy

3. Follow the steps in https://gist.github.com/robinsmidsrod/2234639
Put the file on your webserver.

4. Stop the loop by pressing CTRL+B and chain http://yourserver/boot.ipxe

5. Don't panic if you return to the IPXE shell. Again and scroll through the menu so timeout does not interfere anymore.

6. Please let me know if this works for you....


RE: Quick start for a home user (DNSMASQ) - robinsmidsrod - 2014-06-02 11:09

Thank you for a nice and easy configuration guide. I'm sure it'll be handy for someone looking for an example on how to configure DNSMASQ for chainloading.

But should the line "dhcp-boot=undionly.kpxe,bastftp,192.168.178.29" actually be "dhcp-boot=http://yourserver/boot.ipxe,bastftp,192.168.178.29", or am I misunderstanding the DNSMASQ configuration syntax?


RE: Quick start for a home user (DNSMASQ) - TheUltimateUnltd - 2014-06-02 11:20

(2014-06-02 11:09)robinsmidsrod Wrote:  Thank you for a nice and easy configuration guide. I'm sure it'll be handy for someone looking for an example on how to configure DNSMASQ for chainloading.

But should the line "dhcp-boot=undionly.kpxe,bastftp,192.168.178.29" actually be "dhcp-boot=http://yourserver/boot.ipxe,bastftp,192.168.178.29", or am I misunderstanding the DNSMASQ configuration syntax?

basftp works for me.

But I have to rethink the configuration because I don't want it to have static names or ipadresses. but for a quick setup it can be used.