RE: PEAP configuration file

2011-03-16 Thread Zheng, Jeff
It works for me with: [global] Name = MeeGo Description = Private network configuration [service_intel] Type = wifi Name = EAP = peap CACertFile = Passphrase = Identity = Phase2 = MSCHAPV2 Bests Jeff > -Original Message- > From: connman-boun...@connman.net > [mailto:connman-boun...@c

Re: PEAP configuration file

2011-03-16 Thread Samuel Ortiz
Hi Gustavo, On Wed, Mar 16, 2011 at 04:28:21PM -0300, Gustavo F. Padovan wrote: > I'm having a similar problem with my university wireless network. > With the default gentoo network scripts everything work fine, wpa_supplicant > conf follows: > > network={ > ssid="Alunos-IC3" > ke

Re: [PATCH 6to4 v4 01/10] doc: Add description about 6to4 tunnelling.

2011-03-16 Thread Marcel Holtmann
Hi Jukka, > + boolean 6to4 [readonly] > + > + If true, the service created 6to4 > + tunnel if the service IPv4 address is not > + private and autoconfiguration does not work. > +

[PATCH 6to4 v4 10/10] test: Add support for 6to4 tunnel status printing.

2011-03-16 Thread Jukka Rissanen
--- test/list-services |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/test/list-services b/test/list-services index 3ae6a4d..bfb0f73 100755 --- a/test/list-services +++ b/test/list-services @@ -12,7 +12,13 @@ def extract_values(values): if k

[PATCH 6to4 v4 04/10] gweb: Add support for connecting to IPv6 host.

2011-03-16 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"

[PATCH 6to4 v4 07/10] service: Create/remove 6to4 tunnel.

2011-03-16 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 6fda67d..dd7c498 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -73,6 +73,8 @@ static void dhcp_invalid(struct connman_dhcp *dhcp) if (ipconfig

[PATCH 6to4 v4 08/10] 6to4: Check if the 6to4 tunnel is active or not.

2011-03-16 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 52a0c53..8593e71 100644 --- a/src/6to4.c +++ b/src/6to4.c @@ -541,3 +541,23 @@ void __connman_6to4_remove(struct connman_ipconfig *i

[PATCH 6to4 v4 09/10] service: Return 6to4 tunnel status to dbus caller.

2011-03-16 Thread Jukka Rissanen
--- src/service.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/service.c b/src/service.c index 29d6af5..77e16a5 100644 --- a/src/service.c +++ b/src/service.c @@ -987,8 +987,16 @@ static void append_ipv4(DBusMessageIter *iter, void *user_data) if (

[PATCH 6to4 v4 06/10] 6to4: Check the connectivity via tunnel after creating it.

2011-03-16 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 68472e6..52a0c53 100644 --- a/src/6to4.c +++ b/src/6to4.c @@ -41,10 +41,15 @@ #include "connman.h" #include #include +#include "

[PATCH 6to4 v4 05/10] 6to4: Add 6to4 tunnel support.

2011-03-16 Thread Jukka Rissanen
--- Makefile.am |2 +- src/6to4.c| 498 + src/connman.h |3 + 3 files changed, 502 insertions(+), 1 deletions(-) create mode 100644 src/6to4.c diff --git a/Makefile.am b/Makefile.am index 3ad1ee9..95aefc7 100644 --- a/Makefil

[PATCH 6to4 v4 02/10] inet: MTU and tunnel setup functions added.

2011-03-16 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

[PATCH 6to4 v4 03/10] inet: Add routines to send IPv6 router solicitation message.

2011-03-16 Thread Jukka Rissanen
--- include/inet.h |8 ++ src/inet.c | 315 2 files changed, 323 insertions(+), 0 deletions(-) diff --git a/include/inet.h b/include/inet.h index 9a9411d..3ed19c4 100644 --- a/include/inet.h +++ b/include/inet.h @@ -25,6 +25,8 @@

[PATCH 6to4 v4 00/10] 6to4 tunneling support

2011-03-16 Thread Jukka Rissanen
Hi, this is v4 of the 6to4 tunneling support and many things have been changed in this version like: - 6to4 tunnel setting in service is read only i.e., it cannot be manipulated via dbus any longer - generic tunnel creation added to inet.c - IPv6 router solicitation / advertisement handling in i

[PATCH 6to4 v4 01/10] doc: Add description about 6to4 tunnelling.

2011-03-16 Thread Jukka Rissanen
--- doc/service-api.txt | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/doc/service-api.txt b/doc/service-api.txt index 65554a2..e13808e 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -332,6 +332,16 @@ Properties string State [readonly]

Re: [RFC 3/4] private-network: add ip configuration and NAT

2011-03-16 Thread Samuel Ortiz
Hi Gustavo, On Fri, Mar 04, 2011 at 09:36:45PM -0300, Gustavo F. Padovan wrote: > --- a/src/tethering.c > +++ b/src/tethering.c > @@ -50,6 +50,10 @@ > #define BRIDGE_IP_END "192.168.218.200" > #define BRIDGE_DNS "8.8.8.8" > > +#define PRIVATE_NETWORK_IP "192.168.219.1" > +#define PRIVATE_NETWO

Re: [RFC 2/4] private-network: add support to create TUN interface

2011-03-16 Thread Samuel Ortiz
Hi Gustavo, On Fri, Mar 04, 2011 at 09:36:44PM -0300, Gustavo F. Padovan wrote: > +static int create_tun_interface(char **iface) > +{ > + struct ifreq ifr; > + int i, fd; > + > + fd = open("/dev/net/tun", O_RDWR); > + if (fd < 0) { > + i = -errno; > + connma

Re: [RFC 1/4] manager: Add hooks for the PrivateNetwork API

2011-03-16 Thread Samuel Ortiz
Hi Gustavo, On Fri, Mar 04, 2011 at 09:36:43PM -0300, Gustavo F. Padovan wrote: > RequestPrivateNetwork() doesn't return an fd yet and > both of them are completely dummy. Looks good, but I think we could merge this one with the second patch. Also, you need to update the doc/manager-api.txt file.

[RFC v3 2/2] session: Refactor Session API

2011-03-16 Thread Daniel Wagner
From: Daniel Wagner In order to enable session support there is a master switch (EnableSessionMode) on the manager. If enabled all service will disconnected and keept disconnected. Only services which are part of a session will be allowed to connect. The service layer registers itself at the se

[RFC v3 0/2] Session API

2011-03-16 Thread Daniel Wagner
From: Daniel Wagner Hi, Another update on this series. cheers, daniel Daniel Wagner (1): session: Refactor Session API Marcel Hotlmann (1): Update session documantion. doc/manager-api.txt | 44 ++- doc/session-api.txt | 240 + include/dbus.h|2 + src/conn

[RFC v3 1/2] Update session documantion.

2011-03-16 Thread Daniel Wagner
From: Marcel Hotlmann --- doc/manager-api.txt | 33 doc/session-api.txt | 240 +++ 2 files changed, 257 insertions(+), 16 deletions(-) create mode 100644 doc/session-api.txt diff --git a/doc/manager-api.txt b/doc/manager-api.txt index

Re: [PATCH v4] ofono: Free network_info

2011-03-16 Thread Samuel Ortiz
Hi Daniel, On Tue, Mar 15, 2011 at 03:02:08PM +0100, Daniel Wagner wrote: > From: Daniel Wagner > > The network_info data structure is not freed. Also the > error path does not handle the freeing of the data structure > correctly. > > Reported by: Henri Bragge Thanks guys, patch applied now. C

Re: [PATCH v4] ofono: Free network_info

2011-03-16 Thread Henri Bragge
Hi Daniel, On Tue, 2011-03-15 at 15:02 +0100, Daniel Wagner wrote: > From: Daniel Wagner > > The network_info data structure is not freed. Also the > error path does not handle the freeing of the data structure > correctly. Works here, thanks for the patch! - Henri __