[PATCH 2/3] doc: Update connman.conf.5 about PassiveWiFiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- doc/connman.conf.5 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/connman.conf.5 b/doc/connman.conf.5 index 626edfd..c2adbec 100644 --- a/doc/connman.conf.5 +++ b/doc/connman.conf.5 @@ -126,5 +126,12 @@ really know what you are

[PATCH v2 0/4] Introduce PassiveWifiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com Here are the patches promised long time ago to make it possible to use passive scanning instead of the active. The actual change is pretty simple one. :) Pasi Sjöholm (4): main: Add support for PassiveWifiScan configuration variable wifi: Do

[PATCH 4/4] main.conf: Add example PassiveWiFiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- src/main.conf | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/main.conf b/src/main.conf index 93c7a50..b553523 100644 --- a/src/main.conf +++ b/src/main.conf @@ -95,3 +95,9 @@ # re-enabling a technology, and after restarts and

[PATCH 3/4] doc: Update connman.conf.5 about PassiveWiFiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- doc/connman.conf.5 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/connman.conf.5 b/doc/connman.conf.5 index 626edfd..c2adbec 100644 --- a/doc/connman.conf.5 +++ b/doc/connman.conf.5 @@ -126,5 +126,12 @@ really know what you are

[PATCH 2/4] wifi: Do passive scanning when PassiveWiFiScan is true

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com Do passive scanning instead of active to avoid revealing the SSID's of services have been configured. --- plugins/wifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wifi.c b/plugins/wifi.c index 42dd407..0fecee7

[PATCH 1/4] main: Add support for PassiveWifiScan configuration variable

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- src/main.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/main.c b/src/main.c index 1c17991..21c6121 100644 --- a/src/main.c +++ b/src/main.c @@ -73,6 +73,7 @@ static struct { bool single_tech; char

Re: [PATCH 1/3] wifi: Introduce PassiveWiFiScan option

2015-04-24 Thread Tomasz Bursztyka
Hi Pasi, - } else if (wifi-connected) { + } else if (wifi-connected || connman_setting_get_bool(PassiveWiFiScan)) { g_supplicant_free_scan_params(scan_params); return wifi_scan_simple(device); If you use PassiveWiFiScan only here, then you are

[PATCH 1/3] wifi: Introduce PassiveWiFiScan option

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com Makes it possible to only do passive scanning so that the SSIDs are not revealed during the scans. --- plugins/wifi.c | 2 +- src/main.c | 15 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/plugins/wifi.c

[PATCH 0/3] Introduce PassiveWifiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com Here are the patches promised long time ago to make it possible to use passive scanning instead of the active. The actual change is pretty simple one. :) Pasi Sjöholm (3): wifi: Introduce PassiveWiFiScan option doc: Update connman.conf.5

[PATCH 3/3] main.conf: Add example PassiveWiFiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- src/main.conf | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/main.conf b/src/main.conf index 93c7a50..b553523 100644 --- a/src/main.conf +++ b/src/main.conf @@ -95,3 +95,9 @@ # re-enabling a technology, and after restarts and

Re: [PATCH 2/3] doc: Update connman.conf.5 about PassiveWiFiScan

2015-04-24 Thread Tomasz Bursztyka
Hi Pasi, +.B PassiveWiFiScan=\fPtrue|false\fP +Enable passive only scanning for WiFi in case of +one does not want to reveal SSIDs for currently configured +services. Only exception being that with hidden networks +the initial connection will still do an active scan. +Default value is false.

Re: [PATCH 1/3] wifi: Introduce PassiveWiFiScan option

2015-04-24 Thread Pasi Sjöholm
Hi Tomasz, -} else if (wifi-connected) { +} else if (wifi-connected || connman_setting_get_bool(PassiveWiFiScan)) { g_supplicant_free_scan_params(scan_params); return wifi_scan_simple(device); If you use PassiveWiFiScan only here, then you are still using active scan for

[PATCH] device: Add configurable DontBringDownAtStartup list

2015-04-24 Thread Slava Monich
connman brings down managed interfaces at startup. Sometimes it's unnecessary or even harmful. DontBringDownAtStartup list in main.conf allows to make exceptions for some interfaces. --- src/device.c | 21 + src/main.c | 17 + 2 files changed, 38

[PATCH 4/4] main.conf: Add example PassiveWiFiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- src/main.conf | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/main.conf b/src/main.conf index 93c7a50..c3b0728 100644 --- a/src/main.conf +++ b/src/main.conf @@ -95,3 +95,9 @@ # re-enabling a technology, and after restarts and

[PATCH 3/4] doc: Update connman.conf.5 about PassiveWiFiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- doc/connman.conf.5 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/connman.conf.5 b/doc/connman.conf.5 index 626edfd..f017628 100644 --- a/doc/connman.conf.5 +++ b/doc/connman.conf.5 @@ -126,5 +126,12 @@ really know what you are

[PATCH 1/4] main: Add support for PassiveWifiScan configuration variable

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com --- src/main.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/main.c b/src/main.c index 1c17991..21c6121 100644 --- a/src/main.c +++ b/src/main.c @@ -73,6 +73,7 @@ static struct { bool single_tech; char

[PATCH 2/4] wifi: Do passive scanning when PassiveWiFiScan is true

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com Do passive scanning instead of active to avoid revealing the SSID's of services have been configured. --- plugins/wifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wifi.c b/plugins/wifi.c index 42dd407..0fecee7

[PATCH v3 0/4] Introduce PassiveWifiScan

2015-04-24 Thread pasi . sjoholm
From: Pasi Sjöholm pasi.sjoh...@jollamobile.com Here are the patches promised long time ago to make it possible to use passive scanning instead of the active. The actual change is pretty simple one. :) v2: Splitted main.c and wifi.c into different commits v3: Modified the connman.conf.5 and

missing patch...

2015-04-24 Thread Thomas Green
There was a patch in service.c __connman_service_set_passphrase that would let a provisioned service that was 8021x let the agent prompt for the username and passphrase. Now, in revision 1.28 there is a check in __connman_service_set_identity that seems to restore the old undesired behavior,

Re: [PATCH 4/4] main.conf: Add example PassiveWiFiScan

2015-04-24 Thread Marcel Holtmann
Hi Pasi, --- src/main.conf | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/main.conf b/src/main.conf index 93c7a50..b553523 100644 --- a/src/main.conf +++ b/src/main.conf @@ -95,3 +95,9 @@ # re-enabling a technology, and after restarts and reboots. # Default value is

How to Enable VPN support in Connman ?

2015-04-24 Thread Lamsoge, Abhijit
Hi All, I am fairly new to connman. I wanted to know the below two things. 1) How to I enable vpn support in connman from ./configure script ? - Because after compiling I do not see any vpn related binaries or objects and nothing is mentioned in docs currently available. 2) How do I compile