[ns] Problem runing wireless examples
dfuste at ac.upc.edu
Tue Mar 14 04:02:08 PST 2006
This is not an error...only a warning.
You can solve it by writing:
set val(chan) Channel/WirelessChannel
set chan_ [new $val(chan)]
$ns_ node-config -channel $chan_
$ns_ node-config -channel $val(chan)
because it is deprecated.
Mohammed Abu-Khadra wrote:
> hi all,
> first of all am using Cygwin & ns-2.29 all-in-one .. am trying to run the
> wireless examples associated in this link "simple-wireless.tcl"
> but there is an error msg appears >>
> $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...
> so .. plz i need help .. i read a previous reply it said that i have to
> check the path of traffic .. but what path i cant seem to nderstand it !!!
> any1 plz i need help :)
> thanx in advance
More information about the Ns-users