[ns] problem executing wireless examples[uegent]
Sasan Sahraei
ss1 at student.cs.ucc.ie
Mon Mar 13 03:08:07 PST 2006
Its not a bug, your path to the script files needs to be modified, make
sure your script is pointing to the correct location of the traffic
pattern or movement scenario files. you can also modify the path and use
the path exclusively.
Sasan
>
>
> hi all
> i m facing following type of errors and warnigs when executing
> wireless.tcl files..........
>
> [root at localhost examples]# ns simple-wireless.tcl
> num_nodes is set 2
> warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
> INITIALIZE THE LIST xListHead
> Starting Simulation...
> channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
> highestAntennaZ_ = 1.5, distCST_ = 550.0
> SORTING LISTS ...DONE!
> NS EXITING...
>
> [root at localhost examples]# ns wireless1.tcl
> 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)
>
>
> [root at localhost examples]# ns wireless2.tcl
> num_nodes is set 4
> warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
> INITIALIZE THE LIST xListHead
> *** NOTE: no connection pattern specified.
> Loading scenario file...
> couldn't read file "../mobility/scene/scen-3-test": no such file or
> directory
> while executing
> "source.orig ../mobility/scene/scen-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 $opt(sc)"
> invoked from within
> "if { $opt(sc) == "" } {
> puts "*** NOTE: no scenario file specified."
> set opt(sc) "none"
> } else {
> puts "Loading scenario file..."
> source $op..."
> (file "wireless2.tcl" line 183)
>
>
>
> [root at localhost examples]# ns wireless3.tcl
> num_nodes is set 3
> warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
> INITIALIZE THE LIST xListHead
> *** NOTE: no connection pattern specified.
> *** NOTE: no scenario file specified.
> Starting Simulation...
> channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
> highestAntennaZ_ = 1.5, distCST_ = 550.0
> SORTING LISTS ...DONE!
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> warning: Route to base_stn not known: dropping pkt
> NS EXITING...
>
> -----------------------------------------------------------------
>
> is it a bug? how can i reslove this problem
>
> plz help me.....
>
> thanking you for attention.....
>
> regards
> deepak
>
More information about the Ns-users
mailing list