Difference between revisions of "ConnMan"

From ArchWiki
Jump to: navigation, search
m (Remove gap.)
Line 1: Line 1:
[[Category:Wireless Networking]]
[[Category:Wireless Networking]]
{{Article summary start}}
{{Article summary start}}
{{Article summary text|Covers installation and configuration of ConnMan – an alternative to [[NetworkManager]].}}
{{Article summary text|Covers installation and configuration of ConnMan – an alternative to [[NetworkManager]].}}

Revision as of 02:48, 28 November 2012

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end

ConnMan is an alternative to NetworkManager and Wicd and was created by Intel and the Moblin project for use with embedded devices.


Install from community


To control ConnMan as a regular user, add these lines to /etc/dbus-1/system.d/connman.conf under the policy user="root" block.

  <policy group="network">
       <allow send_destination="org.moblin.connman"/>
       <allow send_interface="org.moblin.connman.Agent"/>
       <allow send_interface="org.moblin.connman.Counter"/>

Using ConnMan

Unfortunately, at the time of this writing, ConnMan does not have a working applet. To control ConnMan, one can use the test scripts included in the source package.

You need python and python-dbus to run these.

Start connman and in a terminal, open the test directory in the source package.

To list the available networks type:

  ./test-connman services

You will see something similar to this (not actual results):

 MyWiFi         { wifi_8945762986259dfgs9hsd9bgs9e_managed_wep }
 Another Wifi         { wifi_8asd356w3asdgdfgs9hsd9bgs9e_managed_wep }

The code after the SSID is important. This identifies the network you want to connect to. To connect to this network first, enter your password by:

   ./test-connman passphrase wifi_8945762986259dfgs9hsd9bgs9e_managed_wep PASSWORDHERE

And connect using:

   ./test-connman connect wifi_8945762986259dfgs9hsd9bgs9e_managed_wep

You should now be connected to the network. Check using ifconfig.