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