wiki:Proto/cModules/c0HostProtocolStack/b0Installation
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Version 1 (modified by seskar, 9 years ago) ( diff )

--

Installation

Linux

Make sure you have appropriate package repository configured.

Configure Apt Repository

To begin we'll need to add the Orbit apt repository to the list of sources that our console will pull packages from. This is done by running the following two commands.

Note: It is assumed that you have root access and can run these commands as root if needed

The first installs the orbit repositories gpg-key into the consoles key-ring.

wget -qO - http://packages.orbit-lab.org/downloads/orbitapt.gpg.key | sudo apt-key add -

Next we download the source list for the repository.

wget -qO /etc/apt/sources.list.d/orbit.list http://packages.orbit-lab.org/downloads/orbit-precise.list

Once we have these changes in place, we need to update the repository list via

apt-get update

The MF host protocol stack is installed with:

sudo apt-get install XXXXXX

Android

2.4. Installing the Host Protocol Stack (optional)

Install the compiled libraries and executable found in the generated bin folder. To install the libraries is necessary to have write permissions on the Android root and system folders.

    adb push libpcap.so /system/lib/
    adb push libgnustl_shared.so /system/lib/
    adb shell mkdir /data/mfdemo/
    adb push mfandroidstack /data/mfdemo/

ALERT: do not push the libcrypto.so library found in the bin folder; it is necessary for compiling the stack but if pushed in the system (replacing the one available) it might break some system features (e.g. wifi).

Note: See TracWiki for help on using the wiki.