Re: Documentation

2010-03-25 Thread Jirka Klimes
On Thursday 25 of March 2010 02:46:35 Bluesky_greenleaf wrote: > Dear Dan, > > I would like to write an application based on the NM D-BUS. I have taken a > look at the document of NM, the link is shown as follows: > > http://projects.gnome.org/NetworkManager/developers/spec-08.html > and > http:/

Re: Wireless

2010-03-19 Thread Jirka Klimes
On Friday 19 of March 2010 10:25:57 karan marjara wrote: > sorry i could not attach the messages file please find it now > > On Fri, Mar 19, 2010 at 2:53 PM, karan marjara wrote: > > Hi > > > > I am sending you both the files lspi and messages please check and > > help me out... > > > > Tha

Re: Wireless

2010-03-19 Thread Jirka Klimes
On Friday 19 of March 2010 07:39:15 karan marjara wrote: > Hi All, > > I am Karan and new to Linux. I am using Fedora 12 on my lenovo g550 laptop > wanted to run internet on Wireless. > > I have installed the wireless driver but I am not able to activate the > connection. Can you please help me i

Re: service network restart stops Network when network Manager is active.

2010-03-10 Thread Jirka Klimes
On Wednesday 10 of March 2010 06:31:14 Sergio Monteiro Basto wrote: > Hello, > I remember this problem some years ago ... > It more for curiosity. > > On Fedora 12 . > service network restart > > stop network and nm-appet , don't let me enable network. > > service NetworkManager restart > restor

Re: The logic behind user/system settings

2010-03-10 Thread Jirka Klimes
On Wednesday 10 of March 2010 10:37:10 Simon Geard wrote: > > If your distribution does not have a system settings plugin, you can use > > the 'keyfile' plugin which reads/writes connections in a .ini-style > > format in /etc/NetworkManager/system-connections. > > Out of curiosity, how do you set

Re: Fail to compile ModemManager

2010-03-09 Thread Jirka Klimes
On Tuesday 09 of March 2010 05:13:08 Nguyen Canh Toan wrote: > Hi, > > I am trying to recompile ModemManager. > > My workstation: > Linux vt_ttpm_rd_toannc5 2.6.28-18-generic #59-Ubuntu SMP Thu Jan 28 > 01:23:03 UTC 2010 i686 GNU/Linux > > Make process output the following error and exit: >

Re: stable and portable "NM_CONTROLLED=no "?

2010-03-03 Thread Jirka Klimes
On Wednesday 03 of March 2010 16:07:17 Marc Herbert wrote: > Jirka Klimes a écrit : > >> unmanaged-devices=/org/freedesktop/Hal/devices/net_00_1f_11_01_06_55;/or > >> g/f > > > > For older HAL-dependent NM, the above described example should work. > > For

Re: stable and portable "NM_CONTROLLED=no "?

2010-03-03 Thread Jirka Klimes
On Wednesday 03 of March 2010 10:49:45 Marc Herbert wrote: > Hi, > > I need a device with a known MAC address to be "unmanaged" at all > times. For the moment I am successfully using ifcfg-rh + > NM_CONTROLLED=no, but I am not very comfortable with this dependency on > deprecated configuration fi

[PATCH] Re: dhcp client support broken on karmic with latest NM build

2010-03-02 Thread Jirka Klimes
On Saturday 27 of February 2010 00:23:10 Dan Williams wrote: > On Fri, 2010-02-26 at 14:30 +0300, Andrey Borzenkov wrote: > > On Thursday 25 of February 2010 22:53:59 Dan Williams wrote: > > > 3) Set the 'dhcp' property in the [main] section of > > > nm-system-settings.conf to either "dhclient" or

[PATCH] libnm-glib-test: Fix segfault in listing active connections

2010-02-25 Thread Jirka Klimes
Hello, libnm-glib-test program crashes in active connections output when a VPN connection is activated. The attached patch fixes this and for VPN connections, it prints base connection rather than device (which is NULL in that case). Jirka diff --git a/libnm-glib/libnm-glib-test.c b/libnm-glib/

[PATCH] libnm-glib: Add missing properties to suppress warnings

2010-02-25 Thread Jirka Klimes
Hello, NMVPNConnection class in libnm-glib doesn't contain 'vpn-state' and 'banner' properties, which causes these errors: WARNING **: handle_property_changed: property 'vpn-state' changed but wasn't defined by object type NMVPNConnection. The attached patch adds the properties and thus suppr

Re: daier...@gmail.com>

