Browse files

Add debian build folder to OLSRd. Create a debian package just with "…

  • Loading branch information...
1 parent 0974a4d commit c1d458d7656ba7cad90c877fcc3e082730e3e24d Henning Rogge committed Dec 5, 2010
@@ -35,3 +35,15 @@ gui/win32/Shim/Release/
@@ -169,70 +169,100 @@ libs_install install_libs:
$(MAKECMD) -C lib/httpinfo clean
$(MAKECMD) -C lib/httpinfo
$(MAKECMD) -C lib/httpinfo DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/tas clean
$(MAKECMD) -C lib/tas
$(MAKECMD) -C lib/tas DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/dot_draw clean
$(MAKECMD) -C lib/dot_draw
$(MAKECMD) -C lib/dot_draw DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/nameservice clean
$(MAKECMD) -C lib/nameservice
$(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/dyn_gw clean
$(MAKECMD) -C lib/dyn_gw
$(MAKECMD) -C lib/dyn_gw DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/dyn_gw_plain clean
$(MAKECMD) -C lib/dyn_gw_plain
$(MAKECMD) -C lib/dyn_gw_plain DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/secure clean
$(MAKECMD) -C lib/secure
$(MAKECMD) -C lib/secure DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/pgraph clean
$(MAKECMD) -C lib/pgraph
$(MAKECMD) -C lib/pgraph DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/bmf clean
$(MAKECMD) -C lib/bmf
$(MAKECMD) -C lib/bmf DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/quagga clean
$(MAKECMD) -C lib/quagga
$(MAKECMD) -C lib/quagga DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/mdns clean
$(MAKECMD) -C lib/mdns
$(MAKECMD) -C lib/mdns DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/txtinfo clean
$(MAKECMD) -C lib/txtinfo
$(MAKECMD) -C lib/txtinfo DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/arprefresh clean
$(MAKECMD) -C lib/arprefresh
$(MAKECMD) -C lib/arprefresh DESTDIR=$(DESTDIR) install
$(MAKECMD) -C lib/watchdog clean
$(MAKECMD) -C lib/watchdog
$(MAKECMD) -C lib/watchdog DESTDIR=$(DESTDIR) install
build_all: all switch libs
@@ -0,0 +1,79 @@
+olsrd for Debian
+Before running olsrd you must edit the default configuration file
+/etc/olsrd/olsrd.conf (the location differs in the debian package from the
+upstream default /etc/olsrd.conf). The one change you must make is to define
+on which interfaces olsrd is supposed to act on.
+If you want, you can run olsrd via init.d by editing /etc/default/olsrd - the
+default configuration is to not start olsrd on boot. It needs root privileges
+to run olsrd.
+To debug olsrd you can start it with "/etc/init.d/olsrd start debug".
+You also need to configure your network interface. For example, for the following settings are used:
+ ifconfig eth1 $YOUR_IP broadcast
+ iwconfig eth1 essid channel 10 mode ad-hoc enc off
+Options in the olsrd config file can also be overridden by command line
+options or in /etc/default/olsrd. See the manual pages olsrd(8) and
+olsrd.conf(5) for details.
+If debug level is set to 0 olsrd will detach and run in the background (this
+is the default in the debian package), if not it will keep running in your
+The following plugins are included in the olsrd-plugins package and are
+explained in detail in /usr/share/doc/olsrd-plugins:
+- httpinfo - tiny webserver for information purposes
+- dyn_gw - dynamically announce uplinks
+- dot_draw - generates output (over a TCP socket) in the dot format
+- secure - secure OLSR routing with a shared key
+- nameservice - announce hostnames and dns servers
+- bmf - basic multicast forwarding plugin for olsrd
+- txtinfo
+The following plugins are not included in the olsrd-plugins binary package:
+- quagga - quagga plugin
+- tas - (not at all) tiny application server, no useful apps exist
+- powerinfo - displays /proc/apm on
+- pgraph - obsoleted by httpinfo and dot-draw
+- mini - minimal example plugin, useful as a howto for writing plugins
+If you need them, you can easily build them from the debian source package
+yourself: define which (additional) plugins you want in debian/rules, and
+rebuild the package. And if you tell me a good reason why they should be
+included in the binary package, I'll be glad to add them :)
+About this package
+This is actually the unik-olsrd implementation, but because it's the only
+commonly used one (the other two, nrl- and inria-olsrd are mostly used
+where they were written) and the one found on, so I decided to
+call the package olsrd.
+The config file shipped in /etc/olsrd/olsrd.conf is based on the one from
+and has been successfully used in the freifunk networks in Berlin and Hamburg
+The plugins are installed in /usr/lib/olsrd/ which differs from the upstream
+default /usr/lib/.
+ -- Holger Levsen <> Tue, 8 Jul 2008 18:09:15 +0200
Oops, something went wrong.

0 comments on commit c1d458d

Please sign in to comment.