[Dnsmasq-discuss] diskless boot with dnsmasq?

Simon Kelley simon@thekelleys.org.uk
Mon, 14 Feb 2005 07:36:24 +0000


Dan Stromberg wrote:
> I've been fiddling with LTSP on a tiny, $150 thin client box that I got
> from someone in Hong Kong.
> 
> My initial experiments were with ISC dhcpd, with which I've used the
> config file that appears at the bottom of this message.
> 
> However, I'd like to use my Linksys WRT54G as my DHCP server, and the
> linux distribution I currently have on my Linksys, OpenWRT, has a
> precompiled mipsel+uClibc dnsmasq binary, so I'd like to look into
> switching to dnsmasq.
> 
> So my question is "Does dnsmasq support the following sorts of things for
> diskless booting with PXE"?
> 
> Thanks!
> 
> 
> ddns-update-style            none;
> default-lease-time           21600;
> max-lease-time               21600;
> option subnet-mask           255.255.255.0;
> option broadcast-address     192.168.1.255;
> option routers               192.168.1.100;
> option domain-name-servers   192.168.1.100;
> option domain-name           "ltsp";
> option root-path             "192.168.1.100:/opt/ltsp/i386";
> option option-128 code 128 = string;
> option option-129 code 129 = text;
> subnet 192.168.1.0 netmask 255.255.255.0 {
>     use-host-decl-names      on;
>     option log-servers       192.168.1.100;
> host quiet {
>    hardware ethernet    44:4d:50:80:92:a7;
>    fixed-address        192.168.1.102;
>    option routers      192.168.1.100;
>    filename             "/pxegrub";
> }
> }
> 

Yes, a combination of the "dhcp-option" and "dhcp-boot" configuration 
flags will do everything in that configuration. The man page has details.

Cheers,

Simon.