OLSR protocol implementation

In this page you can find the Windows 2000 and Pocket PC implementations of the Optimized Link State Routing (OLSR) daemon.

OLSR was created and developed at INRIA, France. Click here to go to the OLSR Home Page.

The OLSR dameon was ported to Windows 2000 & Pocket PC by Carlos Miguel Tavares Calafate

OLSR daemon download
Windows 2000 / Linux
Download source (zip)
Pocket PC
Download source (zip)
Windows 2000 EXE with PICA 1.2.1 built in (4/10/2002)
Download wolsrd_b.exe
Pocket PC EXE with PICA 1.2.0 built in
Download wceolsrd_b.exe (ARM)
OLSRv2 first version by Valentina Gaggero source


All versions require the PICA library (Please update at least to PICA 1.2.1). The PICA library requires the Packet.dll library for Windows 2000/ Pocket PC. Check the PICA's home page for more info. In Pocket PC, be sure to enable packet forwarding by changing the HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms\IpEnableRouter registry value from 0 to 1 and perform a soft reset!

Running OLSR:

Windows and Linux: To start the OLSR daemon in the background open a shell (or go to the DOS prompt is Windows) and just do:
olsr -i [interface name]
In case you do not know which interfaces are available, execute:
olsr -d -i x
and it will provide the names of the available interfaces. On Linux it will be eth? or similar, while in Windows it will return an ascii sequence. Then choose the desired interface and start olsr as shown previously. In case you do not want it to go into background, start it with the -d (debug) or -t (trace) parameters (always make sure that the -i [interface name] parameters are put last). It will then display OLSR related information on the console. Notice that you must have root/Administrator previledges to run it. On Windows you must include the { } braces around the ascii sequence as presented in the console.

Pocket PC: The application opens a window were the user can choose the desired interface and turn debug or tracing on/off.

Stopping OLSR when in background:

Linux: To stop the OLSR daemon use and application such as top and kill it, or just use the kill or killall tools.

Windows: Press Ctrl+Alt+Del and open the task manager. Choose processes and terminate the OLSR executable.

Pocket PC: Just use the stop button available on the OLSR window.

Compiling OLSR:

Notice that you must have the PICA library successfully installed on your system before you compile OLSR!

Linux: do: make clean
and then: make

Windows: Open the project file with an application such as Visual Studio and then create a release build. If you want to use another application, just make sure to link it again PICA.dll. Make sure that PICA's .h and .dll files are found on the path by the compiler.

Pocket PC: Open the project file with Embedded Visual C++ (you can download it for free at Microsoft) and follow the same strategy as for Windows.