[PATCH v2 00/10] Enable connman-gnome with latest connman version

2011-03-25 Thread Dongxiao Xu
Yocto project adopts connman and connman-gnome as its default wifi configuration core and frontend. See http://www.yoctoproject.org/ However connman-gnome is no longer under development, and it doesn't work with latest connman version. This patchset is to re-enable it with connman-0.65. Chang

[PATCH 01/10] Disable applet apps

2011-03-25 Thread Dongxiao Xu
Signed-off-by: Dongxiao Xu --- Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index 464c72b..280e4de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS = po icons common applet properties +SUBDIRS = po icons commo

[PATCH 03/10] Enable properties

2011-03-25 Thread Dongxiao Xu
Change some macros according to service based solutions. Remove some unused functions in properties. Signed-off-by: Dongxiao Xu --- common/connman-client.c | 50 +-- common/connman-client.h |2 + properties/main.c | 89 +--

[PATCH 04/10] Display service names in left frame

2011-03-25 Thread Dongxiao Xu
Also modify the title name from "Devices" to "Services" Signed-off-by: Dongxiao Xu --- properties/main.c | 45 ++--- 1 files changed, 42 insertions(+), 3 deletions(-) diff --git a/properties/main.c b/properties/main.c index 03e7fa4..cbe0df3 100644 --- a

[PATCH 02/10] Change dbus name to 'net.connman'

2011-03-25 Thread Dongxiao Xu
Also do some cleanup. Signed-off-by: Dongxiao Xu --- applet/main.c |8 common/connman-client.c |4 ++-- common/connman-dbus.c | 28 +--- common/connman-dbus.h |5 + common/instance.c |2 +- common/instance.xml |2

[PATCH 07/10] Enable ethernet service

2011-03-25 Thread Dongxiao Xu
Support both dhcp and manual configurations. Signed-off-by: Dongxiao Xu --- common/connman-client.c | 36 ++- common/connman-client.h | 17 + common/connman-dbus.c | 65 ++- properties/Makefile.am |2 +- properties/advanced.h |6 +- properties/ether

[PATCH 08/10] Enable wifi service

2011-03-25 Thread Dongxiao Xu
Support both dhcp and manual configurations. Support realtime status update. Signed-off-by: Dongxiao Xu --- common/connman-client.c | 92 +- common/connman-client.h | 16 ++- common/connman-dbus.c | 68 +++--- common/connman-dbus.xml |2 + properties/Makefile.am |

[PATCH 05/10] Do some cleanup for create_config

2011-03-25 Thread Dongxiao Xu
Remove the advanced button, will display all information directly. Remove the static update_status functionality, will introduce a dynamic function to show realtime status. Signed-off-by: Dongxiao Xu --- properties/Makefile.am |3 +- properties/advanced.c | 314 ---

[PATCH 06/10] Disable wifi temporarily

2011-03-25 Thread Dongxiao Xu
Signed-off-by: Dongxiao Xu --- properties/Makefile.am |2 +- properties/main.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/properties/Makefile.am b/properties/Makefile.am index 28546d5..c6839e8 100644 --- a/properties/Makefile.am +++ b/properties/Makefile.am

[PATCH 09/10] Add labels for ethernet, wifi and system config

2011-03-25 Thread Dongxiao Xu
Also add offline/online mode, service enable/disable, and wifi scan functionalities. Signed-off-by: Dongxiao Xu --- common/connman-client.c | 116 +- common/connman-client.h | 21 + common/connman-dbus.c | 209 -- comm

[PATCH 10/10] Enable connman-gnome applet

2011-03-25 Thread Dongxiao Xu
Let connman-applet have the ability to pop up connman-properties and show "About" Signed-off-by: Dongxiao Xu --- Makefile.am |2 +- applet/main.c | 94 +++- 2 files changed, 93 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/M

Re: [PATCH v2 4/5] agent: Implement EAP identity and passphrase query

2011-03-25 Thread Henri Bragge
Hi Samuel, On Thu, 2011-03-24 at 17:59 +0100, Samuel Ortiz wrote: > Hi Henri, > > On Thu, Mar 17, 2011 at 05:20:45PM +0200, Henri Bragge wrote: > > EAP credentials will be queried whenever connecting to an 802.1X network > > unless EAP-TLS is used OR if service is provisioned via .config file. >

Re: [PATCH v2 00/10] Enable connman-gnome with latest connman version

2011-03-25 Thread Samuel Ortiz
Hi Dongxiao, On Fri, Mar 25, 2011 at 03:19:34PM +0800, Dongxiao Xu wrote: > Yocto project adopts connman and connman-gnome as its default wifi > configuration core and frontend. See http://www.yoctoproject.org/ > > However connman-gnome is no longer under development, and it doesn't work > with

[6to4 v6 0/9] 6to4 tunneling support

