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.
|
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. .. |
Or you can download it from here:
http://www.comp.nus.edu.sg/~tayyc/cbrp/ extract the package and compile it. |
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?? |
Thanks for posting for much liked and informative blog, please keep up your good work like this.
|
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". . |
@knudfl
Thanks for your information. If you found anything about this please do post it. It will be really helpful. |
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
|
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. - |
Ineed help sir, about cbrp
Quote:
|
Any help??I have the same issue with cbrp in NS 2.35
|
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. |