Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. Query for IPv6 Network (Method=auto) (Niraj Kumar Goit)
2. [PATCH] main: Make -d option repeatable (Slava Monich)
3. A couple connman issues (Fr?d?ric Dalleau)
4. Re: A couple connman issues (Patrik Flykt)
5. Query for IPv6 Network (Method=auto) (Niraj Kumar Goit)
6. Re: A couple connman issues (Fr?d?ric Dalleau)
----------------------------------------------------------------------
Message: 1
Date: Tue, 04 Oct 2016 11:46:03 +0530
From: Niraj Kumar Goit <[email protected]>
To: [email protected]
Cc: [email protected], Niraj Kumar Goit <[email protected]>
Subject: Query for IPv6 Network (Method=auto)
Message-ID: <[email protected]>
---
Dear All,
I have a query regarding IPv6 network [Method=auto].
I am validating IPv6 network on Tizen TV and in below test-scenario failed to
get IPv6 IP address at connman.
Test-scenario:
1. Connect Tizen TV with wireless AP (IPv6 Address Assign Type- Stateless, IPv6
Prefix- 2001:e342::).
2. Check connected TV service profile and able to get auto IPv6 IP address.
3. Change IPv6 configuration to manual.
config wifi_c09727094bec_496e6672615f3532_managed_psk --ipv6
manual 2001:e342::101 32
4. Change IPv6 configuration to auto.
config wifi_c09727094bec_496e6672615f3532_managed_psk --ipv6
auto
5. Check connected TV service profile and IPv6 IP address is not set
automatically in connman.
Also when IPv6 configuration Method is changed from auto to manual,
connman_ipconfig_ops "service_ip_bound" callback is executed.
service_ip_bound(7790) > service 0x7f125f98 ipconfig 0x7f12faa0 type 2
method 3
ipconfig_changed(1687) > service 0x7f125f98 ipconfig 0x7f12faa0
But when we are changing IPv6 configuration Method from "manual" to "auto" no
such callback function is executed and IPv6 IP address
is not available in connman.
However, IPv6 IP address is available on wlan0 interface at command-line. I
have checked it using ifconfig.
Could you please let me know how to get IPv6 IP address at connMan layer, when
switching from manual to auto method?
Thanks,
Niraj
1.7.9.5
------------------------------
Message: 2
Date: Tue, 4 Oct 2016 12:31:46 +0300
From: Slava Monich <[email protected]>
To: [email protected]
Subject: [PATCH] main: Make -d option repeatable
Message-ID: <[email protected]>
Concatenating the patterns makes more sense than using the last
supplied value and leaking the previous allocated patterns.
---
src/main.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/main.c b/src/main.c
index fdb4f72..f3f2a22 100644
--- a/src/main.c
+++ b/src/main.c
@@ -476,10 +476,19 @@ static gboolean option_version = FALSE;
static bool parse_debug(const char *key, const char *value,
gpointer user_data, GError **error)
{
- if (value)
- option_debug = g_strdup(value);
- else
+ if (value) {
+ if (option_debug) {
+ char *prev = option_debug;
+
+ option_debug = g_strconcat(prev, ",", value, NULL);
+ g_free(prev);
+ } else {
+ option_debug = g_strdup(value);
+ }
+ } else {
+ g_free(option_debug);
option_debug = g_strdup("*");
+ }
return true;
}
--
1.9.1
------------------------------
Message: 3
Date: Tue, 4 Oct 2016 13:37:45 +0200
From: Fr?d?ric Dalleau <[email protected]>
To: [email protected]
Subject: A couple connman issues
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi,
I have had two issues with my recent connman adventures.
First, I came accross this backtrace, which occured when quitting
connman after using move-before.
*** Error in `/usr/sbin/connmand': corrupted double-linked list:
0x0000000002077520 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f198aaac725]
/lib/x86_64-linux-gnu/libc.so.6(+0x80679)[0x7f198aab5679]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f198aab8abc]
/usr/lib/x86_64-linux-gnu/libtasn1.so.6(+0xb22a)[0x7f1989cef22a]
/usr/lib/x86_64-linux-gnu/libtasn1.so.6(asn1_delete_structure2+0x7a)[0x7f1989cf03ea]
/usr/lib/x86_64-linux-gnu/libgnutls.so.30(+0x44378)[0x7f198b469378]
/lib64/ld-linux-x86-64.so.2(+0x10c17)[0x7f198bed1c17]
/lib/x86_64-linux-gnu/libc.so.6(+0x39fe8)[0x7f198aa6efe8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a035)[0x7f198aa6f035]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7f198aa55837]
/usr/sbin/connmand[0x410069]
Second, I noticed that after using move-before, the order of ipv4
routing tables was changed, but this didn't seem to be the case for ipv6
route tables. I'm not sure whether this should be the case or not.
Do you have any suggestions regarding either of the issues?
Regards,
Fred
------------------------------
Message: 4
Date: Tue, 04 Oct 2016 14:53:25 +0300
From: Patrik Flykt <[email protected]>
To: Fr?d?ric Dalleau <[email protected]>,
[email protected]
Subject: Re: A couple connman issues
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
Hi,
On Tue, 2016-10-04 at 13:37 +0200, Fr?d?ric Dalleau wrote:
> Hi,
>
> I have had two issues with my recent connman adventures.
> First, I came accross this backtrace, which occured when quitting?
> connman after using move-before.
Darn.
> *** Error in `/usr/sbin/connmand': corrupted double-linked list:?
> 0x0000000002077520 ***
> ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f198aaac725]
> /lib/x86_64-linux-gnu/libc.so.6(+0x80679)[0x7f198aab5679]
> /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f198aab8abc]
> /usr/lib/x86_64-linux-gnu/libtasn1.so.6(+0xb22a)[0x7f1989cef22a]
> /usr/lib/x86_64-linux-
> gnu/libtasn1.so.6(asn1_delete_structure2+0x7a)[0x7f1989cf03ea]
> /usr/lib/x86_64-linux-gnu/libgnutls.so.30(+0x44378)[0x7f198b469378]
> /lib64/ld-linux-x86-64.so.2(+0x10c17)[0x7f198bed1c17]
> /lib/x86_64-linux-gnu/libc.so.6(+0x39fe8)[0x7f198aa6efe8]
> /lib/x86_64-linux-gnu/libc.so.6(+0x3a035)[0x7f198aa6f035]
> /lib/x86_64-linux-
> gnu/libc.so.6(__libc_start_main+0xf7)[0x7f198aa55837]
> /usr/sbin/connmand[0x410069]
>
>
> Second, I noticed that after using move-before, the order of ipv4?
> routing tables was changed, but this didn't seem to be the case for
> ipv6?
> route tables. I'm not sure whether this should be the case or not.
>
>
> Do you have any suggestions regarding either of the issues?
There was some discussion about move before and move after, neither of
them work as expected, and it's really non-trivial to get it fixed. See
approximately the last discussion on the issue at?https://lists.01.org/
pipermail/connman/2016-August/000879.html?
Cheers,
Patrik
------------------------------
Message: 5
Date: Tue, 04 Oct 2016 17:33:22 +0530
From: Niraj Kumar Goit <[email protected]>
To: [email protected]
Cc: [email protected], Niraj Kumar Goit <[email protected]>
Subject: Query for IPv6 Network (Method=auto)
Message-ID: <[email protected]>
---
Dear All,
I have a query regarding IPv6 network [Method=auto]. I am using connman version
1.33.
I am validating IPv6 network and in below test-scenario failed to get IPv6 IP
address at connman.
Test-scenario:
1. Connect device with wireless AP (IPv6 Address Assign Type- Stateless, IPv6
Prefix- 2001:e342::).
2. Check connected device service profile and able to get auto IPv6 IP address.
3. Change IPv6 configuration to manual.
config wifi_c09727094bec_496e6672615f3532_managed_psk --ipv6
manual 2001:e342::101 32
4. Change IPv6 configuration to auto.
config wifi_c09727094bec_496e6672615f3532_managed_psk --ipv6
auto
5. Check connected device service profile. IPv6 IP address is not set
automatically in connman.
Also when IPv6 configuration Method is changed from auto to manual,
connman_ipconfig_ops "service_ip_bound" callback is executed.
service_ip_bound(7790) > service 0x7f125f98 ipconfig 0x7f12faa0 type 2
method 3
ipconfig_changed(1687) > service 0x7f125f98 ipconfig 0x7f12faa0
But when we are changing IPv6 configuration Method from "manual" to "auto" no
such callback function is executed and IPv6 IP address
is not available in connman.
However, IPv6 IP address is available on wlan0 interface at command-line. I
have checked it using ifconfig.
Could you please let me know how to get IPv6 IP address at connMan layer, when
switching from manual to auto method?
Thanks,
Niraj
1.7.9.5
------------------------------
Message: 6
Date: Tue, 4 Oct 2016 14:37:57 +0200
From: Fr?d?ric Dalleau <[email protected]>
To: Patrik Flykt <[email protected]>, [email protected]
Subject: Re: A couple connman issues
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi Patrik,
On 04/10/2016 13:53, Patrik Flykt wrote:
> There was some discussion about move before and move after, neither of
> them work as expected, and it's really non-trivial to get it fixed. See
> approximately the last discussion on the issue at https://lists.01.org/
> pipermail/connman/2016-August/000879.html
Thanks, I'll check that carefully.
I've only been using move-before as a debug tool for now because of
an unreliable network interface.
Regards,
Fred
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 12, Issue 2
**************************************