[ns] Help Needed IN TORA Simulation

Karun Verma karun8880 at yahoo.co.in
Sat Jan 17 00:01:40 PST 2004


Hello All,

While Simulation of TORA protocol in NS-2 igot these errors. these 
errors are in the file tora.tcl under the ~ns/tcl/mobility folder of 
NEtwork Simulator.


[root at localhost ex]# ns wireless_tora.tcl 
num_nodes is set 50 
can't read "imep_(0)": no such variable 
   while executing 
"subst $[subst $var" 
   (procedure "_o15" line 5) 
   (SplitObject set line 5) 
   invoked from within 
"$self set imep_(0)" 
   (procedure "_o15" line 17) 
   (Node/MobileNode add-target line 17) 
   invoked from within 
"$self add-target $agent $port" 
   (procedure "_o15" line 15) 
   (Node attach line 15) 
   invoked from within 
"$node attach $ragent [Node set rtagent_port_]" 
   (procedure "create-routing-agent" line 9) 
   invoked from within 
"create-routing-agent $node $id" 
   (procedure "create-mobile-node" line 36) 
   invoked from within 
"create-mobile-node $i" 
   invoked from within 
"if { [string compare $opt(rp) "dsr"] == 0} { 
       for {set i 0} {$i < $opt(nn) } {incr i} { 
               dsr-create-mobile-node $i 
       } 
} elseif { [string compare $opt..." 
   (file "wireless_tora.tcl" line 210) 

Please help me in a way out of the problem.
Thanx in advance.



Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gamma.isi.edu/pipermail/ns-users/attachments/20040117/4d8863d2/attachment.html


More information about the Ns-users mailing list