Hi,

i tried this a while ago and for me the iwd.service failed to start.

Manually executing /usr/libexec/iwd from terminal told me, that

my Kernel config was missing a bunch of CONFIG_CRYPTO_ entries

enabled. After rebuilding the kernel the iwd service started properly

and iwd was basically set up for connman. But to my knowledge

even upstream connman is not able to scan wifi with iwd. That is

quite a showstopper. You cant completely remove wpa-supplicant

because you would still need it to set up your network. So this is not

ready for productive use i'd say.


Am 27.11.21 um 06:50 schrieb JH:
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 <ticot...@gmail.com> wrote:
On Fri, Nov 26, 2021 at 5:48 PM Tim Orling via lists.yoctoproject.org
<ticotimo=gmail....@lists.yoctoproject.org> wrote:


On Thu, Nov 25, 2021 at 10:26 PM JH <jupiter....@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....@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







--
"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 (#158848): 
https://lists.openembedded.org/g/openembedded-core/message/158848
Mute This Topic: https://lists.openembedded.org/mt/87331164/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to