Re: [ns] simple-wireless.tcl is not running on ns2.28

2006-06-15 Thread Dimitris Antonellis

* couldn't read file "../mobility/scene/cbr-3-test"
no such file or directory

Probably, you changed the path of the script ns simple-wireless.tcl so as to
run it. Thus, it cant find the path for the mobility script /cbr-3-test
You have to open the script ns simple-wireless.tcl and change the
correspondig paths so as to represent the new relative path of the
/cbr-3-test.


Dimitris Antonellis


Message: 4
> Date: 14 Jun 2006 07:15:38 -
> From: "Srirupa  Dasgupta" <[EMAIL PROTECTED]>
> Subject: [ns] simple-wireless.tcl is not running on ns2.28
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;   charset=iso-8859-1
>
>
>
>
> 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
>
>


Re: [ns] simple-wireless.tcl is not running on ns2.28

2006-06-14 Thread Pedro Vale Estrela


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



[ns] simple-wireless.tcl is not running on ns2.28

2006-06-14 Thread Srirupa Dasgupta

  


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


[ns] simple-wireless.tcl is not running on ns2.28

2006-06-14 Thread Srirupa Dasgupta

  


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