Re: Add new conntion with DBus API

2010-05-05 Thread Pablo Martí Gamboa
2010/5/5 Jirka Klimes > On Wednesday 05 of May 2010 11:28:11 Pablo Martí Gamboa wrote: > > On 5 May 2010 10:53, Jirka Klimes wrote: > > > On Thursday 06 of May 2010 07:39:07 Nguyen Canh Toan wrote: > > > > Hi all, > > > > > > > > > >

Re: Add new conntion with DBus API

2010-05-05 Thread Pablo Martí Gamboa
On 5 May 2010 10:53, Jirka Klimes wrote: > On Thursday 06 of May 2010 07:39:07 Nguyen Canh Toan wrote: > > Hi all, > > > > > > > > Currently, I have a purpose of programmatically add & remove connection > > configuration through DBus interface > > org.freedesktop.NetworkManagerSettings.Connection

Re: Add new conntion with DBus API

2010-05-05 Thread Pablo Martí Gamboa
On 6 May 2010 07:39, Nguyen Canh Toan wrote: > Hi all, > > > > Currently, I have a purpose of programmatically add & remove connection > configuration through DBus interface > org.freedesktop.NetworkManagerSettings.Connection. > > I found an API Delete() on > org.freedesktop.NetworkManagerSettin

Re: Confusing about DBus API specification

2010-04-27 Thread Pablo Martí Gamboa
2010/4/29 Nguyen Canh Toan > Hi all, > > > > After reading DBus API > http://projects.gnome.org/NetworkManager/developers/spec-07.html#org.freedesktop.NetworkManager > > I try to list all connection setting by below interface specification > > * * > > *org.freedesktop.NetworkManagerSettings* > >

Re: USSD interface for ModemManager

2010-03-10 Thread Pablo Martí Gamboa
2010/3/10 Pablo Martí Gamboa > > > 2010/3/10 Dan Williams > > On Tue, 2010-03-09 at 17:34 -0800, Dan Williams wrote: >> > On Tue, 2010-03-09 at 13:45 +0100, Pablo Martí Gamboa wrote: >> > > Hi Dan, Marcel and others, >> > > >> > > &g

Re: USSD interface for ModemManager

2010-03-09 Thread Pablo Martí Gamboa
2010/3/10 Dan Williams > On Tue, 2010-03-09 at 17:34 -0800, Dan Williams wrote: > > On Tue, 2010-03-09 at 13:45 +0100, Pablo Martí Gamboa wrote: > > > Hi Dan, Marcel and others, > > > > > > > > > we would like to extend the ModemManager API so that it

USSD interface for ModemManager

2010-03-09 Thread Pablo Martí Gamboa
Hi Dan, Marcel and others, we would like to extend the ModemManager API so that it can handle USSD commands. The USSD API of oFono [0] looks quite nice IMHO and I'd like to propose a similar API: USSD Interface === Service org.freedesktop.ModemManager Interface org.freedeskto

Re: ModemManager location APIs

2010-03-08 Thread Pablo Martí Gamboa
2010/3/6 Dan Williams > Hi Pablo and others, > > I pushed up a proposal for a location information API to MM git. If you > have a bit of time would you mind taking a look at it? Any suggestions > would be most welcome. The bits about security do make things a bit > more complicated, but I deci

Re: [ANN] NetworkManager 0.8 released

2010-03-02 Thread Pablo Martí Gamboa
On 2 March 2010 09:03, Dan Williams wrote: > Hello everyone, > > After somewhat more than a year in development, I'm happy to announce > the release of NetworkManager 0.8 and it's associated components, > network-manager-applet, the four VPN daemons, and ModemManager 0.3. > > We spent the past ye

Re: Problem with Simple.Connect

2010-02-11 Thread Pablo Martí Gamboa
2009/12/2 Dan Williams > On Wed, 2009-12-02 at 12:36 +0100, Pablo Martí Gamboa wrote: > > > > > > Any progress on this front? :) > > Yes. I'm finishing up the modem states changes (an internal > implementation detail of MM) at which point I'll be applyin

Re: Problem with Simple.Connect

