[PATCH v0 0/3] Move dnsproxy from plugins to core

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Hi, That was thing was too simple to be true. So I must miss something. Please have a look where I oversee the obvious thing... cheers, daniel Daniel Wagner (3): Move plugins/dnsproxy.c to src/dnsproxy.c. dnsproxy: fix checkpatch warnings

[PATCH v0 2/3] dnsproxy: fix checkpatch warnings

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- src/dnsproxy.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/dnsproxy.c b/src/dnsproxy.c index 52f707d..cbd07c3 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -192,7 +192,7 @@ static void

[PATCH v0 3/3] dnsproxy: add command line switch

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Command line switch to disable dnsproxy. --- src/main.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index a38eb60..8eaab16 100644 --- a/src/main.c +++ b/src/main.c @@ -63,6 +63,7 @@

[PATCH] test: don't print Passphrase

2011-01-25 Thread Jussi Kukkonen
The test scripts are useful when asking users for debugging info, but the sensitive information makes using the output on open forums problematic. --- test/get-services |2 ++ test/list-services |2 ++ test/test-manager |2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) diff

[PATCH v1 0/4] Move dnsproxy from plugins to core

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de v1: - remove ondemand v0: - initial version Daniel Wagner (4): Move plugins/dnsproxy.c to src/dnsproxy.c. dnsproxy: fix checkpatch warnings dnsproxy: add command line switch ondemand: Remove ondemand.c Makefile.am|8 +-

[PATCH v1 4/4] ondemand: Remove ondemand.c

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- Makefile.am|8 ++--- include/ondemand.h | 38 src/connman.h |3 -- src/dnsproxy.c | 37 +--- src/main.c |2 - src/ondemand.c | 96

[PATCH v1 3/4] dnsproxy: add command line switch

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Command line switch to disable dnsproxy. --- src/main.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index a38eb60..8eaab16 100644 --- a/src/main.c +++ b/src/main.c @@ -63,6 +63,7 @@

[PATCH] service: Added a script for toggling AutoConnect flag.

2011-01-25 Thread Jukka Rissanen
--- A simple script for setting and getting the service auto connect flag. test/set-autoconnect | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100755 test/set-autoconnect diff --git a/test/set-autoconnect b/test/set-autoconnect new file mode 100755

Re: [PATCH] test: don't print Passphrase

2011-01-25 Thread Marcel Holtmann
Hi Jussi, The test scripts are useful when asking users for debugging info, but the sensitive information makes using the output on open forums problematic. --- test/get-services |2 ++ test/list-services |2 ++ test/test-manager |2 ++ 3 files changed, 6 insertions(+), 0

Re: [PATCH] service: Added a script for toggling AutoConnect flag.

2011-01-25 Thread Marcel Holtmann
Hi Jukka, A simple script for setting and getting the service auto connect flag. test/set-autoconnect | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100755 test/set-autoconnect what is wrong with using test-connman autoconnect service for

RE: USB tethering issues

2011-01-25 Thread Marcel Holtmann
Hi Guillaume, I'm currently trying to test the USB tethering with connman-0.65. I'm facing some issues and I'll appreciate your help. Before going further into debugging this issue, could you please add some debug in rtnl.c/read_uevent() to see which file it's reading, and what

RE: [PATCH] service: Added a script for toggling AutoConnect flag.

2011-01-25 Thread Jukka.Rissanen
Hi Marcel, ext Marcel Holtmann wrote: Hi Jukka, A simple script for setting and getting the service auto connect flag. test/set-autoconnect | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100755 test/set-autoconnect what is wrong with

[PATCH v2 0/5] Move dnsproxy from plugins to core

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de v2: - remove resolver module - cleanup configure.ac and README (dnsproxy: plugin - core) v1: - remove ondemand v0: - initial version Daniel Wagner (5): dnsproxy: Move from plugins to core dnsproxy: Fix checkpatch warnings dnsproxy: Add

[PATCH v2 3/5] dnsproxy: Add command line switch

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Command line switch to disable dnsproxy. --- src/main.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index a38eb60..8eaab16 100644 --- a/src/main.c +++ b/src/main.c @@ -63,6 +63,7 @@

