Skip to main content

BonnMotion: A MOBILITY SCENARIO GENERATION AND ANALYSIS TOOL

 BonnMotion is a Java software which creates and analyzes mobility scenarios and is most commonly used as a tool for the investigation of mobile ad hoc network characteristics. The scenarios can also be exported for several network simulators, such as ns-2, ns-3, GloMoSim/QualNet, COOJA, MiXiM, and ONE. BonnMotion is being jointly developed by the Communication Systems group at the University of Bonn, Germany, the Toilers group at the Colorado School of Mines, Golden, CO, USA, and the Distributed Systems group at the University of Osnabrück, Germany. Several mobility models are supported, namely

  • the Random Waypoint model,
  • the Random Walk model,
  • the Gauss-Markov model,
  • the Manhattan Grid model,
  • the Reference Point Group Mobility model,
  • the Disaster Area model,
  • the Random Street model,
  • and more.

Download

Download BonnMotion v2.1a (2013-09-08)
Download SMOOTH bugfix for v2.1 (2013-09-08)
Download BonnMotion v2.1 (2013-07-08)
Download BonnMotion v2.0 (2011-11-07)
Download BonnMotion v1.5a (2011-03-03)
Download BonnMotion RPGM Bugfix (2011-03-03)
Download BonnMotion v1.5 (2010-12-23)
Download WiseML patch for v1.4 (2010-07-05).
Download BonnMotion v1.4 (2009-10-28).
Download BonnMotion v1.3a (2009-03-11).

Installing BonnMotion

 Just run the "install" script from the BonnMotion directory (since BonnMotion v2.0, "compile" is run automatically at the end of the install script).
On Linux:

  1. BonnMotion requires a Java Runtime Engine (JRE) and a Java Development Kit (JDK).Open the terminal and type

    sudo apt-get install openjdk-7-jre openjdk-7-jdk 


  1. Unzip BonnMotion archive: unzip bonnmotion-2.0.zip
  2. Change directory to BonnMotion directory:such as /usr/local/src unzip bonnmotion-2.0.zip

    cd bonnmotion-2.0/
  3. Run install script:

    ./install
    You will be queried as follows: Please enter your Java binary path [/usr/bin]:

    simply hit return.
  4. Run BonnMotion from "bin" folder: cd bin && ./bm

    You may next see the following: 
 Creating scripts ... bm ... compile ... makedoc ... done.
 Starting compilation ...
 Compiling EdgeList.java ... done.
 Compiling Model.java ... done.
 Compiling CatastropheNode.java ... done.
 Compiling Nomadic.java ... done.
 Compiling RandomWaypoint.java ... done.
 Compiling ChainScenario.java ... done.
 Compiling RandomDirection.java ... done.
 Compiling ClusterMember.java ... done.
 Compiling Cluster.java ... done.
 Compiling SLAWBase.java ... done.
 Compiling RPGM.java ... done.
 Compiling Pursue.java ... done.
 Compiling RandomWaypoint3D.java ... done.
 Compiling Column.java ... done.
 Compiling SLAW.java ... done.
 Compiling ProbRandomWalk.java ... done.
 Compiling Static.java ... done.
 Compiling RandomWalk.java ... done.
 Compiling RandomStreet.java ... done.
 Compiling SteadyStateRandomWaypoint.java ... done.
 Compiling GaussMarkov.java ... done.
 Compiling TIMM.java ... done.
 Compiling OriginalGaussMarkov.java ... done.
 Compiling StaticDrift.java ... done.
 Compiling ManhattanGrid.java ... done.
 Compiling Visplot.java ... done.
 Compiling WiseML.java ... done.
 Compiling GPXImport.java ... done.
 Compiling Cut.java ... done.
 Compiling TheONEFile.java ... done.
 Compiling SPPXml.java ... done.
 Compiling ScenarioConverter.java ... done.
 Compiling LinkDump.java ... done.
 Compiling LongestLink.java ... done.
 Compiling IntervalFormat.java ... done.
 Compiling Dwelltime.java ... done.
 Compiling GlomoFile.java ... done.
 Compiling NSFile.java ... done.
 Compiling Statistics.java ... done.
 Compiling SampleSet.java ... done.
 Compiling Function.java ... done.
 Compiling GeometricMeanCalculator.java ... done.
 done.
 $ ./bin/bm -h
 Exception in thread "main" java.lang.UnsupportedClassVersionError: edu/bonn/cs/iv/bonnmotion/run/BM : Unsupported major.minor version 51.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 Could not find the main class: edu.bonn.cs.iv.bonnmotion.run.BM. Program will exit.

There are two errors above:
  1. The "Unsupported major.minor version 51.0" error is due to using a different version JRE than JDK. You probably installed openjdk-7-jdk but note that it also installs openjdk-6-jre and sets version 6 to the default. You can change this by running 'sudo update-alternatives --config java' and selecting '/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java' which matches your compilation environment.
  2. your system could not find the classes provided by BonnMotion; this is a problem with the Java CLASSPATH.

Comments

Popular posts from this blog

NS2 INSTALLATION IN UBUNTU 21.04

  Hello, this post explains how to install ns2 in Ubuntu 21.04.  1) First you have to download ns2 all-in-one package from following link;    http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download 2) Extract the downloaded zip file 'ns-allinone-2.35.tar.gz file' to home folder. 3)  Now you need to download some essential packages for ns2,these packages can be downloaded by using the following commands :  applications>accessories>terminal or dashhome>terminal   and   then type the below lines one by one on the terminal window sudo apt-get update sudo apt-get dist-upgrade sudo apt-get update 4) Install the basic libraries; sudo apt install build-essential autoconf automake libxmu-dev 5) Install gcc and g++ and for that please do following; open the file using sudo mode sudo nano /etc/apt/sources.list Include the following line in list;  deb http://in.archive.ubuntu.com/ubuntu bionic main universe then open terminal and exec

Link State Routing Protocol

Link state routing is a method in which each router shares its neighborhood’s knowledge with every other router on the internetwork. In this algorithm, each router in the network understands the network topology and then makes a routing table depending on this topology. Each router will share data about its connection to its neighbor, who will, consecutively, reproduce the data to its neighbors, etc. This appears just before all routers have constructed a topology of the network. In LSP, each node transmits its IP address and the MAC to its neighbor with its signature. Neighbors determine the signature and maintain a record of the combining IP address and the MAC. The Neighbor Lookup Protocol (NLP) of LSP derives and maintains the MAC and IP address of every network frame accepted by a node. The extracted data can support the mapping of MACs and IP addresses. The link-state flooding algorithm prevents the general issues of broadcast in the existence of loops by having every node mainta

HP NETWORK SIMULATOR: A COMWARE OS LEARNING TOOL

  Comware v7 is a network operating system that runs on HP high-end network devices. The HP Network Simulator is an ideal Comware v7 learning tool, which allows users to create, configure, and connect simulated networks. Benefits Beginners  – The HP Network Simulator tool is helpful for users who are new to networking and want to learn how to configure network devices (switches, routers), various topologies, or different routing and switching protocols and features. Experienced users  – The HP Network Simulator learning tool is helpful for users who have experience with non-HP networking devices and want to learn the Comware CLI and features. Extra devices  – Users can create devices using the HP Network Simulator and use them with their physical devices to configure and test topologies that aren’t configurable with just the physical devices they have. For example – A user wants to configure OSPF using 3 or more devices but has only 1 physical router. User can create 2 or more routers