olsr routing package



  • @crispyoz said in olsr routing package:

    Run opkg update and then opkg install olsrd

    Thank you for the reply, I appreciate it very much. I did what you said, I updated the dist and also Run opkg update and then opkg install olsrd, but the problem was not solved. The result was as shown in the picture.2.PNG 1.PNG



  • @eng_Ahmed OK I checked the feeds it's in the routing feed, so uncomment line 6, then opkg update and opkg install olsrd



  • @crispyoz I think the line 6 should be comment as well. After I uncomment it the , the following result was obtained.6.PNG



  • @eng_Ahmed Take a look at the documentation some configuration is required. Also looking at the ipk content I think you need to reboot.



  • @eng_Ahmed You also need to install ipip package which is in base so it should be available opkg without any changes to distfeeds



  • @crispyoz What is the function of ipip package? I tried to install it and the result was as shown in the picture.(Note: I installed the second version of olsr package which is oonf-olsrd2 insted of olsrd.) 8.PNG



  • @eng_Ahmed ipip (ip tunnelling) needs the kmod which needs to be build for the kernel you are using. But since you are using oonf-olsrd2 package it doesn't have that dependency.



  • @crispyoz I sincerely appreciate your detailed responses to my inquiries. Your insights have been incredibly helpful, and I truly value the time and effort you put into explaining things.

    I have now installed OONF-OLSRd2, but I am unsure how to actually start using it. Specifically, how can I send messages between multiple devices (e.g., temperature data) to observe how the OLSR protocol operates? I am working with Python, I would appreciate any guidance on how to integrate it into my setup.



  • @crispyoz I would like to share a complete overview of what I am working on so that you can better understand my goals and provide guidance. I have a study project involves three main steps:

    1. Running OLSR on multiple devices: I aim to set up OLSR on five devices and enable message exchange between them using the protocol. I need to observe these messages in any possible way to verify the protocol's functionality.

    2.Analyzing results and modifying OLSR settings: After recording the initial results, I plan to change the OLSR configuration settings and examine their impact on the network behavior. I have learned that the configuration file located at (/etc/config/olsrd2) can be used for this purpose.

    3.Understanding the OLSR source code: Once the first two steps are successfully completed, the next phase involves exploring the protocol's source code, understanding its classes, and analyzing its implementation. The goal is to extract a methodology from this analysis to aid in designing and implementing other similar routing protocols.



  • @eng_Ahmed I think everyone needs to use the approach that best aligns with their current experience and expertise. My approach would be to build the package from source and then install it on the devices. I think it's a slower start than simply installing the packages but by building from source to start with, you already have a leg up on task 3, you also can evaluate what each configuration change you make in stage 2 actually does at source code level. So by the time you are ready for stage 3 you already have an understanding of the code.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.