[PATCH 4/3] Abort startup configuration timeout when pacrunner_proxy_set_direct() called

2010-12-21 Thread David Woodhouse
--- The script in test/create-proxy-config can't test this. Not before I hacked it anyway. src/proxy.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/proxy.c b/src/proxy.c index 717c637..8fa0b8a 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -154,6 +154,13 @@

Re: [PATCH 3/3] Wait for configuration to be provided at startup, with timeout

2010-12-21 Thread David Woodhouse
On Wed, 2010-12-22 at 00:20 +0100, Samuel Ortiz wrote: > The patch looks mostly fine, but I think we should also wake sleeping > threads from pacrunner_proxy_set_direct(). Oh crap, yes. I thought along those lines for pacrunner_proxy_set_manual(), which is actually OK because we do it in pacrunn

Re: [PATCH 3/3] Wait for configuration to be provided at startup, with timeout

2010-12-21 Thread Samuel Ortiz
Hi David, On Sat, Dec 18, 2010 at 01:27:50AM +, David Woodhouse wrote: > --- > src/proxy.c | 36 ++-- > 1 files changed, 34 insertions(+), 2 deletions(-) The patch looks mostly fine, but I think we should also wake sleeping threads from pacrunner_proxy_set_di

Re: connman and udev network interface renaming

2010-12-21 Thread BenoƮt Monin
Hi Marcel, > Hi Benoit, > > > I'm using an udev rule to rename network interfaces on my device. If a > > particular interface is plugged before connman is started, the new name > > will be used but if it is plugged after, connman will still use the old > > name. > > > > My gut feeling is that it

Re: [PATCH 2/2] Add support for RFC6106 DNSSL

2010-12-21 Thread Samuel Ortiz
Hi David, On Fri, Dec 17, 2010 at 10:31:53PM +, David Woodhouse wrote: > --- > Need to work out how to register multiple search domains rather than just the > first. > I applied this one as well. To register all your search domains, you just need to call connman_resolver_append_lifetime() wi

Re: [PATCH 1/2] rtnl: Refactor RDNSS support so we can support DNSSL

2010-12-21 Thread Samuel Ortiz
Hi David, On Fri, Dec 17, 2010 at 10:31:30PM +, David Woodhouse wrote: > Rather than registering the new nameserver as we hit the RDNSS option, gather > all the information first and then register the nameservers after the loop. > That way, we can gather the search domains while we're looping,

[PATCH autoconf v2 8/8] ipv6: Do not disconnect IPv4 if IPv6 method changes

2010-12-21 Thread Jukka Rissanen
--- src/service.c | 46 ++ 1 files changed, 26 insertions(+), 20 deletions(-) diff --git a/src/service.c b/src/service.c index 14de1d0..994eaa6 100644 --- a/src/service.c +++ b/src/service.c @@ -2039,6 +2039,7 @@ static DBusMessage *set_property(DBusC

[PATCH autoconf v2 6/8] ipv6: Clear the IPv6 address if that address is removed from system

2010-12-21 Thread Jukka Rissanen
--- src/ipconfig.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 7a53689..6196a03 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -616,6 +616,14 @@ void __connman_ipconfig_deladdr(int index, int family, const char *label,

[PATCH autoconf v2 7/8] ipv6: Allow user to disable or enable IPv6 at will

2010-12-21 Thread Jukka Rissanen
--- src/ipconfig.c | 100 ++- 1 files changed, 98 insertions(+), 2 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 6196a03..3e6f738 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -23,6 +23,7 @@ #include #endif +#includ

[PATCH autoconf v2 5/8] ipv6: Do not set the method as it is set when ipconfig is created

2010-12-21 Thread Jukka Rissanen
--- src/service.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/service.c b/src/service.c index 6ca80cd..14de1d0 100644 --- a/src/service.c +++ b/src/service.c @@ -3818,9 +3818,6 @@ static void setup_ip6config(struct connman_service *service, int index) if

[PATCH autoconf v2 3/8] ipconfig: Default method is auto for IPv6

2010-12-21 Thread Jukka Rissanen
--- src/ipconfig.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 6ab7025..7a53689 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -852,7 +852,7 @@ static struct connman_ipconfig *create_ipv6config(int index) ipv6config

[PATCH autoconf v2 0/8] IPv6 auto configuration

2010-12-21 Thread Jukka Rissanen
Hi all, following patches add new AUTO ipconfig method type. It is only used in IPv6 ipconfig. The default method for IPv6 config will be AUTO. If user sets the IPv6 ipconfig method to OFF, then IPv6 is disabled for that interface. Setting IPv6 ipconfig method back to AUTO will enable IPv6 for tha

[PATCH autoconf v2 4/8] ipv6: Test script for setting IPv6 Method

2010-12-21 Thread Jukka Rissanen
--- test/set-ipv6-method | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) create mode 100755 test/set-ipv6-method diff --git a/test/set-ipv6-method b/test/set-ipv6-method new file mode 100755 index 000..569e887 --- /dev/null +++ b/test/set-ipv6-meth

[PATCH autoconf v2 2/8] ipconfig: Added auto method that is used for IPv6 auto configured addresses

2010-12-21 Thread Jukka Rissanen
--- include/ipconfig.h |1 + plugins/ofono.c|1 + src/ipconfig.c |9 + src/network.c |5 + 4 files changed, 16 insertions(+), 0 deletions(-) diff --git a/include/ipconfig.h b/include/ipconfig.h index e8f6de1..9bc97d5 100644 --- a/include/ipconfig.h +++ b/i

[PATCH autoconf v2 1/8] ipconfig: Remove unnecessary null checks

2010-12-21 Thread Jukka Rissanen
--- src/network.c | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/network.c b/src/network.c index 57d873a..1bc5a6c 100644 --- a/src/network.c +++ b/src/network.c @@ -738,15 +738,8 @@ static gboolean set_connected(gpointer user_data) DBG("service %p ip

Re: [PATCH v2 2/2] add IPV4LL support in dhcp plugin

2010-12-21 Thread Julien Massot
Hi Samuel, Yes I think it's a good idea, but I wont be able to work on that before mid-February. Regards, Julien -- Aldebaran Robotics +33 1 77 37 17 60 2010/12/21 Samuel Ortiz > Hi Julien, > > On Mon, Dec 20, 2010 at 04:24:02PM +, Julien Massot wrote: > > This patch is the second version

Re: [PATCH v2 2/2] add IPV4LL support in dhcp plugin

2010-12-21 Thread Samuel Ortiz
Hi Julien, On Mon, Dec 20, 2010 at 04:24:02PM +, Julien Massot wrote: > This patch is the second version for IPV4LL support in dhcp plugin. Patch applied, thanks. Would you be ok with adding some sort of DHCP retry mechanism whenver we get an ipv4ll address ? e.g. setting a 5 minutes timer tha

Re: [PATCH v2 1/2] add function to get IPV4LL netmask

2010-12-21 Thread Samuel Ortiz
Hi Julien, On Mon, Dec 20, 2010 at 04:24:01PM +, Julien Massot wrote: > this patch is the second version to get netmask when using IPV4LL. Patch applied, thanks a lot. Cheers, Samuel. > --- > gdhcp/client.c | 24 > gdhcp/gdhcp.h |1 + > 2 files changed, 25 i