hi everybody,
I've seen this problem posted before, but never the solution ...
I am doing little research by
using ns-2.1b7a on Linux machine ...
I tried to build simple Error Model in
wireless simulation but it gave me error ...
The follows are the model and the error
So please help me ...
Thanks in advance ...
THE BASIC MODEL:
source ns-errmodel.tcl
set emm [new ErrorModel ]
$emm unit pkt $emm set rate_ 0.2 $emm ranvar [new RandomVariable/Uniform] $emm drop-target [new
Agent/Null]
$ns_ lossmodel $emm $node_(6) $node_(7) THE ERROR:
invalid command name ""
while executing "$link errormodule $lossobj" (procedure "_o4" line 3) (Simulator lossmodel line 3) invoked from within "$ns_ lossmodel $emm $node_(6) $node_(7)" Regards,
Abu-khalid |