Bugzilla – Bug 143329
tell dhcpcd to renew lease on interface
Last modified: 2007-06-05 09:37:46 UTC
While browsing smpppd code I noticed the ugly smpppd-dhcp hack that blindly kills and starts a dhcpcd with fixed options on an interface after setting a new essid. What about integrating renewing a lease into ifup instead? One just needs to send SIGALRM to dhcpcd resp do nothing if the interface has a static ip. The attached quick hack works for me after symlinking ifrenew -> ifup and ifrenew-dhcp -> ifup-dhcp.
Created attachment 63404 [details] patch for ifup
Created attachment 63500 [details] another try. this time kill dhcpcd and then use regular start path to start it again.
I added it to sysconfig package. Please check it properly. (Stefan, sorry if you did duplicate work today. I was very busy and did not manage it properly. Please also have a look at this patch). This still needs documentation.
thanks Stefan for the manpage patch. is in svn. since smpppd does now use ifrenew, we can close this bug.