LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-11-2014, 12:13 AM   #1
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Rep: Reputation: Disabled
How to install CRAHN in NS-2 for CRN simualtion


Hi all,

I am new to Cognitive Radio Networks.

I want to simulate primary and secondary users (two networks).

How can we do this?Anyone having idea regarding simulations using CRAHN in NS2?
 
Old 06-27-2014, 04:03 AM   #2
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Rep: Reputation: Disabled
You should install crcn patch on ns2
http://faculty.uml.edu/Tricia_Chigan...stallation.htm
 
Old 06-29-2014, 11:38 PM   #3
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Installation Done.but now need to run some crcn examples.
 
Old 06-30-2014, 01:19 AM   #4
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Rep: Reputation: Disabled
Good
Let me know what happens when you run crcn examples
 
Old 06-30-2014, 02:45 AM   #5
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Have you run some crcn examples in ns2-crcn.
please provide any documentation you have.
 
Old 06-30-2014, 02:55 AM   #6
maitanaji
LQ Newbie
 
Registered: Jun 2014
Posts: 19

Rep: Reputation: Disabled
When you patch crcn on ns-2.31
there are some examples in crcn folder
you can run those examples
http://faculty.uml.edu/Tricia_Chigan...stallation.htm
 
Old 06-30-2014, 03:31 AM   #7
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
those examples doesnot run. i dunnot know why?
 
Old 07-07-2014, 08:47 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 1 .
Quote:
Anyone having idea regarding simulations using CRAHN in NS2 ?
CRAHN info http://www.linuxquestions.org/questi...or-4175503446/
.. See post #3 for the build.


-
 
Old 07-10-2014, 01:26 AM   #9
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
refer to post 3

Using : $ tar xvf ns-allinone-2.31.tar.gz
$ cd ns-allinone-2.31/
$ patch -p0 < TFRC-CRAHN_ns231.patch

All the steps completed sucessfully.
Done and build ..
but the examples donot run.............
 
Old 07-14-2014, 07:32 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9 .

Well, then read post #7 in the post #8 link :
http://www.linuxquestions.org/questi...-4175503446/#7
 
Old 07-15-2014, 01:12 AM   #11
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
NS ERROR- ANY SOLUTION

common/scheduler.cc:48:20: fatal error: packet.h: No such file or directory
compilation terminated.
make: *** [common/scheduler.o] Error 1
Ns make failed!
 
Old 07-15-2014, 01:28 AM   #12
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
NS 2 Error:
-----------

code omitted because of length]
: invalid command name "CrossLayerRepository"
while executing
"CrossLayerRepository set debug_ false"


---------
After installation of NS2 under Ubuntu 12.04
When ns is typed at the prompt to check for NS installation this error is thrown.
Any one Any idea y this error is coming?
 
Old 07-15-2014, 07:31 AM   #13
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
Hi all,

I am doing my masters project in CRN
I am new to this field.
I have started studying CRN?
My guide has told me to look for simulators of CRN.
Any one working in crcn patch on ns2? or any other simulators available for CRN simulations.

Last edited by rajbora80; 07-15-2014 at 07:34 AM. Reason: new text
 
Old 07-15-2014, 07:40 AM   #14
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
Hi maitanji,nayan,Knufdl

Can you people guide me?
 
Old 07-16-2014, 12:44 AM   #15
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
Anyone know how to simulate routing in CRN in NS2?
 
  


Reply

Tags
crahn-ns2, ns2



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
PU activity in crahn-ns2 simulator Retta Linux - Newbie 23 10-27-2014 07:56 AM
[SOLVED] [RHL 6.2] Fresh install. XWindows Server didn't install. Can I install it manually? Patriot2135 Red Hat 9 11-19-2013 12:37 AM
Does NS3 support CRN(cognitive radio network)?Or is there any CRN-patch for NS3? buptmuye Linux - Wireless Networking 3 10-11-2013 05:40 AM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
Torvalds interview - CRN synaptical Linux - General 1 07-17-2003 03:27 PM

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

All times are GMT -5. The time now is 01:21 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