Bug 143329

Summary: tell dhcpcd to renew lease on interface
Product: [openSUSE] SUSE Linux 10.1 Reporter: Ludwig Nussel <lnussel>
Component: NetworkAssignee: Christian Zoz <zoz>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None    
Version: Alpha 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: patch for ifup
another try. this time kill dhcpcd and then use regular start path to start it again.

Description Ludwig Nussel 2006-01-16 10:30:26 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.
Comment 1 Ludwig Nussel 2006-01-16 10:30:56 UTC
Created attachment 63404 [details]
patch for ifup
Comment 2 Ludwig Nussel 2006-01-16 17:14:36 UTC
Created attachment 63500 [details]
another try. this time kill dhcpcd and then use regular start path to start it again.
Comment 3 Christian Zoz 2006-01-16 21:25:53 UTC
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.
Comment 4 Christian Zoz 2006-01-17 14:44:06 UTC
thanks Stefan for the manpage patch. is in svn.

since smpppd does now use ifrenew, we can close this bug.