Thanks for the answer Jason !
Indeed DBUS is enabled for wpa_supplicant.
# grep DBUS defconfig
In my research I saw that rfkill was not enabled for the kernel !
I looked too fast at that debug.log, it was there all along:
connmand: Failed to open RFKILL control device
So with CONFIG_RFKILL=y in the kernel, /dev/rfkill is now available and I can now use
connmanctl enable wifi !
I didn't know that rfkill was mandatory to access the wifi/bt devices.
Now I am not able to scan for devices ... I don't have access to my device, but from
my research my wpa_supplicant must be missing the -u argument.
#connmanctl scan wifi
Error /net/connman/technology/wifi: Not supported
With all this everything should work tomorrow !
From: Jason Abele [mailto:firstname.lastname@example.org]
Sent: February 2, 2016 19:04
To: Francis Leblanc-Lebeau
Subject: Re: Wifi interface not recognized by connman
On Tue, Feb 2, 2016 at 11:39 AM, Francis Leblanc-Lebeau <fleblanc(a)orthogone.ca>
The wifi device is not recognized by connman, but it is by
wpa_supplicant (named mlan0) and working if manually configuring
wpa_supplicant.conf, dhcpd, etc.
Did you enable the dbus interface in wpa_supplicant?
It looks like connman never contacted wpa_supplicant via dbus.