Hello.

I'm in the process to test out connman on my laptop to evaluate it's use for
freesmartphone.org

For now I'm hanging at the very beginning as it seems not to detect my Intel
5300 wifi card. Marcel suggested that maybe the plugins are not loaded. But
step-by-step.

I have removed all installed connman stuff from my system, purged the repo and
started from scratch. According to HACKING I'm using ./bootstrap-configure

I get a failure in the gtk-doc part then when running make:

touch sgml-build.stamp
p /dbus
make[2]: p: Command not found
make[2]: [dbus/manager.xml] Error 127 (ignored)
echo "<?xml version=\"1.0\"?>" > dbus/manager.xml
/bin/sh: dbus/manager.xml: No such file or directory
make[2]: *** [dbus/manager.xml] Error 1
make[2]: Leaving directory
`/home/stefan/Projekte/smartphones/connman/connman/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefan/Projekte/smartphones/connman/connman'
make: *** [all] Error 2

Somehow the env is not set correctly. Using this one let's make run through.

make MKDIR_P=mkdir builddir=$(pwd)/doc/

Now I'm running wpa_supplicant -u in another shell and test-supplicant shows
that wpa_supplicant knows about the card. (Can give you the output if needed)

Still starting connmand as described in HACKING gives me the following:

[EMAIL PROTECTED]:~/Projekte/smartphones/connman/connman$ sudo ./src/connmand -n
-d
Connection ":1.64" is not allowed to own the service "org.moblin.connman" due to
security policies in the configuration file

Not that hard to fix:
sudo cp src/connman.conf /etc/dbus-1/system.d/

Now it starts but stops without loading any plugin it seems:

[EMAIL PROTECTED]:~/Projekte/smartphones/connman/connman$ sudo ./src/connmand -n
-d
connmand[21985]: Connection Manager version 0.0
connmand[21985]: storage.c:__connman_storage_init() 
connmand[21985]: element.c:__connman_element_init() conn 0x1420570
connmand[21985]: element.c:connman_element_create() element 0x14228c0
connmand[21985]: element.c:create_default_properties() element 0x14228c0 name
root
connmand[21985]: element.c:create_default_properties() property IPv4.Method
connmand[21985]: element.c:create_property() element 0x14228c0 name root
connmand[21985]: element.c:create_default_properties() property IPv4.Address
connmand[21985]: element.c:create_property() element 0x14228c0 name root
connmand[21985]: element.c:create_default_properties() property IPv4.Netmask
connmand[21985]: element.c:create_property() element 0x14228c0 name root
connmand[21985]: element.c:create_default_properties() property IPv4.Gateway
connmand[21985]: element.c:create_property() element 0x14228c0 name root
connmand[21985]: element.c:create_default_properties() property IPv4.Nameserver
connmand[21985]: element.c:create_property() element 0x14228c0 name root
connmand[21985]: element.c:create_default_properties() property WiFi.Security
connmand[21985]: element.c:create_property() element 0x14228c0 name root
connmand[21985]: element.c:create_default_properties() property WiFi.Passphrase
connmand[21985]: element.c:create_property() element 0x14228c0 name root
connmand[21985]: device.c:__connman_device_init() 
connmand[21985]: element.c:connman_driver_register() driver 0x613a40 name device
connmand[21985]: element.c:probe_driver() element 0x14228c0 name root
connmand[21985]: agent.c:__connman_agent_init() conn 0x1420570
connmand[21985]: manager.c:__connman_manager_init() conn 0x1420570
connmand[21985]: profile.c:__connman_profile_init() conn 0x1420570
connmand[21985]: rtnl.c:__connman_rtnl_init() 
connmand[21985]: plugin.c:__connman_plugin_init()


Running list-devices in tests gives back nothing. Here I'm stucked so far.

Basic netlink detection, rtln.c, works. Pulling out and plugin in again my
network cable leads to this:

connmand[21985]: rtnl.c:rtnl_message() buf 0x7ffff6fb14b0 len 248
connmand[21985]: rtnl.c:rtnl_message() len 248 type 16 flags 0x0000 seq 0
connmand[21985]: rtnl.c:rtnl_message() NEWLINK
connmand[21985]: rtnl.c:rtnl_newlink() ifi_index 2 ifi_flags 0x1003
connmand[21985]: rtnl.c:process_newlink() index 2
connmand[21985]: rtnl.c:rtnl_message() buf 0x7ffff6fb14b0 len 248
connmand[21985]: rtnl.c:rtnl_message() len 248 type 16 flags 0x0000 seq 0
connmand[21985]: rtnl.c:rtnl_message() NEWLINK
connmand[21985]: rtnl.c:rtnl_newlink() ifi_index 2 ifi_flags 0x11043
connmand[21985]: rtnl.c:process_newlink() index 2


I had the same issue before even after I installed connman into the system.
Hints really appreciated.

regards
Stefan Schmidt

_______________________________________________
connman mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/connman

Reply via email to