According to the man file the n argument:
"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 normal startup
procedure."
You could remove the entry in the dhcp.leases and restart dhcpd. I have tried this and there is only an extremely small break in communication with other systems. I only use this method if the method used by sonofepson doesn't work.
hey i am trying to find dhcp.leases and cant find it. I did find dhcpcd-eth0.info though and this is what it has:
is it the same as dhcp.leases, and should i delete it to try your suggestion (I am using mandrake)
If you want to try to get a new IP address then use: dhcpcd -k
This will send a SIGHUP to the currently running dhcpcd proccess, destroy the dhcpcd cache and send a DCHP_RELEASE to the dhcp server. There is still no guarantee that you will not get the same address again but it will request a new one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.