Difference between revisions of "Connman"

From ArchWiki
Jump to: navigation, search
(Using ConnMan: Change to ip command.)
m (+link to the french wiki page)
Line 1: Line 1:
 +
[[fr:Connman]]
 
[[it:Connman]]
 
[[it:Connman]]
 
[[Category:Wireless Networking]]
 
[[Category:Wireless Networking]]

Revision as of 09:56, 21 April 2013

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 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, you will see something similar to this (not actual results):

./test-connman services
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 ip a.