2009-12-02 Thread Pablo Martí Gamboa
2009/11/2 Dan Williams > On Thu, 2009-10-29 at 15:01 +0100, Pablo Martí Gamboa wrote: > > > > > > 2009/10/26 Dan Williams > > > > On Mon, 2009-10-26 at 13:36 +0100, Pablo Martí Gamboa wrote: > > > > > > > Als

Re: [PATCH] mbm plugin: send enap=0 on disable

2009-11-23 Thread Pablo Martí Gamboa
2009/11/20 Dan Williams > > > On that note Pablo, would you mind if I added an "Enabled" (type bool) > property to the org.freedesktop.ModemManager.Modem interface to indicate > the current enablement state? > Not at all, it is required indeed! > > The reason I want to do this is because in the

Re: [PATCH] mbm plugin: send enap=0 on disable

2009-11-20 Thread Pablo Martí Gamboa
2009/11/20 Torgny Johansson > Hi! > > This patch makes the mbm plugin send at*enap=0 when disable is called. > > Currently enap=0 is only sent when disconnect is called which I don't see > happening. That causes enap to stay > connected even if the user selects disconnect from nm-applet. > > I'm

Re: Problem with Simple.Connect

2009-10-29 Thread Pablo Martí Gamboa
2009/10/26 Dan Williams > On Mon, 2009-10-26 at 13:36 +0100, Pablo Martí Gamboa wrote: > > > Also I'm having reliability problems with PPP devices and > > Simple.Connect, first attempt will work (most of the time) but the > > second will never. > > That may

Re: Problem with Simple.Connect

2009-10-27 Thread Pablo Martí Gamboa
2009/10/26 Dan Williams > On Mon, 2009-10-26 at 13:36 +0100, Pablo Martí Gamboa wrote: > > > > > > 2009/10/26 Pablo Martí Gamboa > > > > > > 2009/10/9 Dan Williams > > > > On Thu, 2009-10-08 at 10:33

Re: Problem with Simple.Connect

2009-10-26 Thread Pablo Martí Gamboa
2009/10/26 Pablo Martí Gamboa > > > 2009/10/9 Dan Williams > >> On Thu, 2009-10-08 at 10:33 +0200, Pablo Martí Gamboa wrote: >> > >> > >> > I forgot to mention that when I press "Disconnect" from nm-applet, >> > that just issu

Re: Problem with Simple.Connect

2009-10-26 Thread Pablo Martí Gamboa
2009/10/26 Pablo Martí Gamboa > > > 2009/10/9 Dan Williams > >> On Thu, 2009-10-08 at 10:33 +0200, Pablo Martí Gamboa wrote: >> > >> > >> > I forgot to mention that when I press "Disconnect" from nm-applet, >> > that just issu

Re: Problem with Simple.Connect

2009-10-26 Thread Pablo Martí Gamboa
2009/10/9 Dan Williams > On Thu, 2009-10-08 at 10:33 +0200, Pablo Martí Gamboa wrote: > > > > > > I forgot to mention that when I press "Disconnect" from nm-applet, > > that just issues an "Enable(false)" to the device rather than > > "D

Re: Please, document byte order in org.freedesktop.NetworkManager.IP4Config

2009-10-22 Thread Pablo Martí Gamboa
2009/10/22 Pablo Martí Gamboa > > > 2009/10/22 Andrey Batyiev > >> Hello everyone >> >> Am I right, that every IP address in >> org.freedesktop.NetworkManager.IP4Config >> is in network byte order? Could you explicitly document this behaviour,

Re: Please, document byte order in org.freedesktop.NetworkManager.IP4Config

