[ns] Equivalent of ragent_ for mac layer (to issue a command to the mac layer of a node)

2007-04-30 Thread Sourabh Bora
Hi, I wish to print some information from MAC layer / give some command to it ( using command function) In case of AODV [ $node_($i) set ragent_ ] give me a handle to the routing layer (or just AODV?). so that I can give a command [ $node_($i) set ragent_ ] my command Can somebody

[ns] testing existing tcl to for monitoring

2007-04-30 Thread Florence Oladeji
Hello sirs. I am florence Oladeji (research student) from University of Pretoria. i have on my machine ns-2.30 installed using cygwin. I want to test one of the existing tcl ns/.../ex/diffserv/ds-cbr-tb-wrr.tcl to monitor the queue at node e1. how do i do this. Also, enlighten me more on the

[ns] LEACH test failure

2007-04-30 Thread Ran Ren
Hey all, I'm trying to implement LEACH in NS-2.27. My OS is Ubuntu 7.04. I followed the instructions which I summarized in http://ranlog.blogspot.com/2007/04/ns-227leach-on-ubuntu-704-installation.html . But when running leach_test, I got the following OTcl error: invalid command name

[ns] multi-channel question

2007-04-30 Thread wjw7869
Dear Ram¨reg;n Ag¨sup1;ero Calvo and all, I modified ns2 code to support multiple interface according Ram¨reg;n Ag¨sup1;ero Calvo 's Document, but when i run script_ ,I meet following errors,I do not konw how to debug error in ns2 ? anyone could help me solve this problem ,I am very

[ns] TFRC and Video streaming

2007-04-30 Thread Kacper Kurowski
Hi all, I am doing some simulations with TFRC protocol form NS-2.29. I would like to make the TFRC source send data from traces. There is a application that generates traffic from traces but only works over UDP. What changes shall i make to make it also work over TFRC? I would be glad for any

[ns] [nam in large area simulation] How to increase display size of traffic in nam

2007-04-30 Thread Bo Fu
Hi there, I am currently simulating a very long distance wireless scenario. The simulation area is about 1,000,000 meter * 1,000,000 meter. In the normal simulation, nam should be able to see the traffice travelling between the sender and receiver simultaneously. However, when plotting nam in

Re: [ns] Help for list of node under ns2

2007-04-30 Thread Sourabh Bora
1. How do u define given packet? My take will be.. saquence number. source address and destination address (ip) you can access the headers with header_cmn pointers 2. you can define a global data structure.. (static int * traversalList;) As an when ur given packet reaches a node, store that

[ns] Tracing code

2007-04-30 Thread Mohammed Abu Hajar
Dear NS-Users, How can I do tracing for my code execution in ns-2 simulator, like in c language , i was press on F7 key and trace my c code line by line , so how can I do this. Regards to all - Ahhh...imagining that irresistible new car smell?

[ns] multi-channel question

2007-04-30 Thread wjw7869
Dear Ram¨reg;n Ag¨sup1;ero Calvo and all, I modified ns2 code to support multiple interface according Ram¨reg;n Ag¨sup1;ero Calvo 's Document, but when i run script_ ,I meet following errors,I do not konw how to debug error in ns2 ? anyone could help me solve this problem ,I am very

[ns] multichannel support

2007-04-30 Thread wjw7869
Dear all, I modified ns2 code to support multiple interface according Ram¨reg;n Ag¨sup1;ero Calvo 's Document, but when i run script_ ,I meet following errors,I do not konw how to debug error in ns2 ? anyone could help me solve this problem ,I am very appreciate of you! num_nodes is set

[ns] How to simulate random intermittent link

2007-04-30 Thread Bo Fu
Hi, I want to use ns-2 to simulate some special wireless scenario. But the scenario requires random link-up and link-down. For example, two node are still in the transmission range. But the one node randomly failed (the random can be some distribution, such as gaussian). And this link-down lasts

Re: [ns] problem: Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)

2007-04-30 Thread Anuradha
hi did you find the solution of Classifier no-slot problem. I am also having the same problem. Thanks, Anuradha Armando Garcia B. wrote: Hi everybody. I have seen a lot of mails with this problem: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o28: