LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-12-2019, 03:56 AM   #1
Al-Bayram
LQ Newbie
 
Registered: Sep 2019
Posts: 1

Rep: Reputation: Disabled
Wink GPSR


Hi, anyone helps me for patching GPSR in ns2.32 ? .... thx
 
Old 09-12-2019, 04:50 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.6 + 50+ other Linux OS, for test only.
Posts: 17,251

Rep: Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564
Welcome to LQ.

Available patches, GPSR-hls :
GPSR-hls_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

GPSR-hls_ns234-2.patch
https://drive.google.com/file/d/0B7S...iew?usp=sharin
ns234_gcc49.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

GPSR-hls_ns233-2015.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
otcl_ns234_gcc-4.4.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Note : As is, ns-2.32 cannot do GPSR-hls : no `Propagation Nakagami`, etc. issues with 2.32.

Patches GPSR-KeLiu :
gpsr-KeLiu_ns232.patch .... See post #3 for update
https://drive.google.com/file/d/0B7S...ew?usp=sharing

gpsr-KeLiu_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

gpsr-KeLiu_ns234.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Examples : GPSR-KeLiu_examples-07.19.tar.gz
https://drive.google.com/file/d/1UwX...ew?usp=sharing

-

Last edited by knudfl; 09-13-2019 at 04:30 AM.
 
Old 09-12-2019, 12:12 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.6 + 50+ other Linux OS, for test only.
Posts: 17,251

Rep: Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564
Build example ...
Code:
tar xvf ns-allinone-2.32.tar.gz
cd ns-allinone-2.32/
patch -p0 < gpsr-KeLiu_ns232-gcc53-1.patch    // new patch
https://drive.google.com/file/d/1fAR...ew?usp=sharing
./install        // OK with gcc versions 4.4 .. 5.3
cd ns-2.32/
cp ns ns232-gpsr-KeLiu
sudo cp ns232-gpsr-KeLiu /usr/local/bin/ && exit

------ Simulation ---------
cd KeLiu_examples-07.19/
ns232-gpsr-KeLiu wireless-gpsr.tcl

Last edited by knudfl; 09-13-2019 at 04:29 AM.
 
  


Reply

Tags
gpsr, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM
NS-HLS--GPSR trying to get new hls gpsr example malikkk Linux - Software 0 04-07-2014 09:44 PM

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

All times are GMT -5. The time now is 12:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration