i want to know node position connecting to other nodes through wireless communication, and want it verify that either it is correct or wrong. how can i simulate this in ns2, anyone help me???
Positions of nodes is define in your TCL code which denotes the X, Y and Z positions of nodes in the topology . and some code generates random position.
In this regard, I recommend you to use NSG software. It gives everything with ready made otcl script. It is based on java. Only java should be installed in your pc and you need to run that jar file in terminal. you will get otcl script, copy it and past in .tcl file. That tcl file will execute.