Re: NetworkManager 0.8.6 doesn't reply to ActivateConnection



On 25 Jan 2012, at 22:02, Dan Williams wrote:
> On Mon, 2012-01-23 at 15:27 -0600, Dan Williams wrote:
>> On Thu, 2012-01-19 at 19:35 +0000, David Röthlisberger wrote:
>>> NetworkManager doesn't reply to the method call
>>> org.freedesktop.NetworkManager.ActivateConnection.
>>> 
>>> I can consistently reproduce this behaviour by:
>>> * killing NM, 
>>> * removing any "no-auto-default" entry in NetworkManager.conf,
>>> * removing everything in the system-connections directory; then
>>> * starting NM
>>> * and sending NM a series of method calls culminating in ActivateConnection. 
>> 
>> I can reproduce this with a small python program.  Clearly a bug, fixing
>> it now.
> 
> The issue here is that, because it was simpler, the "default wired
> connection" actually changes it's object path when it's updated.

Thanks for the analysis. In the meantime we can work around this in our
client by creating a new connection rather than using the existing one.
How do we tell whether a Connection is the default one? By checking that
GetSettings()["connection"]["id"] is something like "Auto eth0"?

Cheers,
David Röthlisberger.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]