EFW Support

Support => General Support => Topic started by: StahlHelm on Monday 09 August 2010, 06:01:26 pm



Title: upgrade dhcpd in order to use new features
Post by: StahlHelm on Monday 09 August 2010, 06:01:26 pm
I was looking around for a solution that executes an external script whenever a DHCP request is acknowledged. I thought I've found a solution using
Code:
on commit {execute ("/tmp/some_perl_script.pl", some_parameter ); }
but learned, that this is only implemented in dhcpd v3.1+ wheras efw 2.4.0 is using v3.0.5. Has anyone upgraded the dhcpd to v3.1? I know executing scripts on special events could be achieved by going through the logs but I wanted to let dhcpd do the little extra work...

Thanks,

StahlHelm.


Title: Re: upgrade dhcpd in order to use new features
Post by: mrkroket on Tuesday 10 August 2010, 02:00:12 am
I tried to upgrade to dhcp v4.2.0. Installs fine but I haven't tested it, so first use it only on a test machine.

http://www.megaupload.com/?d=Z1WGS8H8 (http://www.megaupload.com/?d=Z1WGS8H8)

Download it and install it with rpm -Uvh dhcp-4.2.0-7.endian7.i386.rpm
Reboot and check if it works. If not, report me any problem to see what could be the problem.


Title: Re: upgrade dhcpd in order to use new features
Post by: StahlHelm on Tuesday 10 August 2010, 05:03:58 am
installed it on a noncritical machine. Seems to work for now (the log says that the script got called). If I see any errors I'll post it here. Thanks a lot!

StahlHelm.