ConnMan

Differences between revisions 15 and 27 (spanning 12 versions)
Revision 15 as of 2010-06-17 07:13:10
Size: 3385
Editor: a91-155-134-76
Comment: Add link to TODO
Revision 27 as of 2011-03-15 13:06:52
Size: 3546
Editor: a88-115-184-248
Comment: Add links to feature bugs
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
There is a project going on to get [[https://launchpad.net/indicator-network|Network Menu]] and [[http://connman.net/|Connection Manager]] (connman) to Ubuntu 10.10 Netbook Edition (UNE). The project is in early phases still, but the packages are available for testing. {{attachment:network-menu.jpg|screenshot of Network Menu|align="right"}}
Line 3: Line 3:
 * [[ConnMan/Reporting|ConnMan/Reporting]]
 * [[ConnMan/Debugging|ConnMan/Debugging]]
 * [[ConnMan/Hardware/3G|ConnMan/Hardware/3G]]
 * [[ConnMan/TODO|ConnMan/TODO]]
[[http://connman.net/|Connection Manager]] (ConnMan) is a daemon for managing internet connections in Linux. The Connection Manager is designed to be slim and to use as few resources as possible, so it can be easily integrated. The primary use case is embedded systems, but it can be also used in desktop environments.
Line 8: Line 5:
== Installation for Ubuntu 10.04 LTS == [[http://ofono.org/|oFono]] is a mobile telephony stack for Linux. For Connman it provides access to data modems so that a connection to Internet can be created.
Line 10: Line 7:
Installation instructions for Ubuntu 10.04 LTS, applies both to Desktop and UNE: Ubuntu has [[https://launchpad.net/indicator-network|Network Menu]] as the frontend for ConnMan. It uses [[DesktopExperienceTeam/ApplicationIndicators|Application Indicator framework]] to show the menu to the user and provides various dialogs needed for managing Internet connections.
Line 12: Line 9:
 1. Install Indicator Network PPA: The goal is to have all this working in Ubuntu Netbook Edition (UNE), but all the components work also with the Desktop edition.
Line 14: Line 11:
    {{{
sudo add-apt-repository ppa:indicator-network-developers/ppa
sudo apt-get update
    }}}
== Table of Contents ==
Line 19: Line 13:
 1. Install indicator-network (which will also install connman):  * [[ConnMan/Installation|Installation]]
 * [[ConnMan/Usage|Usage]]
 * [[ConnMan/ReportingBugs|Reporting bugs]]
 * [[ConnMan/Debugging|Debugging]]
 * [[ConnMan/Hardware/3G|3G support]]
 * [[ConnMan/Hardware/Test|Testing hardware support]]
 * [[ConnMan/DailyBuilds|Daily builds]]
Line 21: Line 21:
    {{{
sudo apt-get install indicator-network
    }}}
== Status ==
Line 25: Line 23:
 1. Disable !NetworkManager from starting during boot: The packages are now included in Ubuntu 10.10, but are not installed by default and needs to be manually installed. UI components are still under state of flux, but most of the features should work now.
Line 27: Line 25:
    {{{
sudo mv /etc/init/network-manager.conf /etc/init/network-manager.conf-disabled
sudo mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/nm-applet.desktop.disabled
    }}}
Supported features:
Line 32: Line 27:
 1. Reboot computer.  * Ethernet
 * Wi-Fi Open, WEP, WPA and WPA2
 * 3G on GSM networks
 * BT PAN
 * IPv6
Line 34: Line 33:
 1. Use [[NetworkSettings|NetworkMenu]] by clicking network indicator icon. Notable missing features:
Line 36: Line 35:
Please note that network-manager is still installed, but not running. Also the nm-applet is removed from the panel.

Current usage options:

 * Wired: plug in cable and network will be automatically enabled
 * Wi-Fi: click indicator icon and choose network
 * Wi-Fi security: a dialog asks passphrase from user during connection establishment
 * Command-line tool cmcc for debugging and editing connections. For usage run:

    {{{
cmcc help
    }}}

 * 3G modems:
   1. Install ofono:
     {{{
sudo apt-get install ofono
     }}}
   1. Install usb-modeswitch:
     {{{
sudo apt-get install usb-modeswitch
     }}}
   1. Plug in the modem and wait for the initialisation to finish
   1. Check that cellular network is found:
     {{{
cmcc list
     }}}
   1. Edit APN for the connection (usually it's "internet", but depends on the operator):
     {{{
cmcc edit <connectionname> apn <apnname>
     }}}
   1. Start connection normally using the Network Menu

== Reverting back to network-manager ==

To revert back to network-manager and remove all connman related:

 1. Enable network-manager:

  {{{
sudo mv /etc/init/network-manager.conf-disabled /etc/init/network-manager.conf
sudo mv /etc/xdg/autostart/nm-applet.desktop.disabled /etc/xdg/autostart/nm-applet.desktop
  }}}

 1. Remove all connman related packages:

  {{{
sudo apt-get remove indicator-network connman
  }}}

 1. Reboot computer.
 * VPN ([[https://bugs.launchpad.net/connman/+bug/586893|bug #586893]])
 * Wi-Fi Ad-Hoc ([[https://bugs.launchpad.net/connman/+bug/703889|bug #703889]])
 * WPA Enterprise ([[https://bugs.launchpad.net/indicator-network/+bug/730158|bug #730158]])
 * CDMA/EVDO modem support
 * BT DUN
 * PPPoE ([[https://bugs.launchpad.net/connman/+bug/735457|bug #735457]])
Line 90: Line 44:
All feedback, good or bad, is appreciated. Please send any comments to [[https://launchpad.net/~kvalo|Kalle Valo]] <[[mailto:[email protected]|[email protected]]]>. All bug reports are greatly appreciated and there is a separate page [[ConnMan/ReportingBugs|about reporting bugs]].
Line 92: Line 46:
File bugs to indicator-network project: Any feedback, good or bad, is really valuable. Please send any comments to [[https://launchpad.net/~kvalo|Kalle Valo]] <[[mailto:[email protected]|[email protected]]]>. You can also [[https://answers.launchpad.net/indicator-network/+addquestion|ask questions in launchpad]].
Line 94: Line 48:
https://bugs.launchpad.net/indicator-network == News ==

If you want to stay up-to-date what's happening in ConnMan Ubuntu project, follow [[https://kvalo.wordpress.com/category/connman/|connman category]] of Kalle Valo's blog.
Line 99: Line 55:
 * [[http://connman.net|Connection Manager]] project
 * [[http://ofono.org|oFono]] project
 * [[https://launchpad.net/indicator-network|indicator-network]] in launchpad
 * [[https://launchpad.net/connman|connman]] in launchpad
 * [[https://launchpad.net/ofono|ofono]] in launchpad
 * [[http://connman.net|Connection Manager upstream project]]
 * [[http://ofono.org|oFono]]
 * [[https://launchpad.net/indicator-network|indicator-network launchpad project]]
 * [[https://launchpad.net/connman|connman launchpad project]]
 * [[https://launchpad.net/ofono|ofono launchpad project]]
 * [[https://launchpad.net/indicator-network|indicator-network launchpad project]]
 * [[https://launchpad.net/ubuntu/+source/connman|connman ubuntu package]]
 * [[https://launchpad.net/ubuntu/+source/ofono|ofono ubuntu package]]
 * [[https://launchpad.net/ubuntu/+source/indicator-network|indicator-network ubuntu package]]
Line 105: Line 65:
 * [[https://launchpad.net/~indicator-network-developers/+archive/daily-ppa|Indicator Network daily PPA]]

screenshot of Network Menu

Connection Manager (ConnMan) is a daemon for managing internet connections in Linux. The Connection Manager is designed to be slim and to use as few resources as possible, so it can be easily integrated. The primary use case is embedded systems, but it can be also used in desktop environments.

oFono is a mobile telephony stack for Linux. For Connman it provides access to data modems so that a connection to Internet can be created.

Ubuntu has Network Menu as the frontend for ConnMan. It uses Application Indicator framework to show the menu to the user and provides various dialogs needed for managing Internet connections.

The goal is to have all this working in Ubuntu Netbook Edition (UNE), but all the components work also with the Desktop edition.

Table of Contents

Status

The packages are now included in Ubuntu 10.10, but are not installed by default and needs to be manually installed. UI components are still under state of flux, but most of the features should work now.

Supported features:

  • Ethernet
  • Wi-Fi Open, WEP, WPA and WPA2
  • 3G on GSM networks
  • BT PAN
  • IPv6

Notable missing features:

Feedback

All bug reports are greatly appreciated and there is a separate page about reporting bugs.

Any feedback, good or bad, is really valuable. Please send any comments to Kalle Valo <[email protected]>. You can also ask questions in launchpad.

News

If you want to stay up-to-date what's happening in ConnMan Ubuntu project, follow connman category of Kalle Valo's blog.

ConnMan (last edited 2011-03-15 13:06:52 by a88-115-184-248)