Search for the /mobility/scene direcotories in your NS2 tree, and put the example alosnside it, eg:
Snenario files in /ns2/tcl/ex/mobility/scene Put the script in /ns2/tcl/ex/mydir/ Pedro Vale Estrela > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Srirupa Dasgupta > Sent: quarta-feira, 14 de Junho de 2006 8:23 > To: ns-users@ISI.EDU > Subject: [ns] simple-wireless.tcl is not running on ns2.28 > > > > > > Dear friend, > please help me to run wireless scripts on ns2 . > i am typing the following command: > ns simple-wireless.tcl > the error messafe that i am getting is as follows: > num_nodes is set 3 > warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl > INITIALIZE THE LIST xListHead > Loading connection pattern... > couldn't read file "../mobility/scene/cbr-3-test": no such file or > directory > while executing > "source.orig ../mobility/scene/cbr-3-test" > ("uplevel" body line 1) > invoked from within > "uplevel source.orig [list $fileName]" > invoked from within > "if [$instance_ is_http_url $fileName] { > set buffer [$instance_ read_url $fileName] > uplevel eval $buffer > } else { > uplevel source.orig [list $fileName] > ..." > (procedure "source" line 8) > invoked from within > "source $val(cp)" > (file "wireless1.tcl" line 121) > what is this? > please help