Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 21 December 2024, 04:07:31 pm

Login with username, password and session length

Download the latest community FREE version  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  upgrade dhcpd in order to use new features
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: upgrade dhcpd in order to use new features  (Read 10021 times)
StahlHelm
Jr. Member
*
Offline Offline

Posts: 3


« 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.
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #1 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

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.
Logged
StahlHelm
Jr. Member
*
Offline Offline

Posts: 3


« Reply #2 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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.078 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com