4 by Andreas Tonnesen(andreto@olsr.org)
10 1. OLSR RFC COMPLIANCE
12 This version is RFC2636 compliant to my knowledge!
14 The OLSR-RFC definitions can be found in the olsr_protocol header file.
19 This version also has some extentions which are part of other projects:
23 - Secure OLSR plugin. This plugin adds a signature to all messages
24 to ensure data integrity. This way only nodes with access to the
25 shared key can participate in the routing.
26 The key is read as the first 128 bits from /root/.olsr/olsrd_secure_key
27 You need to have the OpenSSL libs installed to use this plugin.
29 - Powerplugin. A plugin that uses OLSRs MPR flooding to spread information
30 about the powerstatus of nodes.
32 - Dynamic Internet gateway. A plugin that dynamically adds and removes Internet
33 HNA transmissions based on if there exists a default gateway to Internet
34 with hopcount = 0(non OLSR gateway).
38 - IPC to GUI front-end. A gui front-end can connect to the daemon
39 if started with the -ipc switch or set in the configfile.
41 - Gateway tunneling. This is not easly configurated! For testing purposes.
42 This functioning will be updated in a later version. Do not try to
43 use this except you are 100% sure you need it!!
45 - Optional deletion of default gateways when recieving a 0.0.0.0/0.0.0.0
49 3. COMPILING & INSTALLING
51 The makefile is updated in this version.
52 To install to a directoy different from / use INSTALL_PREFIX=targetdir
53 To use other compilers set CC=yourcompiler
54 All this can be done on the command line(or in scripts), so there should
55 not be any need to update the Makefile for different environments.
57 These changes also go for the pluginmakefiles.
62 To install(you must be root):
65 This also installs the standard configuration file((PREFIXDIR)/etc/olsrd.conf)
66 YOU MUST EDIT THIS FILE!
68 To clean up object files run
72 To compile and install the power plugin:
76 To compile and install the dynamic GW plugin:
80 4. CONFIGURING & RUNNING:
83 Edit the configuration file to fit your needs.
85 Options in the config file can also be overridden by command line
86 options. See the manual page olsrd(8) for details.
88 To run the daemon you MUST specify which interface(s) to use either in
89 the config file or by using the -i option.
91 The binary is named 'olsrd' and is installed in (PREFIX)/usr/sbin.
92 You must have root privelegies to run olsrd!
94 To run the daemon in the background you can either start olsrd
95 with the '-d 0' switch or set DEBUG to 0 in the config file.
97 To use plugins add them to the configfile as explained in the file.
99 4.1 SOME COMMAND-LINE OPTIONS:
102 See the manpage for command line options.
106 Problems have been reported when running in daemon mode(DEBUG 0). If this
107 causes problems and you need to run olsrd in the background you could
108 just redirect output to /dev/null( > /dev/null)
118 The binary is put in the bin directory
126 REMEMBER olsrd must be started using the -ipc switch or the
127 IPC option must be set to yes to be able to use the GUI front-end