Bugzilla – Bug 117500
The dhcpcd -n switch doesn't appear to be working.
Last modified: 2008-05-22 18:19:09 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.
That's normal. Renewing doesn't mean that the address changes. It just means that the lease is "extended".