Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe 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 1.37 source code different in YOCTO (Daniel Wagner)
   2. Re: Connman 1.37 source code different in YOCTO
      (chaitanya cherukuri)


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

Date: Thu, 6 Feb 2020 19:31:42 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: Connman 1.37 source code different in YOCTO
To: chaitanya cherukuri <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

On Thu, Feb 06, 2020 at 01:19:05PM -0500, chaitanya cherukuri wrote:
> > No, either you use wpa_supplicant or iwd. You can't use both at the
> > same time
>
>   if I have both installed, do I need to create any services files, so
> connman uses iwd to connect and scan wireless networks instead of
> wpa_supplicant?

Starting wpa_supplicant or iwd is done by something like
systemd. ConnMan doesn't start them. ConnMan monitors the D-Bus and as
soon it finds wpa_supplicant on iwd on the bus it starts using them.

Yes, so install iwd and start/stop it with systemd or the rc.d scripts
if this is what you have on your embedded system.

>   does iwd work connman version 1.36 or do I need to user 1.37?

Basically you want ConnMan the not yet released 1.38 with the latest
iwd release (currently 1.4)

> > I observed the connman 1.37 source code that YOCTO uses is different
> > from the source code in
> > https://kernel.googlesource.com/pub/scm/network/connman/connman/.
> > To be more precise, I cannot find ipv4ll.c file in YOCTO source code.
> 
>    That is strange. I checkout out the above repository and find the file:
> 
>    $ find -name ipv4ll.c
>    ./gdhcp/ipv4ll.c
> 
>     I also cheked Yocto's ConnMan recipe:
> Sorry to get back to the source code difference. I cloned the master branch
> from https://git.kernel.org/pub/scm/network/connman/connman.git/ and
> compared with connman-1.37 ( from
> https://git.kernel.org/pub/scm/network/connman/connman.git/refs/) which are
> different. Is that what you expect>

Ah I think I understand your problem. The git tree is not identically
with the tar.gz file. The git tree contains really only those files
which are 'source'. Any file which can be generated is not part of the
git tree. So in order to build the git tree you need some 'special'
tools like autoheader on your system. The tar.gz contains generated
files and therefore you don't have so many build dependencies as the
git tree.

Thanks,
Daniel

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

Date: Thu, 6 Feb 2020 16:26:32 -0500
From: chaitanya cherukuri <[email protected]>
Subject: Re: Connman 1.37 source code different in YOCTO
To: Daniel Wagner <[email protected]>
Cc: [email protected]
Message-ID:
        <CALVd-wOmPZCCqct5vgGpgywXs246wFj=lecn3cbws4cspkc...@mail.gmail.com>
Content-Type: multipart/alternative;
        boundary="000000000000fbb243059deeed3a"

--000000000000fbb243059deeed3a
Content-Type: text/plain; charset="UTF-8"

Hi Daniel,

On Thu, Feb 6, 2020 at 1:31 PM Daniel Wagner <[email protected]> wrote:

> On Thu, Feb 06, 2020 at 01:19:05PM -0500, chaitanya cherukuri wrote:
> > > No, either you use wpa_supplicant or iwd. You can't use both at the
> > > same time
> >
> >   if I have both installed, do I need to create any services files, so
> > connman uses iwd to connect and scan wireless networks instead of
> > wpa_supplicant?
>
> Starting wpa_supplicant or iwd is done by something like
> systemd. ConnMan doesn't start them. ConnMan monitors the D-Bus and as
> soon it finds wpa_supplicant on iwd on the bus it starts using them.
>
> Yes, so install iwd and start/stop it with systemd or the rc.d scripts
> if this is what you have on your embedded system.
>
> >   does iwd work connman version 1.36 or do I need to user 1.37?
>
> Basically you want ConnMan the not yet released 1.38 with the latest
> iwd release (currently 1.4)



> > > I observed the connman 1.37 source code that YOCTO uses is different
> > > from the source code in
> > > https://kernel.googlesource.com/pub/scm/network/connman/connman/.
> > > To be more precise, I cannot find ipv4ll.c file in YOCTO source code.
> >
> >    That is strange. I checkout out the above repository and find the
> file:
> >
> >    $ find -name ipv4ll.c
> >    ./gdhcp/ipv4ll.c
> >
> >     I also cheked Yocto's ConnMan recipe:
> > Sorry to get back to the source code difference. I cloned the master
> branch
> > from https://git.kernel.org/pub/scm/network/connman/connman.git/ and
> > compared with connman-1.37 ( from
> > https://git.kernel.org/pub/scm/network/connman/connman.git/refs/) which
> are
> > different. Is that what you expect>
>
> Ah I think I understand your problem. The git tree is not identically
> with the tar.gz file. The git tree contains really only those files
> which are 'source'. Any file which can be generated is not part of the
> git tree. So in order to build the git tree you need some 'special'
> tools like autoheader on your system. The tar.gz contains generated
> files and therefore you don't have so many build dependencies as the
> git tree.
>
> Thank you for the clarification.

> Thanks,
> Daniel
>


-- 
--
Chaitanya

--000000000000fbb243059deeed3a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:comic sans ms,sans-serif;color:#3d85c6">Hi=C2=A0Daniel,</div></div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Th=
u, Feb 6, 2020 at 1:31 PM Daniel Wagner &lt;<a href=3D"mailto:[email protected]=
g">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex">On Thu, Feb 06, 2020 at 01:19:05PM -0500, chaitanya cheruk=
uri wrote:<br>
&gt; &gt; No, either you use wpa_supplicant or iwd. You can&#39;t use both =
at the<br>
&gt; &gt; same time<br>
&gt;<br>
&gt;=C2=A0 =C2=A0if I have both installed, do I need to create any services=
 files, so<br>
&gt; connman uses iwd to connect and scan wireless networks instead of<br>
&gt; wpa_supplicant?<br>
<br>
Starting wpa_supplicant or iwd is done by something like<br>
systemd. ConnMan doesn&#39;t start them. ConnMan monitors the D-Bus and as<=
br>
soon it finds wpa_supplicant on iwd on the bus it starts using them.<br>
<br>
Yes, so install iwd and start/stop it with systemd or the rc.d scripts<br>
if this is what you have on your embedded system.<br>
<br>
&gt;=C2=A0 =C2=A0does iwd work connman version 1.36 or do I need to user 1.=
37?<br>
<br>
Basically you want ConnMan the not yet released 1.38 with the latest<br>
iwd release (currently 1.4)</blockquote><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">
&gt; &gt; I observed the connman 1.37 source code that YOCTO uses is differ=
ent<br>
&gt; &gt; from the source code in<br>
&gt; &gt; <a href=3D"https://kernel.googlesource.com/pub/scm/network/connma=
n/connman/" rel=3D"noreferrer" target=3D"_blank">https://kernel.googlesourc=
e.com/pub/scm/network/connman/connman/</a>.<br>
&gt; &gt; To be more precise, I cannot find ipv4ll.c file in YOCTO source c=
ode.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 That is strange. I checkout out the above repository and =
find the file:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 $ find -name ipv4ll.c<br>
&gt;=C2=A0 =C2=A0 ./gdhcp/ipv4ll.c<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0I also cheked Yocto&#39;s ConnMan recipe:<br>
&gt; Sorry to get back to the source code difference. I cloned the master b=
ranch<br>
&gt; from <a href=3D"https://git.kernel.org/pub/scm/network/connman/connman=
.git/" rel=3D"noreferrer" target=3D"_blank">https://git.kernel.org/pub/scm/=
network/connman/connman.git/</a> and<br>
&gt; compared with connman-1.37 ( from<br>
&gt; <a href=3D"https://git.kernel.org/pub/scm/network/connman/connman.git/=
refs/" rel=3D"noreferrer" target=3D"_blank">https://git.kernel.org/pub/scm/=
network/connman/connman.git/refs/</a>) which are<br>
&gt; different. Is that what you expect&gt;<br>
<br>
Ah I think I understand your problem. The git tree is not identically<br>
with the tar.gz file. The git tree contains really only those files<br>
which are &#39;source&#39;. Any file which can be generated is not part of =
the<br>
git tree. So in order to build the git tree you need some &#39;special&#39;=
<br>
tools like autoheader on your system. The tar.gz contains generated<br>
files and therefore you don&#39;t have so many build dependencies as the<br=
>
git tree.<br>
<br></blockquote><div><span class=3D"gmail_default" style=3D"font-family:&q=
uot;comic sans ms&quot;,sans-serif;color:rgb(61,133,198)">Thank you for the=
 clarification.</span>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">
Thanks,<br>
Daniel<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><span style=3D"color:rgb(61,133=
,198)"><span style=3D"font-family:&quot;comic sans ms&quot;,sans-serif">--<=
br>Chaitanya</span></span><br></div></div></div>

--000000000000fbb243059deeed3a--

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

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


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

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

Reply via email to