[PATCH v2 5/5] resolver: Only support resolv.conf and dnsproxy

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Remove resolver module support. --- include/resolver.h | 17 --- src/connman.h |8 +- src/dnsproxy.c | 29 +--- src/main.c |6 +- src/resolver.c | 400 +--- 5 files

[PATCH v2 4/5] ondemand: Remove ondemand.c

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- Makefile.am|8 ++--- include/ondemand.h | 38 src/connman.h |3 -- src/dnsproxy.c | 37 +--- src/main.c |2 - src/ondemand.c | 96

[PATCH v3 0/5] Move dnsproxy from plugins to core

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de v3: - use '-r' instead of '-x' for disabling the DNS Proxy v2: - remove resolver module - cleanup configure.ac and README (dnsproxy: plugin - core) v1: - remove ondemand v0: - initial version Daniel Wagner (5): dnsproxy: Move from plugins to

[PATCH v3 2/5] dnsproxy: Fix checkpatch warnings

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- src/dnsproxy.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/dnsproxy.c b/src/dnsproxy.c index f09368c..cf907bc 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -195,7 +195,7 @@ static void

[PATCH v3 3/5] dnsproxy: Add command line switch

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Command line switch to disable dnsproxy. --- src/main.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index a38eb60..ce0c5e3 100644 --- a/src/main.c +++ b/src/main.c @@ -63,6 +63,7 @@

[PATCH v3 4/5] ondemand: Remove ondemand.c

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- Makefile.am|8 ++--- include/ondemand.h | 38 src/connman.h |3 -- src/dnsproxy.c | 37 +--- src/main.c |2 - src/ondemand.c | 96

[PATCH v3 5/5] resolver: Only support resolv.conf and dnsproxy

2011-01-25 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Remove resolver module support. --- include/resolver.h | 17 --- src/connman.h |8 +- src/dnsproxy.c | 29 +--- src/main.c |6 +- src/resolver.c | 400 +--- 5 files

Re: [PATCH] test: don't print Passphrase

2011-01-25 Thread Jussi Kukkonen
On 01/25/2011 01:43 PM, Marcel Holtmann wrote: Hi Jussi, The test scripts are useful when asking users for debugging info, but the sensitive information makes using the output on open forums problematic. --- test/get-services |2 ++ test/list-services |2 ++ test/test-manager

Re: [PATCH] test: don't print Passphrase

2011-01-25 Thread Marcel Holtmann
Hi Jussi, The test scripts are useful when asking users for debugging info, but the sensitive information makes using the output on open forums problematic. --- test/get-services |2 ++ test/list-services |2 ++ test/test-manager |2 ++ 3 files changed, 6

RE: USB tethering issues

