LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   MP-OLSR patch for NS2.35 (https://www.linuxquestions.org/questions/linux-networking-3/mp-olsr-patch-for-ns2-35-a-4175657619/)

Damianus 07-18-2019 09:28 AM

MP-OLSR patch for NS2.35
 
Hi,
can anyone help me with MP-OLSR patch for NS2.35?
I already search it and no luck so far

my lecturer told me to use NS2.35 even when I run it with NS2.29, it runs great (I download it from this link: https://jiaziyi.com/research-projects/mp-olsr/)

thanks

knudfl 07-18-2019 10:10 AM

Made two years ago : mpolsr_umolsr-v1_ns235.patch
https://drive.google.com/drive/folde...VJ?usp=sharing

olsr-ex_12.18.tar.gz
https://drive.google.com/file/d/14e4...ew?usp=sharing
... and http://neo.lcc.uma.es/staff/jamal/va...de%252F11.html


~300 ns2 patches https://drive.google.com/drive/folde...00?usp=sharing

All ~3500 ns2 simulations https://drive.google.com/drive/folde...Ws?usp=sharing

-

Damianus 07-20-2019 05:44 AM

dear knudfl
thanks for your help
the patch you provided work like a charm
thanks a lot

salsabil_alami 04-25-2020 10:12 AM

Installation of MP-OLSR in NS2.35
 
Hello sir ,
Please sir, I want to install MP-OLSR on NS2.35. I'm looking for it already and no luck so far

Thank you sir .

knudfl 04-25-2020 12:14 PM

Post #4, @salsabil_alami : Welcome to LQ.

MP-OLSR patch, etc.: See post #2.
mpolsr-ex-3.tar.gz
https://drive.google.com/file/d/1IZq...ew?usp=sharing

Build example(s), ns-2.35 + MP-OLSR :
Code:

tar xvf ns-allinone-2.35_gcc5.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
cd ns-allinone-2.35/
patch -p0 < mpolsr_umolsr-v1_ns235.patch
        ### Ubuntu
export CC=gcc447 CXX=g++447
        ### Fedora, RHEL, CentOS
export CC=gcc44 CXX=g++44
./install
cd ns-2.35/
cp ns ns235-mpolsr
sudo cp ns235-mpolsr /usr/local/bin/
---------  Simulation  ----------
ns235-mpolsr 50-MPolsr__Ber_wireless.tcl

Ubuntu "Redhat" compiler, gcc44-c++_4.4.7-16_amd64.deb
https://drive.google.com/file/d/0B7S...ew?usp=sharing

ns2-INFO https://drive.google.com/file/d/1FCj...ew?usp=sharing

-

salsabil_alami 04-25-2020 07:11 PM

Good evening sir, thank you very much for your help.
Please sir, give me the link to the file "50-MPolsr__Ber_wireless.tcl" for the simulation.

knudfl 04-26-2020 03:59 AM

Re #6 : Like post #5 says →

mpolsr-ex-3.tar.gz https://drive.google.com/file/d/1IZq...ew?usp=sharing

salsabil_alami 04-26-2020 07:34 AM

Bonjour monsieur,
S'il vous plait monsieur, j'ai un probleme au cours de l'installation, est ce que vous pouvez me dire comment je peux le resoudre.

https://drive.google.com/file/d/1SCE...ew?usp=sharing

https://drive.google.com/file/d/1HsM...ew?usp=sharing

knudfl 04-26-2020 05:11 PM

Re #8 https://unix.meta.stackexchange.com/...images-of-text
... I guess you know how to copy-paste a text.


Your errors : Please specify your OS → Name and version, please.
* This information is required in order to suggest a compiler for the ns2 / mpolsr code.


-

salsabil_alami 04-27-2020 07:34 AM

Hello sir ,
i am using ubuntu 16.04.
thank you for your help and I apologize for the inconvenience

knudfl 04-27-2020 08:00 AM

Re #10.

Ubuntu 16.04 : Assume a 64bits OS (Ubuntu 16.04.x - amd64)
The 64bits compiler is `gcc44-c++_4.4.7-16_amd64.debī, see post #5
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Download ... and install
Code:

sudo gdebi Downloads/gcc44-c++_4.4.7-16_amd64.deb
Ubuntu 16.04 : The build command is
Code:

export CC=gcc447 CXX=g++447 && ./install
Note: The simulation ns235-mpolsr 50-MPolsr__Ber_wireless.tcl
... will be done in about 10 minutes.

-

salsabil_alami 04-27-2020 09:31 AM

Hello sir,
thank you for your help

salsabil_alami 04-27-2020 09:31 AM

Hello sir,
thank you for your help

salsabil_alami 04-27-2020 12:09 PM

Hello sir ,
Please, the simulation file is executed with the command ns 50-MPolsr__Ber_wireless.tcl and it does not execute with the command ns235-mpolsr 50-MPolsr__Ber_wireless.tcl.
Isn't there a problem, is that correct?


thank you for your help and I apologize for the inconvenience

knudfl 04-27-2020 02:59 PM

Re #14.

If the 'ns' command is the one patched with mpolsr, it will be the right one to use.


All times are GMT -5. The time now is 09:49 PM.