lartc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LARTC] HOWTO: Hello New MAC / DHCP Request - How to spot the
@ 2006-07-31 11:49 Don Gould
  0 siblings, 0 replies; only message in thread
From: Don Gould @ 2006-07-31 11:49 UTC (permalink / raw)
  To: lartc



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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-31 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 11:49 [LARTC] HOWTO: Hello New MAC / DHCP Request - How to spot the Don Gould

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).