Hi,

copy the file in the directory *~/tcl/ex/ *and run it there.
*
*
It is shown in the warning.
*warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl*
*
*
It should work after that.

It's because the example is using the random scene generating files which
are defined in the tcl directory.

Kind regards

Nicholas Mbonimpa

On Fri, Oct 22, 2010 at 6:46 PM, alin niculescu <av3ng3r...@yahoo.com>wrote:

>
> Hello all !
> I am using ns2-34allinone on Ubuntu 10.04.
> I installed/validated it succesfully ,but I get the following error
> when doing Marc Greis's tutorial,wireless1 and wireless2.
> All scripts until this one worked .
>
>  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 "../../tcl/mobility/scene/cbr-3-test": no such file or
> directory
>    while executing
> "source.orig ../../tcl/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)
>
>
> Can anyone please help me ?The solutions I found google-ing didn't work .
>
> Thanks in advance.
>
>
>
>
>

Reply via email to