ConnMan

Revision 16 as of 2010-06-17 14:10:49

Clear message

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.

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
  2. Install indicator-network (which will also install connman):
    • sudo apt-get install indicator-network
  3. 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
  4. Reboot computer.
  5. Use 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
    2. Install usb-modeswitch:
      • sudo apt-get install usb-modeswitch
    3. Plug in the modem and wait for the initialisation to finish
    4. Check that cellular network is found:
      • cmcc list
    5. Edit APN for the connection (usually it's "internet", but depends on the operator):
      • cmcc edit <connectionname> apn <apnname>
    6. 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
  2. Remove all connman related packages:
    • sudo apt-get remove indicator-network connman
  3. Reboot computer.

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