Dear all! I installed CRCN patch and the run the tcl file with nodes=2, and channels=2, and get the following error and warning! Any onw knows how to avoid this error and warning! INITIALIZE THE LIST xListHead Warning: nodes cannot have more radio interfaces on the same channel!! 1st can't read "chan(2)": no such element in array while executing "$node add-interface $chan([expr $i*$channum_]) $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $..." (procedure "_o3" line 77) (Simulator create-wireless-node line 77) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) 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) set SingleIfMultiChan 1 $node_($i) random-motion 0 ;# ..." (file "multi-channel.tcl" line 123) num_nodes is set 2
-- Regards Khan