Re: NM utils in Python?

2011-06-22 Thread Daenyth Blank
On Wed, Jun 22, 2011 at 08:38, Vratislav Podzimek vpodz...@redhat.com wrote: On Wed, 2011-06-22 at 10:52 +0300, Alex Pyattaev wrote: You can use any C function in python natively with CDLL module. No need for rewriting anything.  Hope it helps. Thanks, that's great! There's also this:

Re: Is it possible that a command line interface to the network-manager functionality could be added?

2010-11-03 Thread Daenyth Blank
On Wed, Nov 3, 2010 at 12:43, Tassilo Horn tass...@member.fsf.org wrote: Andrey Borzenkov arvidj...@gmail.com writes: Hi Andrey, I once looked at nmcli, but I couldn't figure out how to use it.  To be more specific, how do I tell it to connect to the WIFI with SSID foo using WPA2 with user

Re: NEWS entries / Announcement mails

2010-08-06 Thread Daenyth Blank
On Fri, Aug 6, 2010 at 11:52, Dominique Leuenberger dominique.leuenber...@tmf-group.com wrote: Hi everybody, I know you're all busy coding and enhancing NM, which is a good thing per se. Yet I would like to ask if anybody could once in a while spend some time extending the NEWS file or create

Re: NEWS entries / Announcement mails

2010-08-06 Thread Daenyth Blank
On Fri, Aug 6, 2010 at 12:56, Dominique Leuenberger dominique.leuenber...@tmf-group.com wrote: On 08/06/2010 at 6:44 PM, Daenyth Blank daen...@gmail.com wrote: On Fri, Aug 6, 2010 at 11:52, Dominique Leuenberger dominique.leuenber...@tmf-group.com wrote: Hi everybody, I know you're all busy

Re: Pre Configuring a Device to Connect to a network

2010-08-04 Thread Daenyth Blank
On Wed, Aug 4, 2010 at 10:16, Pramod Chakrapani pramod1...@gmail.com wrote: Hi, I wanted to know if there is a way to pre-configure gnome-network-manager to connect to a wireless network. i.e., The customer has his wifi essid and its password. I will have configure the device to connect to

Re: Re-scanning for available devices/connections after failure

2010-07-28 Thread Daenyth Blank
On Thu, Jul 22, 2010 at 17:34, Daenyth Blank daen...@gmail.com wrote: On Thu, Jul 22, 2010 at 19:20, Dan Williams d...@redhat.com wrote: That is, well, unfortunate...  Sierra firmware is usually top-notch so I'd consider firmware crashes to be less of an issue here than with say Huawei or ZTE

Re: Re-scanning for available devices/connections after failure

2010-07-22 Thread Daenyth Blank
On Thu, Jul 22, 2010 at 19:20, Dan Williams d...@redhat.com wrote: That is, well, unfortunate...  Sierra firmware is usually top-notch so I'd consider firmware crashes to be less of an issue here than with say Huawei or ZTE devices.  But they still could be an issue.  If there's any way we can

Re: Re-scanning for available devices/connections after failure

2010-07-21 Thread Daenyth Blank
On Thu, Jul 15, 2010 at 17:16, Dan Williams d...@redhat.com wrote: And there were /dev/ttyUSBx ports for the device?  If you can get it into that state again, do this: 1) mv /usr/sbin/modem-manager / 2) killall -TERM modem-manager 3) /modem-manager --debug and see what MM says.  When

Re: Get uuid of connection

2010-07-19 Thread Daenyth Blank
On Mon, Jul 19, 2010 at 09:11, Arlen Nascimento arlen.nascime...@gmail.com wrote: Ok, but the thing is: i need to setup and run a connection without the user intervention In that case you need to create a new connection with the options you want. ___

Re: Re-scanning for available devices/connections after failure

2010-07-15 Thread Daenyth Blank
On Wed, Jul 14, 2010 at 20:58, Dan Williams d...@redhat.com wrote: So here's the thing; we don't actually have good enough logic to retry connections when they fail, because for the longest time we didn't have enough information about *why* connections failed to determine whether it was

Re: Re-scanning for available devices/connections after failure

2010-07-15 Thread Daenyth Blank
On Thu, Jul 15, 2010 at 16:45, Dan Williams d...@redhat.com wrote: For 3G devices this could be a number of things.  If the device simply isn't seen by NM, that means that ModemManager didn't successfully probe the device.  So we need to look for it there. This sounds like the case some of the

Re: Configure connection via command line [SOLVED]

