[ns] how to calculate Average Dissipated Energy

2006-03-17 Thread shankar setty
Hi , I want to know how to calculate Average Dissipated Energy in case of directed diffusion protocol in wireless sensor networks...from the trace file of directed diffusion... Do tell me the formula for this? __ Do You Yahoo!? Tired of spam? Yah

[ns] multicast support in ns-2 for wired network

2006-03-17 Thread zorro zorrozhou
Dear everyone, I am a new comer in ns-2. I wonder if I would like to get a good understanding of ns-2's multicast support for wired network. Which files should I go for? Thanks for your kindness.

Re: [ns] Protocol Extension

2006-03-17 Thread Ahmad Khayyat
so does this eliminate any of the two approaches? subclassing keeps the origianl class as it was, and introduces a new one that can be used independently. All it does is it saves me from duplicating the common code. copying the subfolder obviously keeps both protocols accessible as well. Ethan

Re: [ns] Protocol Extension

2006-03-17 Thread Ahmad Khayyat
Clarification: By the first option (extending its classes), I meant subclassing the classes of the existing model and implementing the differences/modifications. Subclassing keeps the existing functionality of the original module, and allows me to implement more stuff. I never found anyone adv

[ns] Protocol Extension

2006-03-17 Thread Ahmad Khayyat
Hi all, I would like to extend an existing protocol in ns-2. Is it better if I extend its classes, or if I just copy the folder and add my modifications? In case I went for copying the folder, what exactly do I need to do after copying the folder? I guess I will have to rename the classes and

Re: [ns] Problem in setting the path in Red Hat 8

2006-03-17 Thread René Orlando Lozada Gutiérrez
Hi, Look here < http://www.udistrital.edu.co/comunidad/estudiantes/rolozadag/ns2/bash_profil e.txt > It's a example. Bye. René Lozada -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Rahul Ghosh Enviado el: Viernes, 17 de Marzo de 2006 12:47 p.m. Para: ns

Re: [ns] NS 2.29 installation problem in Fedora Core 64 bit version

2006-03-17 Thread Tom Henderson
Pulak Chowdhury wrote: > Dear All, > > This is a continuation message of my installation problem. I have > installed X org libraries in my system. > > Still, I am getting the following error messages while building OTCL in > Fedora Core 64 bit version. > > gcc -o otclsh -g -O2 -I. -I/home2/n

[ns] Error in: Multistate Error Model Implementation in ns manual

2006-03-17 Thread qadous
Dear ns-users, I have a problem in implementing the ns-manual example page 128. I got the following Error: [EMAIL PROTECTED] ~ $ ns errort.tcl num_nodes is set 2 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead wrong # args: should be "_o65 self clas

[ns] Problem in setting the path in Red Hat 8

2006-03-17 Thread Rahul Ghosh
    Hi, I am using Red hat 8.0...I have installed NS-2.29...but the problem is that whenever I am trying to run the ns command a message is coming saying "bash:command not found"...is it due to failure of recognizing of the path??? can anybody tell me how to set the path?? Bye, Rahul Ghosh

[ns] IEEE 802.15.4 GTS

2006-03-17 Thread Ahmad Khayyat
Hi all, Is anyone aware of an implementation of the GTS part of the IEEE 802.15.4 model for ns-2? ns-2.29 includes an 802.15.4 model that does not implement GTS (Guaranteed Time Slot). Does a GTS implementation exist anywhere? Is anyone working on that so that we can collaborate? Thanks, - A

[ns] simple MAC ns2 script

2006-03-17 Thread Pupun Das
Hi, I am trying to write a simple ns2 script w/ the CSMA protocols of MAC 802.11. We have set up a simple 3 node environment and want to send packets from all 3 nodes and then find the number of dropped packets. I have supplied the ns2 script and the awk script we are using to parse through the t

Re: [ns] NS 2.29 installation problem in Fedora Core 64 bit version

2006-03-17 Thread Pulak Chowdhury
Dear All, This is a continuation message of my installation problem. I have installed X org libraries in my system. Still, I am getting the following error messages while building OTCL in Fedora Core 64 bit version. gcc -o otclsh -g -O2 -I. -I/home2/ns-allinone-2.29/include -I/home2/ns- allino

[ns] Bandwidth allocation NS2

2006-03-17 Thread Eduardo Martinelli
Hello people, I intend to use ns2 to study a new allocation form for wireless-wired networks or just even wireless network im my Msc project. I´m in the beginning, but I already want to know if anybody knows what part of ns-2 I should study and change later for another allocation bandwidth sche

Re: [ns] how to calculate PDR and throughput

2006-03-17 Thread Ahmed Al Maashri
Hello, Throughput = (Number of delivered packets * size of packets * 8) / Total duration of simulation (bits/s) Delivery Ratio = Number of delivered packets / Total number of transmitted packets A. - Original Message - From: "Raja bvni" <[EMAIL PROTECTED]> To: "ns_users" Sent: Thu

[ns] AODV trace problem~~

2006-03-17 Thread Xlarge
Dear All: I am porting the AOMDV from ns2.1b4a to ns2.29, it almost done. But the trace file shows that all packet are dropped because NRTE(no route) -- D 59.668074669 _8_ RTR NRTE 1939 cbr 512

Re: [ns] Supporting infrastructure WLANs in NS2

2006-03-17 Thread David Fuste
Hi! > David Fuste schrieb: > >> First of all, thank you very much to all...I thought the post was >> lost :) Martina, your information has been very useful. >> And second, thanks Pedro, I will look for this code in the cvs that >> partially supports infrastructure WLAN simulation. > > > Interes

[ns] Changing link bandwidth and delay during simulation run

2006-03-17 Thread Clement Nyirenda
Dear Colleagues, I want to run a simulation where link bandwidth and propagation delay change in the course of the simulation. If anyone has done it before, give me a tip please. Regards Clement Please find our disclaimer

Re: [ns] What does this line means " [[$self agent] set node_ ] "

2006-03-17 Thread Gilles Bertrand
Hello Shafiq that kind of statetement is usually used to get the value of a class parameter and not to assigne a value to a variable: for example -> proc output_link-statistics { qmon link } { puts "Link statistics $link :" puts "Packets:\tparrivals_=[$qmon set parrivals_],\tpdepartures_=

[ns] Question about simulating FDMA like Mac protocols in ns-2

2006-03-17 Thread ali chodari khosroshahi
Dear All. I want to simulate multi-channel Mac protocol in the NS-2 (simulating FDMA like Mac protocol). But I haven't any information about simulating this protocol. How I can create multiple channel for a node. How I can divide wireless bandwidth (frequency) into the multiple channel (frequency

[ns] FDMA Mac protocol in NS-2

2006-03-17 Thread ali chodari khosroshahi
Dear All. I have a question: Ns-2 support FDMA Mac protocol for wireless networks ? Regards, Ali Chodari Khosrowshahi

Re: [ns] Memory leak in TFRC?!

2006-03-17 Thread Arne Lie
Daniel, Thanks, I will check it out! Arne On Thu, March 16, 2006 3:47 pm, Daniel Mahrenholz wrote: > On Thursday 16 March 2006 15:01, Arne Lie wrote: >> In my work of enabling a VBR video application on top of TFRC in >> ns-2.28, >> I observe that I have gotten a memory leak, which is difficult

[ns] how to edit my makefile.in to enable gdb debug my ns?

2006-03-17 Thread Siyui AliOh
I have a problem in ns. Once some wireless sim be running in ns, ns will stop in the simulation with info of "segment fault", no other information any more, i think it may be that i have reedit the files tcp.cc/h, and now i need gdb tu debug my ns to search the bug or bugs, how do i reedit my make