2010-02-21 Thread Jirka Klimes
On Saturday 20 of February 2010 16:07:54 kiran wrote: > Thanks jklimes > But what i found is that AddConnection Api is present in > Network Manager 0.8 dbus interface and not on Network Manager 0.7 Dbus > interface, is that true or i am missing something. > Even the dbus

[PATCH] libnm-glib: Add missing function nm_active_connection_get_vpn()

2010-02-19 Thread Jirka Klimes
Hello, the attached patch adds nm_active_connection_get_vpn() method for NMActiveConnection obtaining Vpn property of org.freedesktop.NetworkManager.Connection.Active interface. Cheers, Jirka diff --git a/libnm-glib/Makefile.am b/libnm-glib/Makefile.am index c177fa3..f3e9b0a 100644 --- a/libnm-g

Re: daier...@gmail.com>

2010-02-11 Thread Jirka Klimes
On Thursday 11 of February 2010 12:45:33 kiran wrote: > Hi > > How can i add new network Connection (cdma,gsm) to the > system-settings connection list through Dbus Api Interface exported by the > "System settings" Service. > > > regards > kiran > Hi kiran, yes, it's pos

Re: GetAccessPoints returning empty

2010-02-11 Thread Jirka Klimes
On Wednesday 10 of February 2010 21:57:18 Hugo Melo wrote: > > The only message I can see there regarding NetworkManager is: > Feb 10 16:21:27 panini NetworkManager: supplicant_interface_acquire: > assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed > ... > Feb 10 16:27:24 panini Net

Re: GetAccessPoints returning empty

2010-02-10 Thread Jirka Klimes
On Tuesday 09 of February 2010 18:57:37 Hugo Melo wrote: > Hi guys, > I've discovered that when I have a system settings service connection > configured ( like ifcfg-AP and keys-AP ) and nm-applet is not running I get > an empty list as a result of GetAccessPoints(). > Is this a bug? > How can I wo

Re: Additional IPv6 address

2010-02-08 Thread Jirka Klimes
On Monday 08 of February 2010 10:54:54 Eugene Crosser wrote: > Once again. > After some investigation, it turns out to be *one* problem here, the > rest are "induced". The one problem is: when you edit a connection in > the Gnome "Network Connections" applet, and set "Available to all users" > chec

Re: Disconnected state reject my connection request

2010-02-03 Thread Jirka Klimes
On Wednesday 03 February 2010 13:01:29 Maxime Boure wrote: > Hello again, > > I use network manager 7.2 on a board with no x server and have problems > using the ActivateConnection dbus call. > > I use the script of this web site : http://mementolinux.wordpress.com/ > > Seemed pretty good. When

Re: Preventing NM from managing one of my interfaces?

2010-02-01 Thread Jirka Klimes
On Saturday 30 January 2010 15:06:58 Timothy Murphy wrote: > > What about putting > NM_CONTROLLED=no > in /etc/sysconfig/network-scripts/ifcfg-eth1 , > with the appropriate interface in place of eth1? > This is just valid for Fedora/RHEL distributions and ifcfg-rh plugin. Jirka _

Re: Preventing NM from managing one of my interfaces?

2010-02-01 Thread Jirka Klimes
On Saturday 30 January 2010 02:59:30 Joe Emenaker wrote: > I've got a laptop with which I use two wireless adapters. With one of > them, I'd like NetworkManager to manage and automatically connect me to > wireless networks when they're available. The other, I want > NetworkManager to leave alone, l

Re: Internet key Nm 0.7.999

2010-01-26 Thread Jirka Klimes
On Monday 25 January 2010 22:47:39 Marco Londero wrote: > Hi, i use Archlinux and yesterday i had to upgrade to testing repo due tue > libpng 1.4 and so i've upgraded also NetworkManager to the new release > 0.7.999 but now Nm doesn't recognize my internet key, that worked without > problem with th

Re: 3G USB support for NM 0.7.0

2010-01-20 Thread Jirka Klimes
On Saturday 09 January 2010 17:26:21 Keith Smith wrote: > Hi, > > Thanks for the tip. I am a bit new to git, I see the "mainline" is > only Dec 9 2008 > http://gitorious.org/modemmanager/mainline > Will that be sufficient update to solve my problem? I am currently > running 0.0 modem manager

Re: creating leap connection

2010-01-20 Thread Jirka Klimes
On Friday 15 January 2010 22:48:48 Hugo Melo wrote: > Hi people, > I am just trying to create a LEAP connection and I don't know why it > doesn't create neither gives any error. I look for the uuid and get > nothing. I am using Fedora 12 with nm > version: NetworkManager-0.7.997-2.git20091214.fc1

