LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2019, 09:28 AM   #1
Damianus
LQ Newbie
 
Registered: Feb 2019
Posts: 9

Rep: Reputation: Disabled
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
 
Old 07-18-2019, 10:10 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

-
 
1 members found this post helpful.
Old 07-20-2019, 05:44 AM   #3
Damianus
LQ Newbie
 
Registered: Feb 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
dear knudfl
thanks for your help
the patch you provided work like a charm
thanks a lot
 
Old 04-25-2020, 10:12 AM   #4
salsabil_alami
Member
 
Registered: Apr 2020
Posts: 30

Rep: Reputation: Disabled
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 .

Last edited by salsabil_alami; 04-25-2020 at 11:00 AM.
 
Old 04-25-2020, 12:14 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

-
 
1 members found this post helpful.
Old 04-25-2020, 07:11 PM   #6
salsabil_alami
Member
 
Registered: Apr 2020
Posts: 30

Rep: Reputation: Disabled
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.
 
Old 04-26-2020, 03:59 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #6 : Like post #5 says →

mpolsr-ex-3.tar.gz https://drive.google.com/file/d/1IZq...ew?usp=sharing
 
1 members found this post helpful.
Old 04-26-2020, 07:34 AM   #8
salsabil_alami
Member
 
Registered: Apr 2020
Posts: 30

Rep: Reputation: Disabled
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
 
Old 04-26-2020, 05:11 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.


-

Last edited by knudfl; 04-26-2020 at 05:14 PM.
 
1 members found this post helpful.
Old 04-27-2020, 07:34 AM   #10
salsabil_alami
Member
 
Registered: Apr 2020
Posts: 30

Rep: Reputation: Disabled
Hello sir ,
i am using ubuntu 16.04.
thank you for your help and I apologize for the inconvenience
 
Old 04-27-2020, 08:00 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.

-
 
1 members found this post helpful.
Old 04-27-2020, 09:31 AM   #12
salsabil_alami
Member
 
Registered: Apr 2020
Posts: 30

Rep: Reputation: Disabled
Hello sir,
thank you for your help
 
Old 04-27-2020, 09:31 AM   #13
salsabil_alami
Member
 
Registered: Apr 2020
Posts: 30

Rep: Reputation: Disabled
Hello sir,
thank you for your help
 
Old 04-27-2020, 12:09 PM   #14
salsabil_alami
Member
 
Registered: Apr 2020
Posts: 30

Rep: Reputation: Disabled
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
 
Old 04-27-2020, 02:59 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #14.

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


Reply

Tags
mpolsr, ns2, olsr



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine um-olsr patch and Directional antenna patch ws19561986 Linux - Newbie 1 04-17-2014 12:18 PM
olsr patch for ns2.35 ubuntu 12.10 alr_m Linux - Software 1 01-15-2014 09:11 AM
ns2 installation on ubuntu with olsr patch giving following error bhushan0710 Linux - Newbie 8 01-21-2013 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration