[ns] How to drop data packets in AODV?

2006-09-28 Thread mingmei li
Hello everyone! suppose that i first define the transmit and receive power for each wireless node in AODV routing protocol. and then i want to drop data packets once the node energy is below to a threhold. is that possible to do it in tcl script or do i need to change the codes

[ns] calculating bandwith occupation

2006-09-28 Thread Bilel Romdhani
hi, to calculate the bandwith ocupation on the channel, i extended the mac-802.11.cc but when i try to calculate the occupation for txSate (when i declare type = Packet_type(p) to know the type of my packet) i have segmentation fault. PS : the same function used on rxState there is no pb. Plz

[ns] urgent about setdest : node movement file

2006-09-28 Thread Muhammad Azam Akram
Hi I want to create node movement file by setdest. but when i run this command for example, ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 scen-20-test it gives error as assertion spped != 0.0 failed: file setdest.cc, line 595 Aborted core dumped please help me to solve this problem.

[ns] [HELP] Functions implemented in Wireless communication

2006-09-28 Thread Chris c
Hello there, For some reasons, I have to check NS2 implementation of two functions used in wireless(AODV) communication. One is Exponential-backoff Retransmission, the other is intermediate nodes discard the reduplicate messages (due to wireless channel). Anyone knows where I can find the files

Re: [ns] Why out.data is empty

2006-09-28 Thread Martina Umlauft
Hi there, well out.data should be empty since you never write anything in it. See the comments I put in your code below. I would recommend that you work through the ns-2 for beginners scriptum by Eitan Altman and Tania Jimenez. There should be a link to it in the ns-2 FAQ. bye, Martina

Re: [ns] urgent about setdest : node movement file

2006-09-28 Thread Abdul Jabbar
I see the same problem. However, if you use the make-scen.csh script the directory ~/ns2.29/indep-utils/cmu-scen-gen/setdest, it works just fine. Also you could use the bonnmotion tool to generate node movement files. It is has more features than setdest utility. Hope it helps. Cheers.

Re: [ns] urgent about setdest : node movement file

2006-09-28 Thread Matthias Budde
Hi, Which ns version are you using? I'm guessing you have the usage you used ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 scen-20-test from the included README. The parameters are wrong there. Instead of -s ist hast to be -M for the maximum speed. Also see:

Re: [ns] generating topology

2006-09-28 Thread Matthias Budde
Hi, You could simply use setdest with a very short simulation time and low speed (something like this) ./setdest -n 200 -p 0.0 -M 0.1 -t 1.0 -x 500 -y 500 scen-20-test and then just take the first part of the file, where the positions of the mobilenodes are initialized. Just an idea,

[ns] website for ns-3 project

2006-09-28 Thread Tom Henderson
In July, we announced that a team of PIs, in collaboration with INRIA, had obtained funding from NSF to develop the next major version of ns-3: http://mailman.isi.edu/pipermail/ns-users/2006-July/056352.html A small team of us has worked hard over the summer to establish some project