Hi Michael,<br><br>NM does not work with dhcpcd v3 (dhcpcd=1:3.2.3-8)<br>--------------------<br>NetworkManager[3399]: &lt;warn&gt; invalid connection: &#39;NMSettingConnection&#39; / &#39;id&#39; invalid: 1<br>/sbin/dhcpcd-bin: invalid option -- &#39;B&#39;<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] &lt;interface&gt;<br>

NetworkManager[3399]: &lt;info&gt; (eth2): DHCPv4 client pid 3402 exited with status 1<br>--------------------<br><br>NM work fine with dhcpcd v5 (dhcpcd5=5.2.11-1) if &quot;/etc/init.d/dhcpcd&quot; daemon is NOT running.<br>
<br>Otherwise NM never get IP:<br>--------------------<br>NetworkManager[3292]: &lt;info&gt; Activation (ath3) Beginning DHCPv4 transaction (timeout in 45 seconds)<br>dhcpcd[3297]: sending commands to master dhcpcd process<br>
NetworkManager[3292]: &lt;info&gt; dhcpcd started with pid 3297<br>NetworkManager[3292]: &lt;info&gt; Activation (ath3) Stage 3 of 5 (IP Configure Start) complete.<br>NetworkManager[3292]: &lt;info&gt; (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 &quot;/etc/init.d/dhcpcd&quot; 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">&lt;<a href="mailto:biebl@debian.org" target="_blank">biebl@debian.org</a>&gt;</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>
&gt; Hi Michael,<br>
&gt;<br>
&gt; yes this is the case. If I build NM on the system with Sid&#39;s dhcpcd5<br>
&gt; installed, dhcpcd support is enabled. If build happens on dhcpcd-free<br>
&gt; system, dhcpcd support is disabled by default but could be enabled by<br>
&gt; &quot;--with-dhcpcd=/sbin/dhcpcd&quot;.<br>
&gt;<br>
&gt; Could you be so kind to enable NM&#39;s dhcpcd support by applying attached<br>
&gt; patch? It is one-liner that add &quot;--with-dhcpcd=/sbin/dhcpcd \&quot; to<br>
&gt; &quot;debian/rules&quot;.<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 &quot;${path}/dhcpcd&quot; || continue<br>
                        case `&quot;$path/dhcpcd&quot; --version 2&gt;/dev/null` in<br>
<br>
<br>
I&#39;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>