problems with wireless in ns2.26

  • arsalan
  • Born
  • Born
  • arsalan
  • Posts: 3

Post 3+ Months Ago

I tried to simulate ns simulacion2.tcl and i got that error

awais@n2:~/ns-allinone-2.26-kau.v02/Gonzalo$ ns simulacion2.tcl

[b]num_nodes is set 102
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
invalid command name "Node/MobileNode/AODVNode"
while executing
"Node/MobileNode/AODVNode create _o380 0.0.22"
invoked from within
"catch "$className create $o $args" msg"
(procedure "new" line 3)
invoked from within
"new Node/MobileNode/AODVNode 0.0.22"
("eval" body line 1)
invoked from within
"eval new $nodeclass $args"
(procedure "_o3" line 12)
(Simulator create-node-instance line 12)
invoked from within
"_o3 create-node-instance 0.0.22"
("eval" body line 1)
invoked from within
"eval $self create-node-instance $args"
(procedure "_o3" line 6)
(Simulator create-wireless-node line 6)
invoked from within
"_o3 create-wireless-node 0.0.22"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 14)
(Simulator node line 14)
invoked from within
"$ns_ node 0.0.22"
invoked from within
"set BS(0) [$ns_ node 0.0.22]"
(file "simulacion2.tcl" line 92)

can any one help me............................
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

arsalan wrote:
I tried to simulate ns simulacion2.tcl and i got that error

awais@n2:~/ns-allinone-2.26-kau.v02/Gonzalo$ ns simulacion2.tcl

[b]num_nodes is set 102
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl...


did you try opening up tcl/ex/wireless-mitf.tcl and seeing what the first error was talking about? did you try the command with -channel as it states?
usually reading the error messages helps to troubleshoot them.. ;)

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 117 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.