Hi everyone,

I am using the University of Pisa 802.11e HCCA patch by Claudio Cicconeti
et al to run some wired cum wireless experiments. I have adapted my TCL
script along the guidelines of Marc Greis' wired cum wireless tutorial
example. When I run the TCL script I get error message shown below. The
simulation scenario is 2 wireless nodes, 1 access point (AP) and 1 wired
node.

I have looked through the ns2 mailing lists and "Googled" about the
problem. From what I gather the nodes are setup correctly, but when the
wireless node attempts to send traffic to the wired node the responsible
routing protocol (I tried both NOAH and DSDV), fails to find Node_(1).
This must be the access point (AP) gateway/ base station. I have tried to
look through the C++ and TCL routing files, but can't seem to find a
solution.

Can anyone please give any helpful tip or suggestion. The error message is
pasted below:


Fri Sep  7 05:02:08 SAST 2007 trace descr: file3
Fri Sep  7 05:02:08 SAST 2007 topography created
num_nodes is set 4
Fri Sep  7 05:02:08 SAST 2007 god created
In GOD, we had 4 nodes created
Node address is 0.0.0
Wireless node W created
Fri Sep  7 05:02:08 SAST 2007 wireless channel created
INITIALIZE THE LIST xListHead
Node address is 1.0.0
Fri Sep  7 05:02:08 SAST 2007 QAP node 0 created
address for qsta number 1 set
Node address is 1.0.1
Fri Sep  7 05:02:08 SAST 2007 non-QAP QSTA node 1 created
address for qsta number 2 set
Node address is 1.0.2
Fri Sep  7 05:02:08 SAST 2007 non-QAP QSTA node 2 created
address for qsta number 3 set
Node address is 1.0.3
Fri Sep  7 05:02:08 SAST 2007 non-QAP QSTA node 3 created
ref_vbr_MaxMSDU off
Fri Sep  7 05:02:09 SAST 2007 simulation started
can't read "Node_(1)": no such element in array
    while executing
"return $Node_($id)"
    (procedure "_o4" line 3)
    (Simulator get-node-by-id line 3)
    invoked from within
"$self get-node-by-id [lindex $L 0]"
    (procedure "_o4" line 14)
    (Simulator compute-hier-routes line 14)
    invoked from within
"$self compute-hier-routes "
    invoked from within
"if [Simulator hier-addr?] {
$self compute-hier-routes
} else {
$self compute-flat-routes
}"
    (procedure "_o4" line 2)
    (Simulator compute-routes line 2)
    invoked from within
"[Simulator instance] compute-routes"
    (procedure "Agent/rtProto/Static" line 2)
    (Agent/rtProto/Static init-all line 2)
    invoked from within
"Agent/rtProto/Static init-all"
    invoked from within
"if [info exists rtprotos_] {
foreach proto [array names rtprotos_] {
eval Agent/rtProto/$proto init-all $rtprotos_($proto)
}
} else {
Agent/rtProto/St..."
    (procedure "_o197" line 3)
    (RouteLogic configure line 3)
    invoked from within
"[$self get-routelogic] configure"
    (procedure "_o4" line 5)
    (Simulator run line 5)
    invoked from within
"$ns run"
    (file "examplewcw1.tcl" line 103)


Thank you very much.

Samuel Senkindu.



Reply via email to