GithubHelp home page GithubHelp logo

106368401-jiang-jian-syun / oonf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olsr/oonf

0.0 1.0 0.0 4.07 MB

OLSR.org Network Framework - olsrd v2 / DLEP

CMake 1.58% Shell 0.26% HTML 0.05% JavaScript 0.30% Makefile 0.43% C 96.94% C++ 0.38% Roff 0.07%

oonf's Introduction

How to Install

See http://www.olsr.org/mediawiki/index.php/OLSR.org_Network_Framework for a longer explanation. This README is the short version.

Installing from source

Get your code from the OLSR.org Network Framework GitHub: (see https://github.com/OLSR/OONF)

  • git clone https://github.com/OLSR/OONF.git

Pre-requisites

Download and install the neccessary build requirements (see http://www.olsr.org/mediawiki/index.php/OLSR.org_Network_Framework#Requirements)

For Debian you will mostly need the following ones:

  • cmake: sudo apt-get install cmake
  • build-essentials: sudo apt-get install build-essential libnl-3-dev

Compiling

  • cd build
  • cmake ..
  • make

Configuring OLSRv2

Starting OLSRv2

Assuming your interfaces you want olsrd2 to listen on are eth0, wlan0 and lo you could start it like this:

  • sudo ./olsrd2_static eth0 wlan0 lo

You won't see much output though. You can enable more output (by default it comes on stderr) for several subsystems. You can get a list of these subsystems with:

  • ./olsrd2_static --schema=log.info
  • ./olsrd2_static --schema=log.debug

This shows you which info and debug schemas exist. Let's say we are interested in the neighborhood disovery protocol (NHDP, RFC6130, "Hello messages"). We can set this subsystem writing actions to debug level via:

  • sudo ./olsrd2_static --set=log.debug=nhdp_w eth0 wlan0 lo

You should now see some output which shows you the info from the hello packets.

How to proceed from here

If you managed to start olsrd2 and see some output, you made it! Now is the time to review the detailed configuration setups at http://www.olsr.org/mediawiki/index.php/OLSR_network_deployments

oonf's People

Contributors

hrogge avatar aaronkaplan avatar jonak avatar diogomg avatar fhuberts avatar gabi-bg avatar markitt avatar saces avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.