I need to specify IP address to use, the standard command is dhcpcd -s xxx.xxx.xxx.xxx and this works, but only with dhcpcd 2.0.5-r1 (or older?). After updating to dhcpcd >= 3.0.16, i must specify interface (this is eth0) and when i use a command dhcpcd eth0 -s xxx.xxx.xxx.xxx the result is Error, eth0: timed out. This is a very annoying bug, so i've masked problematic dhcpcd packages and now i would like to know what's wrong with newest dhcpcd. Reproducible: Always Steps to Reproduce: 1. Upgrade dhcpcd to >= 3.0.16 2. if your dhcpcd is running, stop it 3. /sbin/dhcpcd eth0 -s xxx.xxx.xxx.xxx (xxx* == your requested ip address) Actual Results: Error, eth0: timed out Expected Results: It should sucessfully send ARP request and assign new IP address for my system to interface eth0. -I have only one network card. -Problem should be well reproducable -Gentoo 2006.1 with kernel 2.6.21.1
This is because dhcpcd-3.0 used DHCP_REQUEST for the IP address specified whereas dhcpcd-3.1 (not yet released) will use DHCP_INFORM like the older dhcp versions, but instead do it properly this time. You can try out a pre-release tarball from here http://dev.gentoo.org/~uberlord/dhcpcd-3.1.0_pre1.tar.bz2
Thank you Roy, 3.1.0_pre1 works fine.