Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173280 - net-misc/dhcpcd-3.0.16 fails
Summary: net-misc/dhcpcd-3.0.16 fails
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 20:25 UTC by Martin Gramatke
Modified: 2007-04-06 15:58 UTC (History)
1 user (show)

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 Martin Gramatke 2007-04-03 20:25:31 UTC
I upgraded net-misc/dhcpcd-2.0.5-r1 to -3.0.16 today. Suddenly may wlan stopped working (atheros/madwifi/wrt54g wlan router). Reboot didn't help. So I went back to 2.0.5 and everything is fine again. Please advice me if you need more details.

Reproducible: Always
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-04-04 06:31:13 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
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-04-04 09:44:21 UTC
Also, please test using the -l option to specify a leasetime.
Comment 3 Martin Gramatke 2007-04-04 20:03:12 UTC
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.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-04-04 20:24:05 UTC
(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 :)
Comment 5 Christian Tanzer 2007-04-06 15:58:04 UTC
A warning during upgrade would have been nice.