[ns] Help Creat Wireless Node Urgent
Question NS
ns_questions at yahoo.ca
Mon Sep 19 21:55:08 PDT 2005
Hi,
I just suffered a problem in NS2.26 to creat a
wireless node, I actualy run
tcl/ex/simple-wireless.tcl and wireless-mitf.tcl, but
failed, it shows:
num_nodes is set 2
(_o15 cmd line 1)
invoked from within
"_o15 cmd add-interface _o12 _o14 LL Mac/802_11
Queue/DropTail/PriQueue 50 Phy/WirelessPhy
Antenna/OmniAntenna {} {} {}"
invoked from within
"catch "$self cmd $args" ret"
(procedure "_o15" line 2)
(SplitObject unknown line 2)
invoked from within
"$node add-interface $chan $propInstance_ $llType_
$macType_ $ifqType_ $ifqlen_ $phyType_ $antType_
$inerrProc_ $outerrProc_ $FECProc_"
(procedure "_o3" line 64)
(Simulator create-wireless-node line 64)
invoked from within
"_o3 create-wireless-node"
("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"
invoked from within
"set node_(0) [$ns_ node]"
(file "./wireless-mitf.tcl" line 110)
-------------------------------------------------
num_nodes is set 2
warning: Please use -channel as shown in
tcl/ex/wireless-mitf.tcl
(_o14 cmd line 1)
invoked from within
"_o14 cmd add-interface _o13 _o12 LL Mac/802_11e
Queue/DropTail/PriQueue 50 Phy/WirelessPhy
Antenna/OmniAntenna {} {} {}"
invoked from within
"catch "$self cmd $args" ret"
(procedure "_o14" line 2)
(SplitObject unknown line 2)
invoked from within
"$node add-interface $chan $propInstance_ $llType_
$macType_ $ifqType_ $ifqlen_ $phyType_ $antType_
$inerrProc_ $outerrProc_ $FECProc_"
(procedure "_o3" line 64)
(Simulator create-wireless-node line 64)
invoked from within
"_o3 create-wireless-node"
("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"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0
;# disable random motion
}"
(file "./simple-wireless.tcl" line 93)
Anyone if can help, I would very appreciated!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Ns-users
mailing list