On Wed, Jul 14, 2010 at 20:49, Dan Williams <[email protected]> wrote:
> On Thu, 2010-07-01 at 15:56 +0300, Ozan Çağlayan wrote:
>> Hi,
>>
>> I'm writing a Python script which uses python-networkmanager for
>> communicating
>> with NetworkManager's D-Bus facilities.
>>
>> I want to disconnect an active connection. Using the nm-applet, we are not
>> forced to write a MAC address for a connection.
>>
>> Say that I want to disconnect the device eth0 AA:BB:CC:DD:EE:FF which is
>> currently connected to the connection with the ID "WiredConnection1".
>>
>> Since the connection doesn't have an hwaddress set, I can't match the
>> connection with the device. What I want to do is sth like that:
>>
> I've added a python example of that here:
>
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=72399bfa2cab6de881518b4b473c5b2a76f058b8
>
> Dan
Thanks! I'll add some more features to py-nm that handle that
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list