LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2014, 09:32 AM   #1
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Rep: Reputation: Disabled
which version of ns2 is better for simulating cognitive radio networks


Hi,
I want to install CRCN patch on ns-2.34
But I noticed CRCN have been tested on ns-2.31
Is there any compatible CRCN package for ns-2.34 Or just I should install ns-2.31 ?
Hope to not force remove ns-2.34 and install ns-2.31
please help me if someone has answer for my question
thanks

Last edited by maitanaji; 06-27-2014 at 09:40 AM.
 
Old 06-29-2014, 12:28 AM   #2
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
version ns-2.31
 
Old 07-03-2014, 06:13 AM   #3
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Rep: Reputation: Disabled
ns-2.31 is the one that is being used.Please google for more info.
 
Old 07-18-2014, 06:49 AM   #4
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
hi,

can we install CRCN in NS 2.34?
 
Old 07-18-2014, 07:51 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,990

Rep: Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316
Quote:
Originally Posted by rajbora80 View Post
hi,

can we install CRCN in NS 2.34?
Do not hijack other peoples threads with your own question. And if you read the replies above, it is VERY clear that you CANNOT, and need to use 2.31. And as the OP was told, try to use Google.
 
Old 07-18-2014, 07:59 AM   #6
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Rep: Reputation: Disabled
@rajbora

No the crcn patch should be installed in ns2.31 not for ns2.34

Keep reading more.
 
Old 07-18-2014, 08:01 AM   #7
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
@nayan

Thank you for your good reply.

I will definitely follow your suggestion.
 
Old 07-18-2014, 01:09 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,990

Rep: Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316
Quote:
Originally Posted by rajbora80 View Post
@nayan
Thank you for your good reply. I will definitely follow your suggestion.
..which was already in the thread, before you posted your question into it, and was re-iterated by me too. Guess you missed those things...
 
Old 04-10-2017, 06:38 PM   #9
cai
LQ Newbie
 
Registered: Dec 2016
Posts: 21

Rep: Reputation: Disabled
you can apply CRCN patch on Ns2.34

visit this web
http://wpage.unina.it/arafatur.rahman/D2CARP.html

This Professor apply CRCN patch in Ns2.34. Everything is possible. Just keep looking for it
 
1 members found this post helpful.
Old 04-11-2017, 08:10 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Re #4.

ns-2.34 is old. An old compiler (gcc-4.1.2 or 3.4.6) must be used.
Or ns234_gcc49.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing
Or CRN-D2CARP_ns234-gcc5.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing


D2CARP, ns-2.35 : (CRN-D2CARP_ns235.patch is D2CARP.diff + Multi-Channel.diff, for ns235)
Code:
cd /home/[name]/
tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
cd ns-allinone-2.35/
patch -p0 > CRN-D2CARP_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
./install

Simulation : 
cd ns-2.35/
./ns D2CARP-script.tcl
./ns D2CARP-script.tcl :
The files ns.trc 138MB, primaryUsers.trc 1.1MB, scenario.trc 48.6kB are created.
( D2CARP-script.tcl is a copy of "script.tcl". I.e. script.tcl is generic file name.)


-

Last edited by knudfl; 04-11-2017 at 09:11 AM.
 
  


Reply

Tags
crcn, crn, d2carp, 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
channel sensing in CRCN (cognitive radio cognitive network) patch saywei89 Linux - Software 12 08-30-2014 12:28 PM
Cognitive Radio Network Simulator sirajl Linux - Networking 14 08-10-2014 11:19 AM
ns2 Simple MAC protocol modification for adding primary users in cognitive radio MahmoudAlaa Programming 9 07-23-2014 03:00 AM
hi...can anyone tell which version of ns2 simulator is best for simulating WSN afsha2719 Linux - Newbie 5 04-20-2012 09:57 AM
Will Cognitive Radio simulation work on NS-2.34 coolsunshines Linux - Software 2 03-07-2011 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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