Comment 4 for bug 586033

I came across this bug because Empathy thinks I'm offline when I'm using connman and indicator-network. When I run the dbus-send command above I get:

$ dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.state
method return sender=:1.1 -> dest=:1.123 reply_serial=2
   uint32 4

I checked and connmand is running with the '-c' option.

$ ps aux | grep connman
root 1078 0.0 0.1 3816 2020 ? Ss 12:19 0:00 /usr/sbin/connmand -c
root 2531 0.0 0.0 2296 980 ? S 12:27 0:00 /sbin/dhclient -d -q -e BUSNAME=org.moblin.connman -e BUSINTF=org.moblin.connman.Task -e BUSPATH=/task/1 -pf /var/run/connman/dhclient.wlan0.pid -lf /var/run/connman/dhclient.wlan0.leases -cf /usr/lib/connman/scripts/dhclient.conf -sf /usr/lib/connman/scripts/dhclient-script wlan0 -n

$ cmcc state
State: online
OfflineMode: false
DefaultTechnology: wifi
ConnectedTechnologies: { wifi }
EnabledTechnologies: { ethernet wifi bluetooth }
AvailableTechnologies: { ethernet wifi bluetooth }
ActiveProfile: /profile/default
Profiles: { /profile/default }
Providers: { }
EnabledDebugs: { }
AvailableDebugs: { }
Technologies: { /org/moblin/connman/technology/ethernet /org/moblin/connman/technology/wifi /org/moblin/connman/technology/bluetooth }
Services: { /profile/default/wifi_00242bdd91cd_5562756e7475_managed_psk /profile/default/wifi_00242bdd91cd_5562756e74752d576573746d696e73746572_managed_psk /profile/default/wifi_00242bdd91cd_5562756e74752d4c616d62657468_managed_psk /profile/default/wifi_00242bdd91cd_5562756e74752d426174746572736561_managed_psk /profile/default/wifi_00242bdd91cd_415031_managed_psk /profile/default/wifi_00242bdd91cd_45412d574952454c455353_managed_ieee8021x /profile/default/wifi_00242bdd91cd_416c746974756465205468616d6573_managed_psk /profile/default/wifi_00242bdd91cd_56495349544f524e4554_managed_none /profile/default/wifi_00242bdd91cd_5769466920486f747a6f6e65_managed_none }