LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install cbrp protocol in ns2.35 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-cbrp-protocol-in-ns2-35-a-925564/)

Sudha Rajaram 01-24-2012 10:57 PM

How to install cbrp protocol in ns2.35
 
I am doing my project in wireless sensor networks. For cluster head selection i have planned to use cbrp protocol. But i don't know how to install it in ns2.35. Can anyone help me to continue with it.

knudfl 01-25-2012 03:33 AM

Welcome to LQ.

Probably use CBRP for the ns2 version, it is meant for. Ns-allinone-2.29.3 ?

You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time.

Note : Ubuntu 11.10 cannot be used for any ns2.
If it must be Ubuntu : Version 10.04 ( or 10.10 ) can be used.

..

Satyaveer Arya 01-25-2012 05:31 AM

Or you can download it from here:

http://www.comp.nus.edu.sg/~tayyc/cbrp/

extract the package and compile it.

vinoshanthi 07-05-2012 12:18 AM

Hi,
I tried a lot to install CBRP in ns2.35...I'm using the files in that link.
I've change the Makefile and Makefile.in and try to configure it by ./configure
But it stopped from here ---> "config.status: autoconf.h is unchanged"

Now It doesn't allow me to change the Makefile also..
Can anyone help me??

kgntech 07-05-2012 01:23 AM

Thanks for posting for much liked and informative blog, please keep up your good work like this.

knudfl 07-07-2012 04:12 AM

Post #4, @vinoshanthi : Welcome to LQ.

The code linked in post #3 is for ns-2.1b5 only.
"ns-2.1b5" could be used in some "1999 Linux OS".
Not usable in a contemporary OS.

The code must be edited, if you want to use it in ns-allinone-2.xx.
Some of the old ns2.1b5 patches have been ported to ns-2.26, ns-2.27,
etc. I have found no CBRP patches, that are usable in "2.26 ... 2.35".

.

vinoshanthi 07-08-2012 10:53 PM

@knudfl
Thanks for your information. If you found anything about this please do post it.
It will be really helpful.

manpreet kaur 08-29-2015 05:07 AM

tcl script of cbrp protocol
 
hello sir, i am using a ns 2.35 version , i need a patch of cbrp protocol and also tcl script of cbrp protocol plse send me code and patch in my email is sahnipreet15@yahoo.com

knudfl 08-29-2015 06:45 AM

3 Attachment(s)
@manpreet kaur : Welcome to LQ.

The available code is mostly from year 2000. The @nitin code probably 2013.
. http://www.comp.nus.edu.sg/~tayyc/cbrp/
. https://groups.google.com/forum/#!ms...8/aBk2dghC4F4J

There used to exist some more links, i.e. some are not valid any more.
Please see the attached files.
-

astyvalentina 10-08-2015 05:41 AM

Ineed help sir, about cbrp
 
Quote:

Originally Posted by knudfl (Post 5412854)
@manpreet kaur : Welcome to LQ.

The available code is mostly from year 2000. The @nitin code probably 2013.
. http://www.comp.nus.edu.sg/~tayyc/cbrp/
. https://groups.google.com/forum/#!ms...8/aBk2dghC4F4J

There used to exist some more links, i.e. some are not valid any more.
Please see the attached files.
-

Hello sir, have you tried using cbrp and patching in NS 2? Can you help me to teach me how to patching and give me the right source code about cbrp? thanks in advance sir

Pashya 02-11-2016 09:53 PM

Any help??I have the same issue with cbrp in NS 2.35

Pashya 02-14-2016 08:04 PM

I am having problem with simulating the CBRP protocol in NS2.35. Can someone help me with it?

When I tried running the CBRP protocol from *

http://www.comp.nus.edu.sg/~tayyc/cbrp/

I get an error message of the form

invalid command name "NetIf/SharedMedia"
while executing
"NetIf/SharedMedia set CPThresh_ 10.0"
(file "cmu/scripts/run.tcl" line 70)

when i changed the network interface to Phy/WirelessPhy the error is

invalid command name "MobileNode"
while executing
"MobileNode instproc init args {
eval $self next $args ;# parent class constructor

$self instvar nifs_ nports_ arptable_ classifier_ dmux_
$self i..."
(file "cmu/scripts/mobile_node.tcl" line 20)
invoked from within
"source.orig cmu/scripts/mobile_node.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source cmu/scripts/mobile_node.tcl"
(file "cmu/scripts/run.tcl" line 156


All times are GMT -5. The time now is 12:55 AM.