Connman

From ArchWiki
Revision as of 00:42, 26 December 2012 by Fengchao (Talk | contribs) (Using ConnMan: Use AUR template. In case there will be a non svn package in AUR, it will automatically show up in the search.)

Jump to: navigation, search

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.

Installation

Install from community

Configuring

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"/>
   </policy>

Using ConnMan

Unfortunately, at the time of this writing, ConnMan only has a working applet in Enlightenment. It is called econnmanAUR. To control ConnMan in other window managers / desktop environments, 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.