I am new to NS2 and learning from a tutorial of Marc Greis. For wireless mobile nodes, he has provided a code which doesn't run and produces warning as:

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...

Anybody who can help me resolve this issue. Code can also be shared if required... Thanks in anticipation

Similar questions and discussions