Hi Daniel,
On Sun, Feb 2, 2020, 9:58 AM Daniel Wagner <wagi(a)monom.org> wrote:
Hi Chaitanya,
On Thu, Jan 30, 2020 at 04:04:55PM -0500, chaitanya cherukuri wrote:
> 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:
https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-connectivit...
There are no funky changes or patches on top. Not sure how ipv4ll.c
get's lost. Do you have some sort of license clearing robot removing
files in post processing? Anyway, the upstream mirror looks ok.
I don't have any robot or post processing scripts to remove the files.
Thank you for confirming that upstream mirror is ok.
I enabled the wlan0 interface but did not connect to any network. I
> see my log if filled with these messages:
> wlcore: firmware booted (Rev 6.3.10.0.142)
> IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> wlcore: down
>
> I didn't see this behavior on connman 1.35 version,
wlcore message is the driver message. This is not from ConnMan. Did
you upgrade the complete Yocto distribution? If so, did you upgrade
the kernel and wpa_supplicant as well? I ask because I don't think
ConnMan is making troubles. It's more likely an upgrade of the kernel
or wpa_supplicant breaks your setup.
Enable the debug level on ConnMan side by setting the environment
variable CONNMAN_SUPPLICANT_DEBUG=1 and enabling the connman log
'connmand -n -d'. Furthermore, there is iwmon from the iwd project
which is an excellent debugging tool for looking at the kernel nl80211
interface. You can monitor all the traffic between wpa_supplicant and
the kernel.
I didn't upgrade the complete Yocto distribution. I only upgraded connman
and wpa_supplicant. I figured that the older version of wpa_supplicant was
also installed and was causing the problems. I will use iwmon for
monitoring traffic between wpa_supplicant and kernel. Can I use
wpa_supplicant version 2.6 for both connman 1.36? Can I replace
wpa_supplicant with iwd for scanning?
Thanks,
Daniel