[ns] Change neighbor list
Dear ALL, I am using ns2.30, and try to implement topology control protocol, so i need to change the the neighbor list , i try to make the changes in god.h, and god.cc, but the routing protocols didnot feel the changes. any advice please? Thanks
[ns] maodv implementaton
Hi, I have recently switched from ns-2.26 to ns-2.28 because I have been told that many of the bugs in ns-2.26 (especially in MAC implementation) have been fixed in the newer version. But my work mainly involves MAODV protocols. I am unable to find a MAODV patch for ns-2.28. Does such a patch exist? Or will the patch developed for ns-2.26 work for ns-2.28 also. regards - Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
[ns] ns-2.26 implementation
hi all earlier i was working in ns-allinone-2.28 but when i installed maodv then it stopped working( i got ns command not found when i tried to run any script).it may not be compatible with maodv,is that so? then i tried to install ns-allinone-2.26 but i got 2-versions one with mns-for-2.26.tar.gz and another with ns-allinone-2.26-cygwin-binaries. please tell me which one is compatible with maodv.and tell me steps of installation. thanks in advance. anjali - Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
[ns] How Connector::drop_ initialized?
Hi, all. We know in function Connector::drop(Packet* p), if drop_ is not zero then it will pass the packet to the object using drop_-recv(p). I set up a simple simulation and I have not do any initialization to the drop_. But I use printf in Connector::drop(Packet* p). The result shows that drop_ is not zero. Why? I want to know where and when it was initialized? And which NSObject does it point to? Thanks a lot! HuangWei BUPT PRC
[ns] help regarding some commands
Hello all, I have got some ambiguity regarding a few commands.Could someone brief me about what these do.It would of great help to me. commands are 'register-module' , 'attach-node' and 'register'. Also what does 'cmd' actually do? Thanks in advance. - Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
[ns] Changing routing metric
Hi all, Could anyone please tell me how to change the routing metric in ns2 ? I could see the metric used in ns2. but i wanted to know how the # of hops is stored to this value. I could see in startUp metric is set to 0. I would like to know how ns2 calculates abt HOPS info. Any information regarding this will be appreciated. Thanks Devu
[ns] R: wimax and Wifi TxPower default value
Ramzi, you can use the Tcl command Phy/WirelessPhy set Pt_ power Look in tcl/lib/ns-default.tcl for default value and other wireless phy parameters. bye, Marco Messaggio originale Da: ramzi. [EMAIL PROTECTED] Data: 22-nov-2006 4.06 PM A: ns-users@ISI.EDU Ogg: [ns] wimax and Wifi TxPower default value Hi all, Could someone tell me what is the default Tx Power for 802.11 ns implementation and what could be a 802.16 default Tx Power. How do we set Tx Power values from C++ code and TCL script ? Best regards, Ramzi TKA
[ns] Re How Connector::drop_ initialized?
The process is done automatically. In connector.cc::command(), it initializes the drop_. This is called by set the links or others connector type.
[ns] MANNASIM EXAMPLES OUTPUT
Dear all, i have run mannasim for sensor networks, and this caused me validation errors to ns-2. Can anyone tell me if the following outpout from mannasim examples is correct? If these outputs are correct means that i can use mannasim without any doubts? THANKS mannasim-rede-hierarquica.tcl $ ns mannasim-rede-hierarquica.tcl num_nodes is set 14 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Starting Simulation... Node 13 - Temperature Data 25.219131 - Time 9.021593 Node 05 - Temperature Data 26.319336 - Time 9.304703 Node 06 - Temperature Data 24.314588 - Time 9.339066 Node 11 - Temperature Data 25.730207 - Time 9.343182 Node 10 - Temperature Data 26.844464 - Time 9.463883 Node 08 - Temperature Data 25.115037 - Time 9.523749 Node 12 - Temperature Data 24.316301 - Time 9.525706 Node 07 - Temperature Data 24.770996 - Time 9.733508 Node 04 - Temperature Data 24.441549 - Time 9.900523 Node 09 - Temperature Data 24.802649 - Time 9.918098 Common Node 13 - Disseminating data - Time 11.022 - Destination node 3 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 129.1 SORTING LISTS ...DONE! Cluster Head Node 3 - Received message - Time 11.026 - Source Node 13! Common Node 5 - Disseminating data - Time 11.305 - Destination node 3 Cluster Head Node 3 - Received message - Time 11.309 - Source Node 5! Common Node 6 - Disseminating data - Time 11.339 - Destination node 3 Common Node 11 - Disseminating data - Time 11.343 - Destination node 3 Cluster Head Node 3 - Received message - Time 11.343 - Source Node 6! Cluster Head Node 3 - Received message - Time 11.348 - Source Node 11! Common Node 10 - Disseminating data - Time 11.464 - Destination node 2 Cluster Head Node 2 - Received message - Time 11.468 - Source Node 10! Common Node 8 - Disseminating data - Time 11.524 - Destination node 2 Common Node 12 - Disseminating data - Time 11.526 - Destination node 2 Cluster Head Node 2 - Received message - Time 11.528 - Source Node 8! Cluster Head Node 2 - Received message - Time 11.533 - Source Node 12! Common Node 7 - Disseminating data - Time 11.734 - Destination node 2 Cluster Head Node 2 - Received message - Time 11.738 - Source Node 7! Common Node 4 - Disseminating data - Time 11.901 - Destination node 2 Cluster Head Node 2 - Received message - Time 11.905 - Source Node 4! Common Node 9 - Disseminating data - Time 11.918 - Destination node 2 Cluster Head Node 2 - Received message - Time 11.922 - Source Node 9! Node 13 - Temperature Data 24.880879 - Time 12.021593 Node 05 - Temperature Data 24.031597 - Time 12.304703 Node 06 - Temperature Data 24.339055 - Time 12.339066 Node 11 - Temperature Data 24.214115 - Time 12.343182 Node 10 - Temperature Data 25.296589 - Time 12.463883 Node 08 - Temperature Data 25.800533 - Time 12.523749 Node 12 - Temperature Data 25.201974 - Time 12.525706 Node 07 - Temperature Data 25.576405 - Time 12.733508 Node 04 - Temperature Data 25.265503 - Time 12.900523 Node 09 - Temperature Data 26.504633 - Time 12.918098 Cluster Head Node 3 - Disseminating Data - Destination Node 1 - Time 13.021 Access point - Received a message with 4 elements Message received from node 3 with 1.999235 delay ::: 11.025996 13.025231 Message received from node 3 with 1.999235 delay ::: 11.025996 13.025231 Message received from node 3 with 1.999235 delay ::: 11.025996 13.025231 Message received from node 3 with 1.999235 delay ::: 11.025996 13.025231 Cluster Head Node 2 - Disseminating Data - Destination Node 1 - Time 13.169 Access point - Received a message with 6 elements Message received from node 2 with 1.705638 delay ::: 11.468456 13.174094 Message received from node 2 with 1.705638 delay ::: 11.468456 13.174094 Message received from node 2 with 1.705638 delay ::: 11.468456 13.174094 Message received from node 2 with 1.705638 delay ::: 11.468456 13.174094 Message received from node 2 with 1.705638 delay ::: 11.468456 13.174094 Message received from node 2 with 1.705638 delay ::: 11.468456 13.174094 NS EXITING... / $ ns mannasim-rede-plana.tcl num_nodes is set 12 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Starting Simulation... Node 07 - Temperature Data 25.581916 - Time 9.008725 Node 04 - Temperature Data 25.483805 - Time 9.019489 Node 03 - Temperature Data 24.800345 - Time 9.038464 Node 06 - Temperature Data 23.249434 - Time 9.042755 Node 09 - Temperature Data 25.364245 - Time 9.099702 Node 08 - Temperature Data 24.824596 - Time 9.289845 Node 10 - Temperature Data 25.059670 - Time 9.347222 Node 11 - Temperature Data 23.851098 - Time 9.452880 Node 02 - Temperature Data 24.241977 - Time 9.532778 Node 05 - Temperature Data 24.312306 - Time 9.639592 Common Node 7 - Disseminating data - Time 11.009 - Destination node 1 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 129.1 SORTING LISTS ...DONE! Access