From mboxrd@z Thu Jan 1 00:00:00 1970 From: Don Gould Date: Mon, 31 Jul 2006 11:49:18 +0000 Subject: [LARTC] HOWTO: Hello New MAC / DHCP Request - How to spot the Message-Id: <44CDEE3E.3000606@bowenvale.co.nz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Sheldon Hearn wrote: > I'm sure you could engineer something really impressive, but you could > probably get away with a lot less effort by simply tailing whatever > dhcpd logs to (possibly /var/log/messages). Yes, that discussion has been had some where... Some research in to dnsmasq and a few emails to the guy who wrote it showed up the answer... > You may not need to make any source changes at all: dnsmasq will call a custom script whenever a DHCP lease is created or destroyed: see the --dhcp-script flag in the manpage for details. The MAC address and IP address and name of the host are passed to the script. -- Don Gould www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz - www.bowenvale.co.nz - www.hearingbooks.co.nz - SkypeMe: ThinkDesignPrint _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc