Hi Michael,<br><br>NM does not work with dhcpcd v3 (dhcpcd=1:3.2.3-8)<br>--------------------<br>NetworkManager[3399]: <warn> invalid connection: 'NMSettingConnection' / 'id' invalid: 1<br>/sbin/dhcpcd-bin: invalid option -- 'B'<br>
usage: dhcpcd [-adknpEGHMNRSTY] [-c script] [-h hostname] [-i classID]<br> [-l leasetime] [-m metric] [-r ipaddress] [-s ipaddress]<br> [-t timeout] [-u userclass] [-F none | ptr | both]<br> [-I clientID] [-P pidfile] <interface><br>
NetworkManager[3399]: <info> (eth2): DHCPv4 client pid 3402 exited with status 1<br>--------------------<br><br>NM work fine with dhcpcd v5 (dhcpcd5=5.2.11-1) if "/etc/init.d/dhcpcd" daemon is NOT running.<br>
<br>Otherwise NM never get IP:<br>--------------------<br>NetworkManager[3292]: <info> Activation (ath3) Beginning DHCPv4 transaction (timeout in 45 seconds)<br>dhcpcd[3297]: sending commands to master dhcpcd process<br>
NetworkManager[3292]: <info> dhcpcd started with pid 3297<br>NetworkManager[3292]: <info> Activation (ath3) Stage 3 of 5 (IP Configure Start) complete.<br>NetworkManager[3292]: <info> (ath3): DHCPv4 client pid 3297 exited with status 0<br>
--------------------<br><br>There is the nice summary of the problem in third paragraph of comment #10 here:<br><a href="http://bugs.gentoo.org/show_bug.cgi?id=345365#c10">http://bugs.gentoo.org/show_bug.cgi?id=345365#c10</a><br>
Comment #13 claim that issue is resolved:<br><a href="http://bugs.gentoo.org/show_bug.cgi?id=345365#c13">http://bugs.gentoo.org/show_bug.cgi?id=345365#c13</a><br>Not sure if it can be applicable to Debian. Look very Gentoo specific.<br>
<br>My workaround is just to delete "/etc/init.d/dhcpcd" from the system. Not exactly elegant solution but it work.<br><br>Cheers!<br>Viktor<br><br><div class="gmail_quote">On Fri, Mar 18, 2011 at 12:50 PM, Michael Biebl <span dir="ltr"><<a href="mailto:biebl@debian.org" target="_blank">biebl@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 10.03.2011 12:46, schrieb Viktor Malyarchuk:<br>
> Hi Michael,<br>
><br>
> yes this is the case. If I build NM on the system with Sid's dhcpcd5<br>
> installed, dhcpcd support is enabled. If build happens on dhcpcd-free<br>
> system, dhcpcd support is disabled by default but could be enabled by<br>
> "--with-dhcpcd=/sbin/dhcpcd".<br>
><br>
> Could you be so kind to enable NM's dhcpcd support by applying attached<br>
> patch? It is one-liner that add "--with-dhcpcd=/sbin/dhcpcd \" to<br>
> "debian/rules".<br>
<br>
Which version of dhcpcd do you use?<br>
<br>
According to <a href="http://configure.ac" target="_blank">configure.ac</a>, on v4 (and later, I guess) is fully supported:<br>
<br>
AC_ARG_WITH([dhcpcd], AS_HELP_STRING([--with-dhcpcd=yes|no|path], [Enable dhcpcd<br>
4.x support]))<br>
...<br>
AC_MSG_CHECKING(for dhcpcd)<br>
# We fully work with upstream dhcpcd-4<br>
for path in /sbin /usr/sbin /usr/pkg/sbin /usr/local/sbin; do<br>
test -x "${path}/dhcpcd" || continue<br>
case `"$path/dhcpcd" --version 2>/dev/null` in<br>
<br>
<br>
I'm wondering if this could cause problems, given that Debian ships both dhcpcd<br>
v3 and v5 and /sbin/dhcpcd is managed via alternatives.<br>
<br>
Cheers,<br>
Michael<br>
<font color="#888888"><br>
--<br>
Why is it that all of the instruments seeking intelligent life in the<br>
universe are pointed away from Earth?<br>
<br>
</font></blockquote></div><br>