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. Re: Connman v1.33 with systemd v230 : experiencing delay in
      IP assignment (Daniel Wagner)
   2. Re: Does connman support Multiple APN with Ofono plugin ?
      (Daniel Wagner)
   3. Re: Does connman support Multiple APN with Ofono plugin ?
      (Naveen Kumar Danturi)
   4. Getting of ethernet MAC (Vladimir Davydov)


----------------------------------------------------------------------

Message: 1
Date: Mon, 9 Jan 2017 22:07:15 +0100
From: Daniel Wagner <[email protected]>
To: Shrikant Bobade <[email protected]>
Cc: [email protected]
Subject: Re: Connman v1.33 with systemd v230 : experiencing delay in
        IP assignment
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi Shrikant,

On 01/09/2017 11:22 AM, Shrikant Bobade wrote:
> seems the connmand hangs much earlier..

And so goes my theory down the toilet. Well, so there is something
calling gnutls_global_init really early on.

>>> #4  0x76d64dfc in _gnutls_global_init (constructor=constructor@entry=1)
>>> at ../../gnutls-3.5.3/lib/global.c:307

This time I think I got it(TM). On load of the library the 'constructor'
of the library is called (see man pages for details: man dlopen) and
gnutls calls under certain condition _gnutls_global_init() itself.
That also explains why you don't see an proper stack trace in gdb. 

>From lib/global.c:


static void _CONSTRUCTOR lib_init(void)
{
int ret;
const char *e;

        if (_gnutls_global_init_skip() != 0)
                return;

        e = secure_getenv("GNUTLS_NO_EXPLICIT_INIT");
        if (e != NULL) {
                ret = atoi(e);
                if (ret == 1)
                        return;
        }

        ret = _gnutls_global_init(1);
        if (ret < 0) {
                fprintf(stderr, "Error in GnuTLS initialization: %s\n", 
gnutls_strerror(ret));
                _gnutls_switch_lib_state(LIB_STATE_ERROR);
        }
}

if you start ConnMan with 'GNUTLS_NO_EXPLICIT_INIT=1 ./connmand -n -d' it 
should work.

Now I cross my fingers :D

cheers,
daniel


------------------------------

Message: 2
Date: Mon, 9 Jan 2017 22:11:38 +0100
From: Daniel Wagner <[email protected]>
To: Naveen Kumar Danturi <[email protected]>,
        [email protected]
Subject: Re: Does connman support Multiple APN with Ofono plugin ?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi Naveen,

On 01/09/2017 07:25 PM, Naveen Kumar Danturi wrote:
> I am pretty new to connman/ofono, does Connman support Multiple APN data
> connections with ofono plug in ?

If the multiple APN are exported as individual modems, all should work 
out of the box. What 'ofono/test/list-modems' show?

> If so, How the routing works , what
> API/interfaces we can use to switch between different connections?

ConnMan adds a route entry for each connection and there is obviously 
only one default route available (the Service which is marked as online).

> For Ex: If i have a USB0 dev interface which listens to APN0 , what API
> i can use to switch USB0 to APN1 ?

That part is in the domain of oFono. I am not so firm anymore on this 
topic. Best thing would be to ask the oFono details on the corresponding 
mailing list.

cheers,
daniel


------------------------------

Message: 3
Date: Mon, 9 Jan 2017 17:16:23 -0600
From: Naveen Kumar Danturi <[email protected]>
To: Daniel Wagner <[email protected]>
Cc: [email protected]
Subject: Re: Does connman support Multiple APN with Ofono plugin ?
Message-ID:
        <CAN3FBZbdgY1+Y9JBk38Xf5e818nnpSFwYq-aL3Z90WM-=ox...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Daniel,
I have a single Qualcomm Modem which supports multiple Packet data
connections [i.e., multiple data sessions]. The use case is i have to use
one data session for general internet browsing, other session for Firmware
upgrade etc., this is supported from modem side. Are you saying that this
can be possible from connman?

Thanks,
Naveen


On Mon, Jan 9, 2017 at 3:11 PM, Daniel Wagner <[email protected]> wrote:

> Hi Naveen,
>
> On 01/09/2017 07:25 PM, Naveen Kumar Danturi wrote:
>
>> I am pretty new to connman/ofono, does Connman support Multiple APN data
>> connections with ofono plug in ?
>>
>
> If the multiple APN are exported as individual modems, all should work out
> of the box. What 'ofono/test/list-modems' show?
>
> If so, How the routing works , what
>> API/interfaces we can use to switch between different connections?
>>
>
> ConnMan adds a route entry for each connection and there is obviously only
> one default route available (the Service which is marked as online).
>
> For Ex: If i have a USB0 dev interface which listens to APN0 , what API
>> i can use to switch USB0 to APN1 ?
>>
>
> That part is in the domain of oFono. I am not so firm anymore on this
> topic. Best thing would be to ask the oFono details on the corresponding
> mailing list.
>
> cheers,
> daniel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20170109/b16a174e/attachment-0001.html>

------------------------------

Message: 4
Date: Tue, 10 Jan 2017 20:20:09 +0300
From: Vladimir Davydov <[email protected]>
To: <[email protected]>
Subject: Getting of ethernet MAC
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi All!

I have a task to get MAC address of ethernet controller by using connman.
I'm using D-Bus API and GetServices method.
Everything is working fine when network cable is plugged.

But when a cable is unplugged then Ethernet service is missed in the list of 
services.
As I found in documentation, that is expected behaviour:




So, the question is:
How to get MAC address of ethernet device if network cable is NOT plugged?

Thanks,
Vladimir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20170110/c647cfad/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 15, Issue 9
**************************************

Reply via email to