connman on BeagleBone 2012.06.18 image

I tried this new version today and found some issue.

When I use ./test-connman services under /usr/lib/connect/test directory, it can return all AP. Great! Also I found some configuration file at /var/lib/connman.

But when run ./test-connman passphase my_essid my_pwd, it complain it can’t accept passphase as a command. So I can’t continue to connect WIFI.

It is a defect or there is another approach to configure connman?

Now I have to remove all connman package(opkg remove connman-*) and fall-back to /etc/network/interfaces way…

IIRC, it should be ./test-connman passphrase /the/service/object passphrase

you can get the service object path from ./test-connman services.

If it’s not the full service path, it may just be the service name.

-Kevron

I typed wrong.

Usage: /usr/lib/connman/test/test-connman

state
services
autoconnect [autoconnect]
connect
disconnect
remove

scan
enable
disable
offlinemode [on|off]

At last I did it - add new file /var/lib/connman/wifi.config. See http://ladyada.net/products/beaglebone/wifi.html