beaglebone black wireless

I have beaglebone black wireless i am trying to scan wifi using connmanctl wifi connect But I can’t even scan anything, see the error below. I get the same error for anything I try and do with connman, but I can’t find much about this error on the web.


 connmanctl scan wifi
Error /net/connman/technology/wifi: The name net.connman was not provided by any .service files.
Thank you