Difference between revisions of "Connman"

From ArchWiki
Jump to: navigation, search
m (Remove gap.)
(Using ConnMan: Added info about econnman)
Line 24: Line 24:
 
== Using ConnMan ==
 
== 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.
+
Unfortunately, at the time of this writing, ConnMan only has a working applet in Enlightenment. It is called [https://aur.archlinux.org/packages/econnman-svn/ Econnman]. 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.
 
You need python and python-dbus to run these.

Revision as of 12:25, 25 December 2012

Summary help replacing me
Covers installation and configuration of ConnMan – an alternative to NetworkManager.
Related
Wireless Setup

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 Econnman. 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.