connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* How to create connman_1.40.bbappend to enable and to build connman with iwd?
       [not found] <16BAEC7B11896AEA.23256@lists.yoctoproject.org>
@ 2021-11-26  6:26 ` Jupiter
       [not found]   ` <16BB4412EB9EABB0.15594@lists.yoctoproject.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jupiter @ 2021-11-26  6:26 UTC (permalink / raw)
  To: yocto; +Cc: oe-core, comman, Daniel Wagner, Armin Kuster, Alexander Kanavin

Hi,

Given the high profile of iwd and advocating connman with iwd, I
believe someone have already built Yocto connman and iwd,
surprisingly, I could not even find an iwd recipe in
https://github.com/openembedded/openembedded/tree/master/recipes, nor
can I find connman document and instructions to replace wpa_supplicant
by iwd, what could I be missing here?

Appreciate your kind advice.

Thank you.

Kind regards,

- jh


On 11/26/21, JH via lists.yoctoproject.org
<jupiter.hce=gmail.com@lists.yoctoproject.org> wrote:
> Hi,
>
> Please correct me, but it seems to me the connman is moving to a
> direction to ditch out wpa_supplicant and to use iwd, but the Honister
> still configure connman with wpa_supplicant by default, appreciate
> your advice:
>
> - Is connman with iwd stable enough?
>
> - How can I create a connman_1.40.bbappend  to replace wpa_supplicant
> by iwd configure?
>
> - Where are the documents for configuring and building connman with
> iwd? Where is the operational guidance to run connman with iwd? Can I
> use the same connman dbus APIs or are there any dbus API changes to
> run connman with iwd?
>
> My apology for FAQs.
>
> Thank you very much.
>
> Kind regards,
>
> - JH
>


--
"A man can fail many times, but he isn't a failure until he begins to
blame somebody else."
-- John Burroughs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] [OE-core] How to create connman_1.40.bbappend to enable and to build connman with iwd?
       [not found]     ` <CANx9H-BczVumN8LwcH6+4SmobRJz=Hxmand2soVyfuoYZVmMQw@mail.gmail.com>
@ 2021-11-27  5:50       ` Jupiter
  2021-12-19 17:15         ` Daniel Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Jupiter @ 2021-11-27  5:50 UTC (permalink / raw)
  To: Tim Orling
  Cc: Alexander Kanavin, Armin Kuster, Daniel Wagner, comman, oe-core, yocto

Thanks Tim for the link, I have built the iwd.

According to Daniel's advice to configure with "--disable-wifi,
--enable-iwd", I added PACKAGECONFIG[wifi] = "--disable-wifi,
--enable-iwd", to override PACKAGECONFIG[wifi] in oe-core
connman_1.40.bb. The intention is to remove wpa-supplicant and to add
iwd to connman_1.40.bbappend, it built the image without error, I
believe that the syntax is OK, but the wpa-supplicant was still built
and packaged. Any idea from OE/Yocto insiders why PACKAGECONFIG[wifi]
in bbappend is not effective?

Daniel, how can I verify in the Linux console if the connmand is
running with iwd or with wpa_supplicant? I have disabled
wpa_supplicant.service, and I'll remove wpa_supplicant completely when
I find a way to do it.

Thank you.

Kind regards,

- jh
On 11/27/21, Tim Orling <ticotimo@gmail.com> wrote:
> On Fri, Nov 26, 2021 at 5:48 PM Tim Orling via lists.yoctoproject.org
> <ticotimo=gmail.com@lists.yoctoproject.org> wrote:
>
>>
>>
>> On Thu, Nov 25, 2021 at 10:26 PM JH <jupiter.hce@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Given the high profile of iwd and advocating connman with iwd, I
>>> believe someone have already built Yocto connman and iwd,
>>> surprisingly, I could not even find an iwd recipe in
>>> https://github.com/openembedded/openembedded/tree/master/recipes, nor
>>> can I find connman document and instructions to replace wpa_supplicant
>>> by iwd, what could I be missing here?
>>>
>>
>> Please look at the layer index for recipes:
>> https://layers.openembedded.org/layerindex/branch/master/layers/
>>
>> I don’t have any advice for building it however.
>>
>
> I forgot to include the recipe link:
> https://layers.openembedded.org/layerindex/recipe/89268/
>
>
>>
>>> Appreciate your kind advice.
>>>
>>> Thank you.
>>>
>>> Kind regards,
>>>
>>> - jh
>>>
>>>
>>> On 11/26/21, JH via lists.yoctoproject.org
>>> <jupiter.hce=gmail.com@lists.yoctoproject.org> wrote:
>>> > Hi,
>>> >
>>> > Please correct me, but it seems to me the connman is moving to a
>>> > direction to ditch out wpa_supplicant and to use iwd, but the Honister
>>> > still configure connman with wpa_supplicant by default, appreciate
>>> > your advice:
>>> >
>>> > - Is connman with iwd stable enough?
>>> >
>>> > - How can I create a connman_1.40.bbappend  to replace wpa_supplicant
>>> > by iwd configure?
>>> >
>>> > - Where are the documents for configuring and building connman with
>>> > iwd? Where is the operational guidance to run connman with iwd? Can I
>>> > use the same connman dbus APIs or are there any dbus API changes to
>>> > run connman with iwd?
>>> >
>>> > My apology for FAQs.
>>> >
>>> > Thank you very much.
>>> >
>>> > Kind regards,
>>> >
>>> > - JH
>>> >
>>>
>>>
>>> --
>>> "A man can fail many times, but he isn't a failure until he begins to
>>> blame somebody else."
>>> -- John Burroughs
>>>
>>>
>>>
>>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#55430):
>> https://lists.yoctoproject.org/g/yocto/message/55430
>> Mute This Topic: https://lists.yoctoproject.org/mt/87331141/924729
>> Group Owner: yocto+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
>> ticotimo@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>
>


--
"A man can fail many times, but he isn't a failure until he begins to
blame somebody else."
-- John Burroughs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] [OE-core] How to create connman_1.40.bbappend to enable and to build connman with iwd?
  2021-11-27  5:50       ` [yocto] [OE-core] " Jupiter
@ 2021-12-19 17:15         ` Daniel Wagner
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Wagner @ 2021-12-19 17:15 UTC (permalink / raw)
  To: Jupiter
  Cc: Tim Orling, Alexander Kanavin, Armin Kuster, comman, oe-core, yocto

On Sat, Nov 27, 2021 at 04:50:58PM +1100, Jupiter wrote:
> Daniel, how can I verify in the Linux console if the connmand is
> running with iwd or with wpa_supplicant? I have disabled
> wpa_supplicant.service, and I'll remove wpa_supplicant completely when
> I find a way to do it.

ConnMan will only show the WiFi technology when the wpa_supplicant or
iwd is running the background. So it's pretty simple, if iwd is running
and ConnMan knows about WiFi, things are setup correctly.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-19 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16BAEC7B11896AEA.23256@lists.yoctoproject.org>
2021-11-26  6:26 ` How to create connman_1.40.bbappend to enable and to build connman with iwd? Jupiter
     [not found]   ` <16BB4412EB9EABB0.15594@lists.yoctoproject.org>
     [not found]     ` <CANx9H-BczVumN8LwcH6+4SmobRJz=Hxmand2soVyfuoYZVmMQw@mail.gmail.com>
2021-11-27  5:50       ` [yocto] [OE-core] " Jupiter
2021-12-19 17:15         ` Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).