2010-07-15 Thread Daenyth Blank
On Thu, Jul 15, 2010 at 12:51, Arlen Nascimento arlen.nascime...@gmail.com wrote: Well, i have just solved my problem. What I was trying to do was to connect to a wireless network using network manager without typing the wep/wpa key. I did this using one bash script and a few python commands

Re: Managing a connection using D-Bus API

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

Re: Re-scanning for available devices/connections after failure

2010-07-09 Thread Daenyth Blank
On Fri, Jul 9, 2010 at 03:38, Jirka Klimes jkli...@redhat.com wrote: On Friday 02 of July 2010 22:01:53 Daenyth Blank wrote: I have the logs from another machine that had a similar issue today. http://gist.github.com/461838 Could you grab some debugging information as described here to find

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 o...@pardus.org.tr 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

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 o...@pardus.org.tr 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

Re-scanning for available devices/connections after failure

2010-07-02 Thread Daenyth Blank
Hi all, I came to the list earlier asking what card would be the best for a remote deployment and ended up following your suggestion of the Sierra 598U, and I'm having a small issue with the card sometimes. Yesterday one of the deployed machines went offline and didn't reconnect until rebooted.

Re: Re-scanning for available devices/connections after failure

2010-07-02 Thread Daenyth Blank
I have the logs from another machine that had a similar issue today. http://gist.github.com/461838 On Fri, Jul 2, 2010 at 14:02, Daenyth Blank daen...@gmail.com wrote: Hi all, I came to the list earlier asking what card would be the best for a remote deployment and ended up following your

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 o...@pardus.org.tr wrote: Hi, I'm

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 o...@pardus.org.tr 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

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 o...@pardus.org.tr wrote: On 01.07.2010 23:55, Daenyth Blank wrote: On Thu, Jul 1, 2010 at 16:26, Ozan Çağlayan o...@pardus.org.tr 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

Re:

2010-06-29 Thread Daenyth Blank
Hi, I have a tool that can be used to do that among other things. It's a bit rough and still a work in progress, but activation works fine. By the way, what page are you referring to that lists the python apis? My tool is here: http://github.com/tweakt/python-networkmanager On Tue, Jun 29, 2010

Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-04 Thread Daenyth Blank
On Fri, Jun 4, 2010 at 01:01, John Mahoney jmaho...@waav.com wrote: I'm looking into the 598 now, and I'm having a little trouble getting NM to recognize it. I plug in the device and I can see by using dmesg that the sierra driver gets loaded, but when I run nm-connection-editor and try to

Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-03 Thread Daenyth Blank
On Thu, Jun 3, 2010 at 11:19, Dan Williams d...@redhat.com wrote: On Wed, 2010-06-02 at 12:54 -0400, Daenyth Blank wrote: On Wed, Jun 2, 2010 at 08:12, Daenyth Blank daen...@gmail.com wrote: On Wed, Jun 2, 2010 at 03:16, Dan Williams d...@redhat.com wrote: On Thu, 2010-05-27 at 12:04 -0400

Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-03 Thread Daenyth Blank
On Thu, Jun 3, 2010 at 11:27, Daenyth Blank daen...@gmail.com wrote: On Thu, Jun 3, 2010 at 11:19, Dan Williams d...@redhat.com wrote: On Wed, 2010-06-02 at 12:54 -0400, Daenyth Blank wrote: On Wed, Jun 2, 2010 at 08:12, Daenyth Blank daen...@gmail.com wrote: On Wed, Jun 2, 2010 at 03:16, Dan

Looking for advice about using NM with a Sprint U301 modem

2010-06-02 Thread Daenyth Blank
Hi all, I'm trying to find out some information regarding the Sprint U301 3G modem. Our use case for it is that it will be attached to an embedded machine running ubuntu with networkmanager, in addition to our software. I've been trying to get this modem to connect reliably and am having some

Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-02 Thread Daenyth Blank
On Wed, Jun 2, 2010 at 08:12, Daenyth Blank daen...@gmail.com wrote: On Wed, Jun 2, 2010 at 03:16, Dan Williams d...@redhat.com wrote: On Thu, 2010-05-27 at 12:04 -0400, Daenyth Blank wrote: Hi all, I'm trying to find out some information regarding the Sprint U301 3G modem. Our use case

Looking for advice about using NM with a Sprint U301 modem

2010-05-27 Thread Daenyth Blank
Hi all, I'm trying to find out some information regarding the Sprint U301 3G modem. Our use case for it is that it will be attached to an embedded machine running ubuntu with networkmanager, in addition to our software. I've been trying to get this modem to connect reliably and am having some