Install in Ubuntu

NOTE: OpenProximity is not compatible with Ubuntu 11.04 yet, please stick to 10.04LTS while we fix the problem

Install in Ubuntu 11.04 (natty)

Installing in Ubuntu 11.04 is possible now, but not yet through our PPA, you may still need to add our PPA to provide some dependencies.

You will get it installed by running this commands in the terminal

sudo dpkg -i openproximity2_1rc1-aircable2_all.deb

If it fails then try with adding our PPA. Then run "apt-get install -f" to force installation. That usually works.
Note that after adding the PPA you will get notifications telling you there's an upgrade for OpenProximity, by now that's fake.

Install in Ubuntu 10.04LST

Ubuntu 10.04LST is the latest Ubuntu we support by now. Ubuntu 10.10 works as well.

Installing in Ubuntu is quite easy because we provide ready to use Ubuntu Packages, the way to do it is:

  1. Add our PPA to your sources.list
  2. Optional add our devel PPA (with testing packages)
  3. Install our PPA key
  4. apt-get update
  5. apt-get upgrade
  6. apt-get install

What you have to do is summarized as:

echo "deb jaunty main " | sudo tee -a /etc/apt/sources.list
# optional if you want to get devel version uncomment the next line.
# echo "deb jaunty main " | sudo tee -a /etc/apt/sources.list

sudo apt-key adv --keyserver --recv-keys B85B0133

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install python-gobject python-dbus libglib2.0-data openproximity2

After this steps you should reboot, and that will get you OpenProximity2 up and running.

Install in Ubuntu 9.10 (karmic)

OpenProximity PPA packages can be used in karmic you only need to run an extra command before rebooting:

sudo chmod 755 /etc/init.d/openproximity2
sudo update-rc.d openpriximity2 defaults

MobileServerXR from


If you already have an installed Unbuntu system with an older version of OpenProximity2 installed, you can use the Synaptic package manager.

Make sure you click on "RELOAD" first, then the package OpenProximity2 can be marked as update. Clock "APPLY" and you have the new version.

Installing on Ubuntu Netbook Remix 9.10


Add PPA to sources.list

Note that even if source is defined for Jaunty (9.04), it works with Karmic (9.10)

Install packages from key and sources

  • Open a command line console
  • Switch to Super-User mode :sudo bash
  • Execute commands above :
sudo apt-key adv --keyserver --recv-keys B85B0133

apt-get update
apt-get upgrade

sudo apt-get install python-gobject python-dbus libglib2.0-data openproximity2

Start OpenProximity2

  • Now you can restart
  • Go to menu Other | OpenProximity .
  • It runs Mozilla Firefox with local Web server : http://localhost/

It's not working fine : Error message : (111, 'Connection refused')
Some servers are not running.

Starting servers manually and debugging

If you want to make it working, you have to start several servers (from console, on several consoles) :

cd /opt/openproximity2/

sudo DEBUG=yes bash // if web server is not running
sudo DEBUG=yes bash // if RPC Server is running = false
sudo DEBUG=yes bash // to get pairing support
sudo DEBUG=yes bash scanner // if Scanners Connected = 0
sudo DEBUG=yes bash uploader // if Uploaders Connected = 0

To keep all messages when a server is launched, open a new tab in console with right-click | New Tab.

In the "Known Dongles" table, a dongle can be seen as "Scanner enabled", as "Is uploader", but not "Uploader Enabled". To make it uploader Enabled, access to Configure and validate Upload checkbox.

Starting servers automatically

One script can start all needed servers : /etc/init.d/openproximity2

This script has to be run at each Ubuntu start. This can be configured by :

sudo chmod 755 /etc/init.d/openproximity2 // if not correct
sudo update-rc.d openpriximity2 defaults

Configuring campaigns


Basic Linux commands

# Managing tasks
ps aux|grep Open // List all tasks and find rpc server task-id
kill <task-id> // Kill task

# Managing servers
netstat -anpe
netstat -anpe | grep 80 // to find web server listening port 80

OpenProximity commands

cd /opt/openproximity2/
openproximity2 start 
openproximity2 restart 
openproximity2 stop
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License