Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick start for a home user (DNSMASQ)
2014-05-21, 13:43 (This post was last modified: 2014-06-02 11:06 by robinsmidsrod.)
Post: #1
Quick start for a home user (DNSMASQ)
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....
Find all posts by this user
Quote this message in a reply
2014-06-02, 11:09
Post: #2
RE: Quick start for a home user (DNSMASQ)
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?
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-06-02, 11:20
Post: #3
RE: Quick start for a home user (DNSMASQ)
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)