Bug 117500 - The dhcpcd -n switch doesn't appear to be working.
Summary: The dhcpcd -n switch doesn't appear to be working.
Status: VERIFIED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: RC 4
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Peter Poeml
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-16 17:15 UTC by Joe Harmon
Modified: 2008-05-22 18:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Harmon 2005-09-16 17:15:17 UTC
According to the man pages for dhcpcd, the dhcpcd -n switch is supposed to cause
a renewal of the dhcp connection.

-----
-n     Sends  SIGALRM  signal  to  the dhcpcd process that is currently
       running which forces dhcpcd to try to renew the lease. If dhcpcd
       is  not running, the flag is ignored and dhcpcd follows the nor‐
       mal startup procedure.
-----

What I did was I had my ethernet connection setup to pick up a dhcp address.
While eth0 was connected I opened a terminal and su - to root. I then ran dhcpcd
-n. After runnign the switch I ran ifdown eth0 and then ifup eth0. I received
the same IP address.
Comment 1 Peter Poeml 2005-09-19 10:57:18 UTC
That's normal. 

Renewing doesn't mean that the address changes.

It just means that the lease is "extended".