Re: Managing a connection using D-Bus API

2010-07-14 Thread Daenyth Blank
On Wed, Jul 14, 2010 at 20:49, Dan Williams 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. U

Re: Managing a connection using D-Bus API

2010-07-14 Thread Dan Williams
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 ad

Re: Managing a connection using D-Bus API

2010-07-08 Thread Daenyth Blank
On Thu, Jul 8, 2010 at 06:32, Ozan Çağlayan wrote: > Perşembe 01 Temmuz 2010 günü (saat 16:46:46) Daenyth Blank şunları yazmıştı: >> Can you post a link to your current code? I should be able to help you >> out or I can add something to the API if there's nothing workable >> right now. It is a lit

Re: Managing a connection using D-Bus API

2010-07-08 Thread Ozan Çağlayan
Perşembe 01 Temmuz 2010 günü (saat 16:46:46) Daenyth Blank şunları yazmıştı: > Can you post a link to your current code? I should be able to help you > out or I can add something to the API if there's nothing workable > right now. It is a little incomplete but should be able to get what > you want.

Re: Managing a connection using D-Bus API

2010-07-02 Thread Daenyth Blank
On Fri, Jul 2, 2010 at 03:19, Ozan Çağlayan wrote: > Oops the problem was during the activation of a given connection not > deactivation. For deactivation, we're doing exactly what you suggested. > > This is the code snippet I'm talking about. It'll give an error when > mac_address is None. > >  

Re: Managing a connection using D-Bus API

2010-07-02 Thread Ozan Çağlayan
Perşembe 01 Temmuz 2010 günü (saat 18:01:04) Giovanni Campagna şunları yazmıştı: > On Thu, Jul 1, 2010 at 2:56 PM, 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 di

Re: Managing a connection using D-Bus API

2010-07-01 Thread Sathia Narayanan
while all of you are at it I would like to point out that the nm-tool doesnt behave as expected. Seems like te detail_device() function code is all messed up. Can you suggest i can use any other function that does the same job that I can replace in nm-tool.c main function cal? -Sathia On Thu, Jul

Re: Managing a connection using D-Bus API

2010-07-01 Thread Daenyth Blank
On Thu, Jul 1, 2010 at 17:04, Ozan Çağlayan wrote: > On 01.07.2010 23:55, Daenyth Blank wrote: >> On Thu, Jul 1, 2010 at 16:26, Ozan Çağlayan wrote: >>> On 01.07.2010 16:46, Daenyth Blank wrote: Can you post a link to your current code? I should be able to help you out or I can add some

Re: Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
On 01.07.2010 23:55, Daenyth Blank wrote: > On Thu, Jul 1, 2010 at 16:26, Ozan Çağlayan wrote: >> On 01.07.2010 16:46, Daenyth Blank wrote: >>> Can you post a link to your current code? I should be able to help you >>> out or I can add something to the API if there's nothing workable >>> right now

Re: Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
On 01.07.2010 23:40, Giovanni Campagna wrote: > > I believe it could help users of some other distros too. Why not > developing togheter with other NM frontends (nmcli / nm-applet)? > In particular with regard to modifying connections, you should follow > closely, as they plan to change the way s

Re: Managing a connection using D-Bus API

2010-07-01 Thread Daenyth Blank
On Thu, Jul 1, 2010 at 16:26, Ozan Çağlayan wrote: > On 01.07.2010 16:46, Daenyth Blank wrote: >> Can you post a link to your current code? I should be able to help you >> out or I can add something to the API if there's nothing workable >> right now. It is a little incomplete but should be able t

Re: Managing a connection using D-Bus API

2010-07-01 Thread Giovanni Campagna
On Thu, Jul 1, 2010 at 10:26 PM, Ozan Çağlayan wrote: > On 01.07.2010 16:46, Daenyth Blank wrote: >> Can you post a link to your current code? I should be able to help you >> out or I can add something to the API if there's nothing workable >> right now. It is a little incomplete but should be abl

Re: Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
On 01.07.2010 16:46, Daenyth Blank wrote: > Can you post a link to your current code? I should be able to help you > out or I can add something to the API if there's nothing workable > right now. It is a little incomplete but should be able to get what > you want. http://svn.pardus.org.tr/uludag/t

Re: Managing a connection using D-Bus API

2010-07-01 Thread Giovanni Campagna
On Thu, Jul 1, 2010 at 2:56 PM, 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

Re: Managing a connection using D-Bus API

2010-07-01 Thread Daenyth Blank
Can you post a link to your current code? I should be able to help you out or I can add something to the API if there's nothing workable right now. It is a little incomplete but should be able to get what you want. On Thu, Jul 1, 2010 at 08:56, Ozan Çağlayan wrote: > Hi, > > I'm writing a Python

Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
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