Summary: | net-misc/dhcpcd-3.0.16 fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Gramatke <xmit> |
Component: | Current packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | tanzer |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Gramatke
2007-04-03 20:25:31 UTC
Please add -d to your dhcpcd options and provide a log file of it failing along with your emerge --info output. Attach both to the bug. If you can capture wireshark traces of dhcpcd-2.0.5 and 3.0.16 as well it would be helpful too. Thanks Also, please test using the -l option to specify a leasetime. Roy, thank you for the -d hint. So it turned out that I used the -D in /etc/conf.d/net. But this options is obviously no longer supported: #/sbin/dhcpcd -h lab5 -DH -N -t 10 -m 2000 ath0 -l 100 -d /sbin/dhcpcd: invalid option -- D The manpage of 2.0.5 says: -D Forces dhcpcd to set domainname of the host to the domainname option supplied by DHCP server. But 3.0.16 fails with this option. I can live without it, but wonder why they removed this option while -H is still present. Anyway, thanks and please close this report. (In reply to comment #3) > Roy, thank you for the -d hint. So it turned out that I used the -D in > I can live without it, but wonder why they removed this option while -H is > still present. Ah easy one. Setting the dns domain name is done via /etc/resolv.conf only and the existing implementation was buggy. With dhcpcd-3 if you need to tweak resolv.conf then use a resolvconf manager like resolvconf-gentoo. -H is still valid :) A warning during upgrade would have been nice. |