2011-03-25 Thread Jukka Rissanen
Hi, v6: - copyright notice fixed in 6to4.c and inet.c (patches #3 and #5 fixed) - IPv6 router solicitation function in inet.c is now available to connman core only (affects patches #3 and #5) v5: - the 6to4 tunnel status is returned via IPv6.Method (patch #9 reworked) - removed test script

[6to4 v6 1/9] doc: Add description about 6to4 tunnelling.

2011-03-25 Thread Jukka Rissanen
--- doc/service-api.txt |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/doc/service-api.txt b/doc/service-api.txt index 65554a2..7e87e6e 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -347,12 +347,16 @@ Propertiesstring State [readonly]

[6to4 v6 3/9] inet: Add routines to send IPv6 router solicitation message.

2011-03-25 Thread Jukka Rissanen
IPv6 router solicitation handling is from MIPL project. Original code can be found at git://linux-ipv6.org/gitroot/mipv6-daemon.git and http://www.linux-ipv6.org/gitweb/gitweb.cgi?p=gitroot/mipv6-daemon.git;a=blob;f=src/ndisc.c --- src/connman.h |9 ++ src/inet.c| 313

[6to4 v6 2/9] inet: MTU and tunnel setup functions added.

2011-03-25 Thread Jukka Rissanen
--- include/inet.h |3 ++ src/inet.c | 71 ++- 2 files changed, 72 insertions(+), 2 deletions(-) diff --git a/include/inet.h b/include/inet.h index 9ba7781..9a9411d 100644 --- a/include/inet.h +++ b/include/inet.h @@ -73,6 +73,9 @@ int

[6to4 v6 4/9] gweb: Add support for connecting to IPv6 host.

2011-03-25 Thread Jukka Rissanen
--- gweb/gweb.c | 29 - 1 files changed, 20 insertions(+), 9 deletions(-) diff --git a/gweb/gweb.c b/gweb/gweb.c index f3c8a7e..1bb1c70 100644 --- a/gweb/gweb.c +++ b/gweb/gweb.c @@ -31,6 +31,7 @@ #include #include #include +#include #include "giognutls.h"

[6to4 v6 5/9] 6to4: Add 6to4 tunnel support.

2011-03-25 Thread Jukka Rissanen
Netlink support routines taken from iproute2 package. Iproute2 source code can be found at git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git --- Makefile.am |2 +- src/6to4.c| 497 + src/connman.h |3 + 3 fi

[6to4 v6 6/9] 6to4: Check the connectivity via tunnel after creating it.

2011-03-25 Thread Jukka Rissanen
--- src/6to4.c | 47 ++- 1 files changed, 46 insertions(+), 1 deletions(-) diff --git a/src/6to4.c b/src/6to4.c index 767c866..e6815a0 100644 --- a/src/6to4.c +++ b/src/6to4.c @@ -40,10 +40,15 @@ #include "connman.h" #include #include +#include "

[6to4 v6 7/9] service: Create/remove 6to4 tunnel.

2011-03-25 Thread Jukka Rissanen
--- src/dhcp.c|4 src/service.c |2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/dhcp.c b/src/dhcp.c index 3106c3d..03a2b90 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -73,6 +73,8 @@ static void dhcp_invalid(struct connman_dhcp *dhcp) if (ipconfig

[6to4 v6 8/9] 6to4: Check if the 6to4 tunnel is active or not.

2011-03-25 Thread Jukka Rissanen
--- src/6to4.c| 20 src/connman.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/6to4.c b/src/6to4.c index e6815a0..3877bfb 100644 --- a/src/6to4.c +++ b/src/6to4.c @@ -540,3 +540,23 @@ void __connman_6to4_remove(struct connman_ipconfig *i

[6to4 v6 9/9] service: Return 6to4 tunnel status to dbus caller.

2011-03-25 Thread Jukka Rissanen
--- src/connman.h |3 ++- src/ipconfig.c |9 - src/service.c |3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/connman.h b/src/connman.h index d466b21..01dca1b 100644 --- a/src/connman.h +++ b/src/connman.h @@ -256,7 +256,8 @@ void __connman_ipconfig

Re: [6to4 v6 0/9] 6to4 tunneling support

2011-03-25 Thread Samuel Ortiz
Hi Jukka, On Fri, Mar 25, 2011 at 03:03:10PM +0200, Jukka Rissanen wrote: > Hi, > > v6: > - copyright notice fixed in 6to4.c and inet.c (patches #3 and > #5 fixed) > - IPv6 router solicitation function in inet.c is now available > to connman core only (affects patches #3 and #5) All patches a

Re: [PATCH v2 4/5] agent: Implement EAP identity and passphrase query

2011-03-25 Thread Samuel Ortiz
Hi Henri, On Fri, Mar 25, 2011 at 09:40:48AM +0200, Henri Bragge wrote: > > > + /* never request credentials if using EAP-TLS */ > > Would you mind elaborating here ? > > No inner authentication (phase2 method) is used with EAP-TLS, so no > identity/passphrase needed in that sense