Re: Problem to add a broadband connection on NetworkManagerUserSettings

2010-01-19 Thread Jirka Klimes
On Tuesday 19 January 2010 16:45:23 Jirka Klimes wrote: > On Wednesday 13 January 2010 16:33:27 Maxwell Chiareli Xandeco wrote: > > I'm using Ubuntu 9.10, with your code I don't get errors but a > > connection is not added, nothing happens when I call AddConnect

Re: Problem to add a broadband connection on NetworkManagerUserSettings

2010-01-19 Thread Jirka Klimes
On Wednesday 13 January 2010 16:33:27 Maxwell Chiareli Xandeco wrote: > I'm using Ubuntu 9.10, with your code I don't get errors but a > connection is not added, nothing happens when I call AddConnection > method. > I've investigated it a bit and found out that AddConnection is not supported via

Re: [PATCH] Adding OLPC Mesh device to libnm-glib library

2010-01-19 Thread Jirka Klimes
On Thursday 14 January 2010 23:36:32 Dan Williams wrote: > On Wed, 2010-01-13 at 11:43 -0800, Dan Williams wrote: > > On Tue, 2010-01-12 at 14:40 +0100, Jirka Klimes wrote: > > > Hello, > > > libnm-glib is missing OLPC device support, even if NM contains it

Re: Problem to add a broadband connection on NetworkManagerUserSettings

2010-01-13 Thread Jirka Klimes
On Tuesday 12 January 2010 16:36:07 Maxwell Chiareli Xandeco wrote: > Hi all, > > I trying to add a new broadband connection using dbus python API: > > settings = dbus.Dictionary({dbus.String(u'connection'): > dbus.Dictionary({dbus.String(u'timestamp'): dbus.UInt64(1263301788L, > variant_level=1)

[PATCH] libnm-glib Bluetooth device correction

2010-01-12 Thread Jirka Klimes
Hello, libnm-glib/nm-device-bt.c typo: uses NM_DBUS_INTERFACE_DEVICE_WIRED interface instead of NM_DBUS_INTERFACE_DEVICE_BLUETOOTH Jirka diff --git a/libnm-glib/nm-device-bt.c b/libnm-glib/nm-device-bt.c index 5792add..bb1ff66 100644 --- a/libnm-glib/nm-device-bt.c +++ b/libnm-glib/nm-device-bt

[PATCH] Adding OLPC Mesh device to libnm-glib library

2010-01-12 Thread Jirka Klimes
Hello, libnm-glib is missing OLPC device support, even if NM contains it and exports via DBus. This patch adds the device to libnm-glib library. Could someone review and possibly test? Thanks, Jirka diff --git a/include/NetworkManager.h b/include/NetworkManager.h index c8d5074..cf4c7f9 100644 --

Re: Writing a script to multiple versions of DBus API

2009-12-08 Thread Jirka Klimes
On Tuesday 08 December 2009 12:55:21 Maxwell Chiareli Xandeco wrote: > Hi all, > > I'm writing a simple python script to manage a broadband connection. > > I'm using the Disconnect() method from Device interface to close > connection, that works fine with the 0.8 version, and on the 0.7 version >

Re: [PATCH] Easy patch (help out!): preserve wireless-enabled and networking-enabled

2009-10-30 Thread Jirka Klimes
On Wednesday 28 October 2009 19:53:56 Dan Williams wrote: > On Tue, 2009-10-27 at 12:58 +0100, Jirka Klimes wrote: > > On Friday 23 October 2009 19:19:14 Dan Williams wrote: > > > Anyone want to do a really simple patch? It would close some bugs and > > > help o

Re: [PATCH] Easy patch (help out!): preserve wireless-enabled and networking-enabled

2009-10-27 Thread Jirka Klimes
On Tuesday 27 October 2009 15:04:51 Tony Espy wrote: > On 10/27/2009 07:58 AM, Jirka Klimes wrote: > > On Friday 23 October 2009 19:19:14 Dan Williams wrote: > >> Anyone want to do a really simple patch? It would close some bugs and > >> help out a lot: > > >

[PATCH] Easy patch (help out!): preserve wireless-enabled and networking-enabled

2009-10-27 Thread Jirka Klimes
On Friday 23 October 2009 19:19:14 Dan Williams wrote: > Anyone want to do a really simple patch? It would close some bugs and > help out a lot: > Hello Dan, I've done the patch. Please, review it. NetworkingEnabled and WirelessEnabled are read from config file. If not present, the values ar

<    1   2   3