Connman

From ArchWiki
Revision as of 17:48, 30 April 2010 by Xentalion (Talk | contribs) (creating the page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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

ConnMan is available in AUR and can be installed using yaourt or other package managers, or can be built from scratch. http://aur.archlinux.org/packages.php?ID=25181

Before building, install dhclient. This is required with the current PKGBUILD.

Configuring

To control ConnMan as a regular user, add these lines to Template:Filename 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 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.