ConnMan

Differences between revisions 16 and 17
Revision 16 as of 2010-06-17 14:10:49
Size: 3433
Editor: a91-155-134-76
Comment: Add link to DailyBuilds
Revision 17 as of 2010-06-28 09:32:08
Size: 1281
Editor: a91-155-134-76
Comment: Move installation instructions to a page of it's own
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * [[ConnMan/Installation|ConnMan/Installation]]
Line 8: Line 9:

== Installation for Ubuntu 10.04 LTS ==

Installation instructions for Ubuntu 10.04 LTS, applies both to Desktop and UNE:

 1. Install Indicator Network PPA:

    {{{
sudo add-apt-repository ppa:indicator-network-developers/ppa
sudo apt-get update
    }}}

 1. Install indicator-network (which will also install connman):

    {{{
sudo apt-get install indicator-network
    }}}

 1. Disable !NetworkManager from starting during boot:

    {{{
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
    }}}

 1. Reboot computer.

 1. Use [[NetworkSettings|NetworkMenu]] by clicking network indicator icon.

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.

There is a project going on to get Network Menu and Connection Manager (connman) to Ubuntu 10.10 Netbook Edition (UNE). The project is in early phases still, but the packages are available for testing.

Feedback

All feedback, good or bad, is appreciated. Please send any comments to Kalle Valo <[email protected]>.

File bugs to indicator-network project:

https://bugs.launchpad.net/indicator-network

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