* diff --git a/include/ipconfig.h b/include/ipconfig.h

2010-03-23 Thread Xu, Martin
Hi: The patch is used to support static gateway support, I have verify it works well. It is not the final patch and just for reviewing. If you are agree with the method, I will split the patch and resent them for official review. 1. Gateway is added to connman_ipaddress to hold the gateway

diff --git a/include/ipconfig.h b/include/ipconfig.h

2010-03-23 Thread martin . xu
struct connman_ipaddress *connman_ipaddress_alloc(void); void connman_ipaddress_free(struct connman_ipaddress *ipaddress); void connman_ipaddress_set(struct connman_ipaddress *ipaddress, - const char *address, const char *netmask); + const char *addres

[PATCH 1/2] Add page redirection plugin.

2010-03-23 Thread mabbasconnman
From: mohamed abbas Add new plugin to support page redirection when using wifi interface. Most of this code is a copy from tools/portal-test.com intergrated to work with location core. This plugin only for wifi interface support. --- Makefile.plugins | 15 ++ configure.ac |

[PATCH 2/2] Add page redirection plugin.

2010-03-23 Thread mabbasconnman
From: Mohamed Abbas Calling location detection after the DNS and routing table is set. --- include/location.h |3 +++ src/service.c |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/location.h b/include/location.h index a0b01d6..c4ba2e5 100644 --- a/inclu

Re: re-ordering services

2010-03-23 Thread Marcel Holtmann
Hi Lucas, > I'd like to know why it is not possible to reorder services in > different states. I'm implementing this feature in EFL UI and it's a > bit weird not being able to re-order them. Looking at connman's > source, inside move_service() there's this check: > > if (target->state != service

re-ordering services

2010-03-23 Thread Lucas De Marchi
I'd like to know why it is not possible to reorder services in different states. I'm implementing this feature in EFL UI and it's a bit weird not being able to re-order them. Looking at connman's source, inside move_service() there's this check: if (target->state != service->state) retur

Re: Device Interface selection for connect and disconnect

2010-03-23 Thread Marcel Holtmann
Hi Anil, > In connection manager0.47 enable.device python script will enable the > interface(eth0) and automatically connects and disable-device python script > will disable the interface and disconnects.Hope my understanding is correct > list-devices will list available interfaces .With help of t

Re: [PATCH 1/1] Set network->device as NULL when the deivce is destructed

2010-03-23 Thread Samuel Ortiz
Hi Martin, On Tue, Mar 23, 2010 at 11:43:50AM +0800, martin...@intel.com wrote: > From: Martin Xu > > oFono plugin can use network->device to decide whether > the modem is removed during active PrimaryContext. And fix > the segmenation issue when removing 3G modem. Patch applied, many thanks. C

Re: [PATCH 1/2] Use udev_device_get_devtype and __connman_inet_get_device_type

2010-03-23 Thread Samuel Ortiz
Hi Martin, On Tue, Mar 23, 2010 at 05:27:46PM +0800, martin...@intel.com wrote: > From: Martin Xu > > __connman_inet_get_device_type can't be used to acquire connman_device_type > by itself, because it can't decide the Wireless WAN device and > Ethernet device. consequently, when inserting 3G ca

Re: [PATCH] test/simple-agent: get passphrase from command line

2010-03-23 Thread Samuel Ortiz
On Fri, Mar 19, 2010 at 03:13:05PM +0200, Kalle Valo wrote: > --- > test/simple-agent | 33 + > 1 files changed, 29 insertions(+), 4 deletions(-) Thanks, patch applied. Cheers, Samuel. > diff --git a/test/simple-agent b/test/simple-agent > index 1279aa8..b8e4ef

[PATCH 1/2] Use udev_device_get_devtype and __connman_inet_get_device_type

2010-03-23 Thread martin . xu
From: Martin Xu __connman_inet_get_device_type can't be used to acquire connman_device_type by itself, because it can't decide the Wireless WAN device and Ethernet device. consequently, when inserting 3G card such as Dell 5530/5540 the 3G service and wired service will show at the same time and C

Device Interface selection for connect and disconnect

2010-03-23 Thread Anil Kumar
Hi Marcel, In connection manager0.47 enable.device python script will enable the interface(eth0) and automatically connects and disable-device python script will disable the interface and disconnects.Hope my understanding is correct list-devices will list available interfaces .With help of this, i

[PATCH 1/2] Use udev_device_get_devtype and __connman_inet_get_device_type

2010-03-23 Thread martin . xu
From: Martin Xu __connman_inet_get_device_type can't be used to acquire connman_device_type by itself, because it can't decide the Wireless WAN device and Ethernet device. consequently, when inserting 3G card such as Dell 5530/5540 the 3G service and wired service will show at the same time and C