Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179923 - >=net-misc/dhcpcd-3.0.16 - dhcpcd -s timed out
Summary: >=net-misc/dhcpcd-3.0.16 - dhcpcd -s timed out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-26 21:16 UTC by Marek Cruz
Modified: 2007-05-27 16:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Cruz 2007-05-26 21:16:11 UTC
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
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-05-27 13:30:09 UTC
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
Comment 2 Marek Cruz 2007-05-27 16:15:40 UTC
Thank you Roy, 3.1.0_pre1 works fine.