Gents

I cant find the file in /tmp/etc. Have I not configured something in rc.conf
or is there something else I have missed.

Thanks
Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Darrick
Hartman
Sent: Wednesday, 20 September 2006 11:56 PM
To: Discussion of AstLinux - Asterisk on Compact Flash
Subject: Re: [Astlinux-users] Using DHCPD


DUS Basalamah Harun wrote:
> hi,
>
> i used to use ISC dhcpd as well but was forced to switch to dnsmasq.
> once you've fiddled your way through it, it's very nice and versatile.
> dnsmasq is fully capable of providing whatever DHCP option you
> might need.
> see
> http://thekelleys.org.uk/dnsmasq/docs/
> for more info.
>
> cheers
> Harry
>
I'm adding some changes to trunk today or the following day to read a
static file from the keydisk to take care of this need.  I'm assuming
you want to assign static IP addresses via the MAC address?  dnsmasq is
more than capable of doing this.  Since there are so many options
available, it's better for you to create this static portion and have it
appended to the config file created by Astlinux at boot up rather than
try to account for every possible option in rc.conf.

If you want to temporarily test this, you can edit the dnsmasq.conf file
which resides at /tmp/etc/.  This file is created dynamically so it will
be deleted at boot.

To assign a static IP addresses to a host, add the following to your
/tmp/etc/dnsmasq.conf file

dhcp-host=00:04:f2:81:d8:25,192.168.28.222,Computer1
dhcp-host=00:40:01:25:88:ff,192.168.28.10,PrinterServer
dhcp-host=MACADDRESS,IPADDRESS,hostname

There are several other options that can be passed to dnsmasq.
Following the link that Harry pointed out will help.  The docs are
actually quite good.

Darrick

--
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to