2009-10-22 Thread Pablo Martí Gamboa
2009/10/22 Andrey Batyiev > Hello everyone > > Am I right, that every IP address in > org.freedesktop.NetworkManager.IP4Config > is in network byte order? Could you explicitly document this behaviour, > please? > implementation in Python: import sockket def convert_ip_to_int(ip): """ Co

Re: Problem with Simple.Connect

2009-10-14 Thread Pablo Martí Gamboa
2009/10/14 Pablo Martí Gamboa > > > 2009/10/13 Dan Williams > >> On Fri, 2009-10-09 at 10:00 +0200, Pablo Martí Gamboa wrote: >> > >> > >> > The puzzling thing is that the very first time it will connect no >> > problem, it is the second a

Re: Problem with Simple.Connect

2009-10-14 Thread Pablo Martí Gamboa
2009/10/13 Dan Williams > On Fri, 2009-10-09 at 10:00 +0200, Pablo Martí Gamboa wrote: > > > > > > The puzzling thing is that the very first time it will connect no > > problem, it is the second and third attempts that fail. Nothing in the > > wader log indicates

Re: Problem with Simple.Connect

2009-10-09 Thread Pablo Martí Gamboa
2009/10/9 Dan Williams > On Thu, 2009-10-08 at 10:33 +0200, Pablo Martí Gamboa wrote: > > > > > > 2009/10/8 Pablo Martí Gamboa > > > > > > 2009/10/7 Dan Williams > > > > On Tue, 2009-10-06 at 12:43

Re: Problem with Simple.Connect

2009-10-09 Thread Pablo Martí Gamboa
2009/10/9 Dan Williams > On Thu, 2009-10-08 at 09:02 +0200, Pablo Martí Gamboa wrote: > > > > > > 2009/10/7 Dan Williams > > On Tue, 2009-10-06 at 12:43 +0200, Pablo Martí Gamboa wrote: > > > Hi all, > > > > &g

Re: Problem with Simple.Connect

2009-10-08 Thread Pablo Martí Gamboa
2009/10/8 Pablo Martí Gamboa > > > 2009/10/7 Dan Williams > >> On Tue, 2009-10-06 at 12:43 +0200, Pablo Martí Gamboa wrote: >> > Hi all, >> > >> > I'm getting a unreliable behavior with Simple.Connect, the first call >> > will succeed

Re: Problem with Simple.Connect

2009-10-08 Thread Pablo Martí Gamboa
2009/10/7 Dan Williams > On Tue, 2009-10-06 at 12:43 +0200, Pablo Martí Gamboa wrote: > > Hi all, > > > > I'm getting a unreliable behavior with Simple.Connect, the first call > > will succeed, but further calls won't. > > > > > > Going thro

Problem with Simple.Connect

2009-10-06 Thread Pablo Martí Gamboa
Hi all, I'm getting a unreliable behavior with Simple.Connect, the first call will succeed, but further calls won't. Going through the logs with Tambet, we have noticed that there is something weird going on with IPv6 code: ( http://pastebin.ca/1597233 ) Oct 6 10:26:43 lenovo NetworkManager:

Re: [Patch] Export NM version over dbus

2009-09-17 Thread Pablo Martí Gamboa
2009/9/14 Tambet Ingo > Hey, > > Attached patch exports the NetworkManager version over DBus. > Currently, it's probably mostly needed to determine whether the NM > daemon is 0.7 or 0.8, so if this new property isn't implemented, it's > < 0.8. > Is this going to be added ? It would be *really* i

Small typo

2009-06-02 Thread Pablo Martí Gamboa
-- Pablo Martí http://www.linkedin.com/in/pmarti || http://www.warp.es python -c "print '706d6172746940776172702e6573'.decode('hex')" From 8ac84955c27217364f6111e8d6aef346f21cdf8b Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Pablo=20Mart=C3=AD?= Date: Tue, 2 Jun 2009 14:32:17 +0200 Subject: [PATCH] F

Re: Bug in src/nm-gsm-device.c

2009-05-21 Thread Pablo Martí Gamboa
2009/5/21 Dan Williams > On Thu, 2009-05-21 at 09:15 +0200, Pablo Martí Gamboa wrote: > > > > > > 2009/5/21 Dan Williams > > On Wed, 2009-05-20 at 10:23 +0200, Pablo Martí Gamboa wrote: > > > Hi all, > > > > > &

Re: Bug in src/nm-gsm-device.c

2009-05-21 Thread Pablo Martí Gamboa
2009/5/21 Dan Williams > On Wed, 2009-05-20 at 10:23 +0200, Pablo Martí Gamboa wrote: > > Hi all, > > > > I've just been bitten by a small bug in src/nm-gsm-device.c +443: > > > > const char *responses[] = { "+CREG: 0,0", "+CREG: 0,1

Bug in src/nm-gsm-device.c

2009-05-20 Thread Pablo Martí Gamboa
Hi all, I've just been bitten by a small bug in src/nm-gsm-device.c +443: const char *responses[] = { "+CREG: 0,0", "+CREG: 0,1", "+CREG: 0,2", "+CREG: 0,3", "+CREG: 0,5", NULL }; If an external implementation has send '+CREG=1' those terminators won't work. I think that you should just check t

Re: Moving ppp-manager into ModemManager

2009-05-08 Thread Pablo Martí Gamboa
2009/5/8 Marcel Holtmann > Hi Pablo, Hi Marcel, > > > > what do you guys think about moving the ppp-manager part from > > NetworkManager into ModemManager? > > > > What is the actual reason why ModemManager doesn't handle the > > PPP part > > of a data

Re: Moving ppp-manager into ModemManager

2009-05-08 Thread Pablo Martí Gamboa
2009/5/8 Marcel Holtmann > Hi guys, > > what do you guys think about moving the ppp-manager part from > NetworkManager into ModemManager? > > What is the actual reason why ModemManager doesn't handle the PPP part > of a data connection? Because NetworkManager also happens to support pppoe and f

Re: Diskless clients and NetworkManager

2009-05-05 Thread Pablo Martí Gamboa
have to talk individually to > each connection manager for anything more sophisticated. > > There's a lot more to the problem than online/offline. Just talking > about online/offline is hacking around the immediate problem without > making the system as a whole better for the users

Re: Diskless clients and NetworkManager

2009-04-30 Thread Pablo Martí Gamboa
2009/4/30 Dan Williams > On Thu, 2009-04-30 at 14:06 +0100, Marc Herbert wrote: > > David Sundqvist a écrit : > > > > > If I set it to be managed by NM, will NM try to manage it in any way? > > > Can I set it to be seen, but still unmanaged? Or maybe I could get NM > > > to always output a connec

Re: Diskless clients and NetworkManager

2009-04-30 Thread Pablo Martí Gamboa
2009/4/30 Marc Herbert > David Sundqvist a écrit : > > > If I set it to be managed by NM, will NM try to manage it in any way? > > Can I set it to be seen, but still unmanaged? Or maybe I could get NM > > to always output a connected status instead of a no-connection which > > triggers firefox of

Re: APN list: adding mcc & mnc

2009-04-15 Thread Pablo Martí Gamboa
2009/4/15 Dan Williams > On Tue, 2009-04-14 at 15:05 +0200, Martijn Cox (LiveContacts) wrote: > > Hello all, > > > > > > > > I’ve sent the following email to Wellark, the maintainer of the Mobile > > Broadband Provider Info project, a few weeks ago, outlining a way to > > include mobile country c

Re: APN list: adding mcc & mnc

2009-04-15 Thread Pablo Martí Gamboa
2009/4/14 Martijn Cox (LiveContacts) > Hello all, > > > > I’ve sent the following email to Wellark, the maintainer of the Mobile > Broadband Provider Info project, a few weeks ago, outlining a way to include > mobile country codes and mobile network codes in the MBPI project. In the > meantime,

Some SMS API suggestions for ModemManager

2009-01-20 Thread Pablo Martí Gamboa
Hi all, I've got a couple of suggestions for the MM API regarding SMS: - org.freedesktop.ModemManager.Modem.Gsm.Sms.Send/Save: * Change in_signature from 'ss', to 'a{sv}': The current API, albeit simple, is not powerful enough for some scenarios. You cannot specify SMSC, validity, message cla

Re: NM using Option card

2008-02-08 Thread Pablo Martí Gamboa
of mobiles. But this 22 devices are pretty much whats available right now in most EMEA shops. Current VMC core is too heavyweight yes, we're working on that. Once the refactoring is done, vmc-core will be a lean package that will just depend on python, python-twisted-core and python-dbus. St