RE: [PATCH] Start wpa_supplican is service not running.

2010-10-26 Thread leena.gunda
I have created a patch for this issue. The patch invokes the Introspect method to autostart wpa_supplicant if it is not already running. Patch: -- gsupplicant/dbus.c | 29 + gsupplicant/dbus.h |2 ++ gsupplicant/supplicant.c |3 +-- 3

Re: [PATCH 1/3] Extract content from HTTP response.

2010-10-26 Thread Marcel Holtmann
Hi Mohamed, +GWeb *g_web_new(int index, const char *proxy) +{ + GWeb *web; + + if (index 0) + return NULL; + + web = g_try_new0(GWeb, 1); + if (web == NULL) + return NULL; + + web-ref_count = 1; + + web-next_query_id = 1; + +

Re: [PACRUNNER][PATCH] Manual proxy configuration setting

2010-10-26 Thread David Woodhouse
On Mon, 2010-10-25 at 14:11 +0200, Marcel Holtmann wrote: What about if given url provides an IP instead of an hostname: reverse dns? etc etc... Good question. Right now, I would not go there, but maybe we have to. Once we start handling split-routed VPNs, we'll need to. Possibly not

[RFC v4 1/2] Add OpenVPN support

2010-10-26 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- Makefile.plugins | 32 +++- bootstrap-configure |1 + configure.ac | 17 plugins/openvpn.c| 223 ++ scripts/openvpn-script.c | 123

Re: [PATCH] Start wpa_supplican is service not running.

2010-10-26 Thread Kalle Valo
leena.gu...@wipro.com writes: I have created a patch for this issue. The patch invokes the Introspect method to autostart wpa_supplicant if it is not already running. Thanks a lot for working on this. I didn't read the patch that carefully yet, but I noticed something: + reply =

[PATCH 2/2] wifi: don't set associating state when roaming between APs

2010-10-26 Thread Kalle Valo
When wpasupplicant is roaming between APs it exposes all states to connman. After the wifi network is connected, we should not set associating state anymore. Otherwise we just end up into weird states. --- plugins/wifi.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH 0/2] *** SUBJECT HERE ***

2010-10-26 Thread Kalle Valo
*** BLURB HERE *** Kalle Valo (2): wifi: add a disconnected timer wifi: don't set associating state when roaming between APs plugins/wifi.c | 74 +-- 1 files changed, 66 insertions(+), 8 deletions(-)

[PATCH 1/2] wifi: add a disconnected timer

2010-10-26 Thread Kalle Valo
In a big network, for example at Ubuntu Developer Summit which has 10 APs, connman and wpasupplicant got out of sync very easily. connman claimed it was connected even though wpasupplicant (and the kernel driver) was actually connected to the AP. The problem is that while roaming between APs

Re: [PATCH 0/2] *** SUBJECT HERE ***

2010-10-26 Thread Kalle Valo
Kalle Valo kalle.v...@canonical.com writes: *** BLURB HERE *** Heh, sorry about this. git send-email also sent an emacs backup file :) -- Kalle Valo ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman

Re: [PATCH 0/2] wifi disconnect timer

2010-10-26 Thread Kalle Valo
Kalle Valo kalle.v...@canonical.com writes: I'm at UDS right now and I have been debugging gsupplicant extensively and I have had quite a lot of problems. I noticed a problem how the wifi plugin handles the wpasupplicant disconnect state. Here are two patches how I propose to fix the issues.

Re: [PATCH 1/2] wifi: add a disconnected timer

2010-10-26 Thread Samuel Ortiz
Hi Kalle, On Tue, Oct 26, 2010 at 07:30:53PM +0300, Kalle Valo wrote: In a big network, for example at Ubuntu Developer Summit which has 10 APs, connman and wpasupplicant got out of sync very easily. connman claimed it was connected even though wpasupplicant (and the kernel driver) was

Re: [PATCH 1/1] Fix deadlock when disassociate while associating.

2010-10-26 Thread Samuel Ortiz
Hi Mohamed, On Thu, Oct 21, 2010 at 10:48:31AM -0700, Mohamed Abbas wrote: while associating then the user disconnect the network this will cause the following: 1- __connman_service_disconnect() which will call 2-__connman_network_disconnect() which call 3 err =

Re: Add OpenVPN Support

2010-10-26 Thread Samuel Ortiz
Hi Daniel, On Tue, Oct 26, 2010 at 03:54:23PM +0200, Daniel Wagner wrote: Hi, yet another update on this patch. OpenVPN is now running, but I'm struggling with the settings. The OpenVPN server settings seems broken. I can ping the server address (10.1.0.1) from my client (10.1.0.6). But

[PATCH] Fix BMC7915 Connman stucks by few rfkill key pressing

2010-10-26 Thread ying . an . deng
From: DengYingAn ying.an.d...@intel.com Connman will be stuck after press few times of hotkey for wireless. --- src/udev.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/udev.c b/src/udev.c index 70c760d..ade9487 100644 --- a/src/udev.c +++ b/src/udev.c @@ -191,7

[PATCH] Add vpn.h into Makefile.plugin

2010-10-26 Thread martin . xu
From: Martin Xu martin...@intel.com So the file can be included into dist tarball, otherwise, the file can not be found, and will block the building. --- Makefile.plugins |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.plugins b/Makefile.plugins index

RE: [PATCH] Start wpa_supplican is service not running.

2010-10-26 Thread leena.gunda
Hi Kalle, + reply = dbus_connection_send_with_reply_and_block(connection, + message, -1, error); connman must never block, instead we need to use async interfaces. I intentionally made the call blocking since the system_available will be set to TRUE only if

[PATCH] Fix BMC 8075 AP list gone when turning hotkey on and off

2010-10-26 Thread ying . an . deng
From: DengYingAn ying.an.d...@intel.com With wireless on booting, APs list is gone after turnning off and on. Back ported from upstream with commit id 57536b8359c5c99f015cd97c597e2de82ce9144f --- src/connman.h |2 ++ src/device.c |2 ++ src/element.c | 22 ++ 3