Re: [ns] How to get the Nodes' coordinate from TCL to C++

2009-01-26 Thread Mathiew Moussa
Hello Walid, Thanks for replying. Here's the deal : im trying to simulate a WSN with nodes that are not mobile. In a topology.tcl file i have the nodes coordinates stored in the following form: $node_(0) set X_ 60 $node_(0) set Y_ 0 $node_(0) set Z_ 0 $node_(1) set X_ 92 $node_(1) set Y_ 43 $

[ns] Error while including wireless-phy.h

2009-01-26 Thread Amita Singh
Hi, I'm using ns-2.29. When I include a file wireless-phy.h in AODV for certain modifications, it results in following error: [r...@localhost ns-2.29]# make g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAV

[ns] NS2 2.33 allinone on Ubuntu

2009-01-26 Thread Liz Mwaniki
NS users, I have not used NS2 before, tried installing on red hat but gave me problems. How do I install NS2 2.33 allinone on Ubuntu ? thanks. -- View this message in context: http://www.nabble.com/NS2-2.33-allinone-on-Ubuntu-tp21662320p21662320.html Sent from the ns-users mailing list archive

[ns] compiling same file names like ll.cc and packet.h

2009-01-26 Thread Safiya Nureen
if i have a separate model that already have been done with all necessary files like .cc, .h .tcl , in a new folder . and i need to compile and check. but i am little bit confused , like this model have also varp.cc (modified) and in ns2 main directory their is also another varp.cc , so if this

[ns] mSCTP for ns-2

2009-01-26 Thread Mazen TLAIS
hello, I am a new user of ns-2 simulateur. I am working on a new architecture that implements some scenarios using SCTP + mSCTP protocols. So, I am looking for a mSCTP patch. I wonder if somebody in the mailing list has any information about an implementation of mSCTP for NS-2 ? Many thanks

[ns] Re : NS2 2.33 allinone on Ubuntu

2009-01-26 Thread Nadine Chen
Hi This is a very useful link to install NS-2.33 on ubuntu: "http://www.jasonernst.com/2008/06/11/ns-233-and-nam-on-ubuntu-804-hardy-heron/"; Hope this helps. --- En date de : Lun 26.1.09, Liz Mwaniki a écrit : De: Liz Mwaniki Objet: [ns] NS2 2.33 allinone on Ubuntu À: ns-users@ISI.EDU Date: L

[ns] Delaying before sending a message

2009-01-26 Thread fhg07
I need to send lots of messages in a row, but I want to have a delay between them. I was told to use a timer-handler, but I do not know exactly how to do so. How can I, for example, use a timer-handler to wait 0.3s? Thanks, -- Fernando Henrique Gielow - UFPR - NR2 Computer Science graduation s

[ns] Routing traces contains seq num=0

2009-01-26 Thread manish chaturvedi
Hi, I am simulating 50 nodes wireless communication using DSR. When a route request is sent, the destination generates route reply with the same sequence number as that of route request and sends it to originator. But the thing is in some f the route replies, I am getting sequence number 0. Any bo

[ns] Phy/WirelessPhy - When can I change the parameters?

2009-01-26 Thread fhg07
I would like to know if the Phy/WirelessPhy parameters can be changed only in the initialization on my tcl script. The reason for that question is because I am trying to change the values of Pt_ and Pt_consume_ from inside my C++ code, but the changes do not take effect in the simulation. To cha

[ns] join-group method

2009-01-26 Thread Abhijeet Mirikar
Where can I find definition of join-group method?

[ns] Different page sizes with Web Traffic

2009-01-26 Thread Abfalterer A.
Hi, I've made a Web traffic simulation similar to this from "ns-2.33/tcl/ex/web-traffic.tcl". I take the same parameters (e.g. for page inter-arrival time, object number, etc.) and I want to test it with different protocols (TCP NewReno and CUBIC). First test runs show that the page sizes are no

[ns] Battery Model and Processing Model for sensor networks in ns2

2009-01-26 Thread Arslan Munir
Hi all, I want to simulate sensor networks in ns2. Specifically, I want to model sensor nodes with following capabilities: 1. Sensing channel and sensing model 2. Battery model 3. Processing Power model with processor voltage and frequency. Previously, a part of it was available in ns2 by UCLA

[ns] Please Help ........Error while creating new packet types

2009-01-26 Thread Arun Kumar
sir i have to create a new header type so i searched in the net and got the code in the website http://www.isi.edu/nsnam/ns/tutorial/index.html. But in packet.h PT_PING and name_[PT_PING]="ping" is already defined and in ns-default.tcl Agent/Ping set packetSize_ 64 is also defined. which version