2011-01-25 Thread Lucas, GuillaumeX
Hi Marcel, We can see on it that nothing occurs when I run the enable-tethering script and that the bridge is never created :( if the bridge does not get created, then no wonder that Tethering does not work. Can you check with brctl (part of bridge-utils) that bridge support is

RE: USB tethering issues

2011-01-25 Thread Marcel Holtmann
Hi Lucas, We can see on it that nothing occurs when I run the enable-tethering script and that the bridge is never created :( if the bridge does not get created, then no wonder that Tethering does not work. Can you check with brctl (part of bridge-utils) that bridge support is

RE: USB tethering issues

2011-01-25 Thread Lucas, GuillaumeX
Hi Marcel, there is one bridge for all Tethering. So it could be that this already gets enabled for Bluetooth and then we don't create a second bridge for USB. The bridge is shared and Bluetooth clients can talk to USB clients. That is on purpose. I agree, this is managed by the

Re: [RFC] doc: Extended tethering API

2011-01-25 Thread Marcel Holtmann
Hi Samuel, So I've been thinking about how ConnMan could support the DUN server case. I gathered that the ConnMan requirements for that use case are the following: - Provide a free IP range for oFono's ppp gateway address. The address range should be a /24 one, in which oFono can freely

Re: [RFC] doc: Extended tethering API

2011-01-25 Thread Marcel Holtmann
Hi Samuel, So I've been thinking about how ConnMan could support the DUN server case. I gathered that the ConnMan requirements for that use case are the following: - Provide a free IP range for oFono's ppp gateway address. The address range should be a /24 one, in which oFono can

Re: [PATCH v3 1/5] dnsproxy: Move from plugins to core

2011-01-25 Thread Marcel Holtmann
Hi Daniel, Makefile.am|4 +- Makefile.plugins | 12 - README | 17 +- configure.ac |7 - plugins/dnsproxy.c | 1517 src/connman.h |4 + src/dnsproxy.c | 1512

Re: [ofono-autoconnect PATCH 2/7] Add connman_network_clear_error()

2011-01-25 Thread Samuel Ortiz
Hi Pekka, On Mon, Jan 24, 2011 at 07:55:35PM +0200, pekka.pe...@nokia.com wrote: From: Pekka Pessi pekka.pe...@nokia.com Could we merge patch #1 and this one together ? +void connman_network_clear_error(struct connman_network *network) +{ + struct connman_service *service; + +

Re: [ofono-autoconnect PATCH 3/7] Set reconnect when loading a favorite service

2011-01-25 Thread Samuel Ortiz
Hi Pekka, On Mon, Jan 24, 2011 at 07:55:36PM +0200, pekka.pe...@nokia.com wrote: From: Pekka Pessi pekka.pe...@nokia.com Once connect succeeds, allow retrying autoconnect. --- src/service.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/service.c

Re: [ofono-autoconnect PATCH 5/7] Mark service as failed if connect fails

2011-01-25 Thread Samuel Ortiz
Hi Pekka, On Mon, Jan 24, 2011 at 07:55:38PM +0200, pekka.pe...@nokia.com wrote: From: Pekka Pessi pekka.pe...@nokia.com The connman_network/provider_connect() could fail in two different ways, returning an error code or setting the service state to failed. Ethernet, WiMax, Bluetooth,

[PATCH v2] Fix for bugs 12104

2011-01-25 Thread Mohamed Abbas
The proplem related unbalnced call to connman_device_set_scanning with TRUE/FALSE this will end up leaving device-scanning in wrong state causing autoconnect to be not called. This patch also add connman_device_reset_scannind api to reset device-scanning to false if scan for some reason did not

Re: [PATCH v2] Fix for bugs 12104

2011-01-25 Thread Samuel Ortiz
Hi Mohamed, On Tue, Jan 25, 2011 at 01:14:04PM -0800, Mohamed Abbas wrote: The proplem related unbalnced call to connman_device_set_scanning with TRUE/FALSE this will end up leaving device-scanning in wrong state causing autoconnect to be not called. This patch also add

RE: OpenVPN does not work?

2011-01-25 Thread Zheng, Jeff
Hi Daniel, Attached is the log. Connmand still crashes with latest code. Bests Jeff -Original Message- From: Daniel Wagner [mailto:w...@monom.org] Sent: Tuesday, January 25, 2011 1:58 AM To: Zheng, Jeff Cc: connman@connman.net Subject: Re: OpenVPN does not work? Hi Jeff,

Re: [PATCH v3 1/5] dnsproxy: Move from plugins to core

2011-01-25 Thread Daniel Wagner
Hi Marcel, On Tue, Jan 25, 2011 at 06:48:46PM +0100, Marcel Holtmann wrote: Applying: dnsproxy: Move from plugins to core /data/devel/connman/.git/rebase-apply/patch:1646: new blank line at EOF. + fatal: 1 line adds whitespace errors. Patch failed at 0001 dnsproxy: Move from plugins to core

Re: [PATCH v3 3/5] dnsproxy: Add command line switch

2011-01-25 Thread Daniel Wagner
Hi Marcel, On Tue, Jan 25, 2011 at 06:50:18PM +0100, Marcel Holtmann wrote: Hi Daniel, - __connman_dnsproxy_init(); + if (option_dnsproxy == TRUE) + __connman_dnsproxy_init(); this might be better done as, __connman_dnsproxy_init(option_dnsproxy); I

RE: OpenVPN does not work?

2011-01-25 Thread Zheng, Jeff
Hi Daniel, Below is the output from gdb. Can you start connman in gdb and when it crashes dump the backtrace and the log here? E.g. connmand[6049]: src/ipconfig.c:__connman_ipconfig_save() ipconfig 0x80c6ee8 identifier vpn_image_build_sh_intel_com_mydomain connmand[6049]: