Bug 143329 - tell dhcpcd to renew lease on interface
Summary: tell dhcpcd to renew lease on interface
Status: VERIFIED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Alpha 4
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Christian Zoz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-16 10:30 UTC by Ludwig Nussel
Modified: 2007-06-05 09:37 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch for ifup (1.55 KB, patch)
2006-01-16 10:30 UTC, Ludwig Nussel
Details | Diff
another try. this time kill dhcpcd and then use regular start path to start it again. (1.51 KB, patch)
2006-01-16 17:14 UTC, Ludwig Nussel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.