LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cognitive Radio Network Simulator (https://www.linuxquestions.org/questions/linux-networking-3/cognitive-radio-network-simulator-916363/)

sirajl 11-30-2011 08:42 AM

Cognitive Radio Network Simulator
 
Hi,

I am using the following add-on with ns2 2.31 to be able to simulate cognitive radio networks.
http://www.ece.mtu.edu/~ljialian/. I installed this on ubuntu 11.04. I am unable to make install,make depend or make after following the instructions. If anybody has installed may i know which linux version should i go.Or anybody has implemented on ns 2.34 . Any help will be highly appreciated.
Many many thanks.

knudfl 11-30-2011 11:47 AM

Ubuntu 11.04 is not fit for ns2.
( Ubuntu 11.10 is even worse.)

Ubuntu 10.04 will do, if you prefer Ubuntu.
( All ns2 was created and tested on CentOS / RHEL :
The perfect choice is CentOS 5.7 ).

sirajl 11-30-2011 01:58 PM

Quote:

Originally Posted by knudfl (Post 4538367)
Ubuntu 11.04 is not fit for ns2.
( Ubuntu 11.10 is even worse.)

Ubuntu 10.04 will do, if you prefer Ubuntu.
( All ns2 was created and tested on CentOS / RHEL :
The perfect choice is CentOS 5.7 ).

Thanks you so much. Highly obliged.

sirajl 12-01-2011 06:33 AM

I installed it on Ubuntu 10.04 and exactly followed the instruction.
when i do make depend it gives me

/bin/sh: Syntax error: Bad fd number
make: *** [depend] Error 2


I am a novice in Linux. Please help.

Thanks

knudfl 12-01-2011 07:39 AM

#4.
1) cd ns-allinone-2.31/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
1a) cd ns-2.31/ && mv ns ns231 : Probably required for non crcn files.

2) The further instructions (for CRCN) are described here, #9
http://www.linuxquestions.org/questi...31-a-831390/#9

Quote:

/bin/sh: Syntax error: Bad fd number
make: *** [depend] Error 2
Not important. Just type make, and the "ns-crcn" binary is created.
( cp ns ns-crcn : Then you have a named backup.)

EDIT : More about "make depend", see post #6, etc. etc.

..

sirajl 12-02-2011 03:17 PM

I have been able to run CRCN patch on ubuntu 10.04 with ns2.31

As for the emake depend error the solution is to add in Makefile

SHELL=/bin/bash.

Thank you so much knudfl. May God bless you.

tornado90 12-31-2011 09:02 AM

I have the same error when doing Make depend

I am using Ubuntu 10.04 with ns 2.31
I have added the lines in post #6 to the top of Makefile, but still have the same problem.
I am a bit new to linux and ns, so perhaps I am doing something wrong, can you help me to figure the problem ?

Thanks :)

knudfl 12-31-2011 11:23 AM

Post #7, @ tornado90 : Welcome to LQ.

The 'make depend' command is not that important, as the application
already was installed previously.

The 'make' command will do, as originally described in post #5.

..

sirajl 01-01-2012 03:48 AM

make sure you have makedepend and thus need


sudo apt-get install imake

tornado90 01-04-2012 01:42 AM

@sirajl: I did the command you wrote, but the error still exist

So I made as knudfl said and jumped to make, and seems that it is working

Thanks a lot Knudfl & Sirajl :)

sirajl 01-05-2012 02:50 AM

I am happy tornado90 that you are able to solve the problem

tornado90 01-05-2012 04:55 AM

Thanks :)
Can I ask you for one more thing?

Now the program is working with me, but I want to understand the output graphs,
I am very new to ns2, so I can't figure out what is the model he is working on,
I have looked at the tutorial on http://stuweb.ee.mtu.edu/~ljialian/index.htm
but still can't figure out his model.
I am working with the GUI but I don't feel that the parameters that I am
putting, gives me the whole picture of the model

So can you please tell me about it, or how to find and understand it.

Thanks a lot

tornado90 01-08-2012 08:31 AM

Hey Guys, can anybody help me to understand the graphs from the simulator ?
I just want someone to tell me what is the model, or how to understand it

abrartunio 08-07-2014 02:40 AM

404 Not Found
 
http://stuweb.ee.mtu.edu/~ljialian/

This link is dead again.
Can anyone provide me data of that link.
I will be grateful.

knudfl 08-10-2014 11:19 AM

1 Attachment(s)
Post #14, @abrartunio.

All CRCN info at LQ http://www.linuxquestions.org/questions/tags/crcn/

The information in "http://stuweb.ee.mtu.edu/~ljialian/" is more or less contained here
. http://faculty.uml.edu/Tricia_Chigan..._Simulator.htm
. https://sites.google.com/a/seecs.edu...adio-network-s

Saved pages from the Internet : CRCN_info.tar.gz → →
https://drive.google.com/file/d/0B7S...it?usp=sharing
-


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