Re: [ns] transmit power - does it really control transmission range?

2007-12-18 Thread Sita S. Krishnakumar
use the threshold executable that comes with ns-2 in /ns/indep-utils/propogation/ -Sita > Hi dear sita > how to compute CsThresh_ in scenario? > > > -- > Amin Irandoost >

Re: [ns] transmit power - does it really control transmission range?

2007-12-18 Thread Sita S. Krishnakumar
nds on the transmitted power, propagation model > and recv thershold. So, > yes, I think all the nodes are not connnect with these values. > > -Atiur > --- "Sita S. Krishnakumar" <[EMAIL PROTECTED]> wrote: > >> >> >> > Hi, >> > I a

[ns] transmit power - does it really control transmission range?

2007-12-17 Thread Sita S. Krishnakumar
> Hi, > I am working with a sparsely connected network in a 200m by 200m field. > The default transmit power of 0.281838 corresponds to a 250m transmission > range. I have a node in the center with this Pt_ and when it sends out > packets, all the nodes in the network do not seem to receive it. W

[ns] Problems with new agent

2007-10-10 Thread Sita S. Krishnakumar
Hello, I have created a new agent derived from the Agent class. It is just like the UDP Agent. The only reason for this new agent is because I want to process the data within my recv() method. The packet type is PT_UDP. I have a problem: - If I do not set the up-target to be my agent, it never re

[ns] process_data not reached in my Application

2007-10-03 Thread Sita S. Krishnakumar
Hi, I have written an application myApp derived from Application. I have a node (node_100) and have attached myApp to it. The node also has a Udp agent attached to it as a sink. When other nodes send packets, though the trace file shows that the sink received the packets, I am unable to process it

Re: [ns] Need help installing NS-2.31 on 64-bit machine...

2007-08-30 Thread Sita S. Krishnakumar
You can try to say --with_tcl=xxx and provide the path or --prefix= if you are installing to a directory of your choice etc. Look into all the flags and check if the makefile.in is present in the directory quoted. I did a build on a 64-bit machine and the major change required was to point to

Re: [ns] Compiling ns-2.27 on a 64-bit machine

2007-08-28 Thread Sita S. Krishnakumar
for your help. Regards, Sita > Sita S. Krishnakumar wrote: >> Tom, >> I successfully built 2.31 in 64-bit environment. All I had to do was fix >> the path to lib64 in a few places. Once that built, I decided to >> replicate >> the changes in ns-2.27 directory.

Re: [ns] Compiling ns-2.27 on a 64-bit machine

2007-08-20 Thread Sita S. Krishnakumar
: cast from âint*â to âintâ loses precision make: *** [common/packet.o] Error 1 > Sita S. Krishnakumar wrote: >> Hi Tom, >> After searching the ns-list archives, I found help with the >> x86_64-unknown >> problem. >> >>>> 1. Edit otcl-xx/config.sub and

[ns] Compiling ns-2.27 on a 64-bit machine

2007-08-19 Thread Sita S. Krishnakumar
t? Thanks, Sita Original Message Subject: Re: [ns] ns makefile question - reg X11 libs From:"Sita S. Krishnakumar" <[EMAIL PROTECTED]> Date:Sat, August 18, 2007 9:26 am To: "Tom Henderson" <[EMAIL PROTECTED]&g

Re: [ns] ns makefile question - reg X11 libs

2007-08-17 Thread Sita S. Krishnakumar
different version of ns-2 as I require sensor simulation software from NRL that works only with 2.27. If anyone is aware of fixing this or has done it before, please reply. Your help is greatly appreciated! Regards, Sita > Sita S. Krishnakumar wrote: >> Hello, >> I am building ns-2

[ns] ns makefile question - reg X11 libs

2007-08-16 Thread Sita S. Krishnakumar
Hello, I am building ns-2.27 on a 64 bit machine. When the ./install compiles and links Tcl/Tk, it looks for X11 libs in /usr/X11R6/lib. I would instead like for it to look at a different directory for 64 bit libs. Where in the install or configure files in ns-2 should the change be made such that

[ns] tracing selectively

2007-07-27 Thread Sita S. Krishnakumar
Hello, I am running a large simulation. In order to release memory, I am selectively de-listing nodes that are not necessary. I am using trace-all and this causes a problem once a node gets eliminated. How can I selectively not trace a few nodes from the start. Majority of nodes, I would like to t

Re: [ns] Energy Model in NS2

2007-07-27 Thread Sita S. Krishnakumar
The idling power set in the code is very high. Due to this, nodes that work and those that are silent may end up consuming the same amount of power over a period of time. It may not be surprising if idling nodes die ahead. Regards, Sita > > > Dear Users of NS2, > I need to take some results rega

[ns] large duration simulations in ns-2.27

2007-07-26 Thread Sita S. Krishnakumar
Hello, I am trying to run a simulation with approximately 200 nodes for a period of 6-8 hours (21600-28800 seconds). The program runs out of memory and gets out on a bad malloc. I have fixed problems like memory leaks in my program, swap space on my hard drive etc. I have looked into ns-2 limitati

Re: [ns] trace file limitations

2007-07-17 Thread Sita S. Krishnakumar
I have run a single complete loop of my program against leak detection software and it came out without any memory leaks. So I assume the large swap consumption is due to memory required by the program (and indirectly ns-2) itself. Regards, Sita > Running out of swap space seems like an indicati

Re: [ns] trace file limitations

2007-07-16 Thread Sita S. Krishnakumar
? Any help/insight greatly appreciated. Regards, Sita > > In Linux, there is limit for your files. Maybe, you can see 'limits.conf' > file. > > /salva > > > > > > > On Sat, 7 Jul 2007, Sita S. Krishnakumar wrote: > >> >> Hello, >&g

[ns] trace file limitations

2007-07-07 Thread Sita S. Krishnakumar
Hello, I am trying to run an extended simulation. I am logging only the routing layer information to the trace file. When I run the simulation, the process kills itself after a few hours. Every time, I notice that the trace file size is approximately 1.4 GB. Is anyone aware of a trace file limitat

[ns] setting node positions

2007-05-21 Thread Sita S. Krishnakumar
Hello, I am trying to set node positions dynamically using the c++ part of ns-2, but all methods in mobilenode.h are protected or private and cannot be accessed. But node positions can be set using 'setdest' in tcl code. How can something similar be done in c++ code? Can anyone shed some light? Th

[ns] changing node positions

2007-05-18 Thread Sita S. Krishnakumar
Hello, I am writing to see if anyone has successfully changed node positions dynamically in code? Node locations can be set using setdest in tcl code, but I am looking to do it in the ns-2 code in c/c++. Please share your experiences. Thanks, Sita

[ns] setting node positions dynamically

2006-10-31 Thread Sita S. Krishnakumar
Hello, I want to change a node position dynamically as the simulation progresses i.e. my new node location will be calculated in my C code. I would then like my node to move to the newly calculated position. How can I make this happen? I only see node positions set in the tcl code in all examples.

[ns] flooding and broadcast protocols

2006-10-04 Thread Sita S. Krishnakumar
Hello, I downloaded flooding/broadcast protocols from university of carleton, canada and incorporated it in ns-2.27. I am trying to simulate a wsn. When an event is triggered, i see that the node which senses the event sends out a msg to sink, but it is not getting flooded/broadcasted. I put a bre

Re: [ns] generating topology

2006-09-29 Thread Sita S. Krishnakumar
, Muhammad Azizur Rahman wrote: > U can use topology generator "brite" to create a topology and convert > that topology into ns-2 (.ns) format using "nedase" tool. > > > "Sita S. Krishnakumar" <[EMAIL PROTECTED]> wrote: > Hi, > I am intereste

[ns] generating topology

2006-09-28 Thread Sita S. Krishnakumar
Hi, I am interested in generating a random distribution of static nodes for my simulation. How can I do this in ns-2? I am looking at around 200 nodes and do not want to hand-generate the topology. Thanks, Sita

Re: [ns] Changing trace files

2006-05-06 Thread Sita S. Krishnakumar
cmu-trace.cc > > Hello NS users, > > Which source code should I chance to write only the fields that I want in > my > trace files?? I am simulation Ad-Hoc networks using new-trace format!!! > > -- > Diego G. Soares >

Re: [ns] Usual Mistake

2006-05-04 Thread Sita S. Krishnakumar
Not bytes received - it is always an integer. x/y should be typecasted to float to get correct answer. use 4.0, 5.0 as someone else had replied. > > Hi, > thanks for your response, > I dont know Exactly but i think bytes recieved is > integer. > > Regards > Hamid

Re: [ns] Usual Mistake

2006-05-04 Thread Sita S. Krishnakumar
Both formulas are the same and should give the same result. The difference you see in your example cases are due to the fact that all operations are integer. If you change it so as to do a float calculation, either formula will give the same result. Regards, Sita > > Hi All, > Most people used

[ns] help with udp packets

2006-04-24 Thread Sita S. Krishnakumar
Hello, I have a setup of 25 nodes and a single sink. I am using AODV as my routing protocol. udp packets are sent at regular intervals from the nodes to the sink. Can someone clarify the following for me: 1. There is no packet id or mac address - how can i track packets to calculate delay/through

[ns] range of packet broadcast

2006-04-16 Thread Sita S. Krishnakumar
Hello, In a wireless network simulation, the trace file shows the sender and the receiver(s). Since every packet is a broadcast, it could be heard by more nodes than the actual receiver(s). Based on the next hop, the packets are picked up only by appropriate nodes. Where in the ns-2, would I be ab

Re: [ns] Finding the source of the pkt in AODV

2006-04-15 Thread Sita S. Krishnakumar
You can get it from -Ps in the trace file. -Sita > > hi, > > ive a doubt in the AODV implementation in ns-2. > > Can anyone tell me a way to find the source of the pkt, given only the > "Packet P". That is ... I want to know the "originator" of the pkt. > > thanx, > vinod > --

Re: [ns] help with understanding AODV

2006-04-14 Thread Sita S. Krishnakumar
Vinod, Kapil, Kanthi, Thank you for your replies. I think the timer refresh is not sufficient enough in my case and the route (re-)requests are happening not so frequently i.e. it is not in sync w/ the mobility (i am not yet sure how that can be handled). Due to this, there is packet loss and the

[ns] help with understanding AODV

2006-04-13 Thread Sita S. Krishnakumar
Hello, I would like help on understanding how AODV computes routes in the following scenario: Node A wants to send a packet to Node B (Both are stationary to begin with). Packets are broadcast and the next hop is based on the route that was decided. Node B finally receives the packet. Now if Node

[ns] Packets getting dropped with AODV

2006-04-09 Thread Sita S. Krishnakumar
Hello, In my simulation, packets are getting dropped and the reason shown in trace is IFQ. If I change my IFQ length (which initially was at 50), it doesnt seem to alleviate the problem. Any ideas why? Thanks, Sita

[ns] [Fwd: Re: LEACH problem]

2006-04-05 Thread Sita S. Krishnakumar
Scenario files generally start with a node id. Yours seems to start with the location. Maybe that is the problem? Also, why are yoy specifying the parameters at the command prompt (not that it is incorrect, I have not come across it). On a separate note, where did you get the LEACH implementation

[ns] Any ns user who has tried J-Sim?

2006-03-26 Thread Sita S. Krishnakumar
Hello, I am a ns-2 user and would like to try J-Sim for some features that may be of interest to me. So if anyone has any experience with J-Sim, can you please comment on the following: 1. Is there a trace file generated when a simulation is run? The example I ran did not, but is there a way to e

Re: [ns] urgent help: about heterogeneous nodes in ns2

2006-03-15 Thread Sita S. Krishnakumar
You can call node-config twice, each with different parameters for the two kinds of nodes you want to create. -Sita > > hi, every body: > > I want to use two kinds of nodes with different transmission power > and coverage radius in a single scenario, how can I config these > nodes in

Re: [ns] difference between ns and ns_ ?

2006-02-09 Thread Sita S. Krishnakumar
it is a variable and you can name it as you please. just make sure you refer to it in the tcl code with whatever name you chose! -Sita > > hello, > > I am new to network simulator and also have no experience with tcl. > Right now, I am going through the tutorial from Marc Greis. In some > sampl

Re: [ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-08 Thread Sita S. Krishnakumar
by a node ie. it is the reach of the node. If you want it to receive packets from a farther distance, should the threshold be greater? -Sita > > On Wednesday 08 February 2006 15:24, Sita S. Krishnakumar wrote: >> I am using TwoRayGround and for different distances, I get differen

Re: [ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-08 Thread Sita S. Krishnakumar
I am using TwoRayGround and for different distances, I get different RXThresh but Pt_ generated is always the same Also, as you increase the distance the RXThresh value goes down. And I am not sure if all Pt_ values being the same is correct either. I was also thinking that the distance need

Re: [ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-06 Thread Sita S. Krishnakumar
Are you sure you are configuring your node with the correct call ie using the new Phy/WirelessPhy? Also how are you arriving at the Pt_ values, using threshold.exe? -Sita > Well the problem I am having at the momment is that I can set different > nodes with different Pt_ values and different RXT

Re: [ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-06 Thread Sita S. Krishnakumar
Can u please clarify ur question. I am not sure if it is working, but I want to make some nodes more powerful than the rest. But with the threshold value for a given range, nodes are not receiving any packets. -Sita > Hi Sita > > Can you manage to set different ranges for different nodes > > reg

Re: [ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-06 Thread Sita S. Krishnakumar
Can u please clarify ur question. I am not sure if it is working, but I want to make some nodes more powerful than the rest. But the threshold value for the range is not receiving any packets. -Sita > Hi Sita > > Can you manage to set different ranges for different nodes > > regards > > Qasim >

Re: [ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-06 Thread Sita S. Krishnakumar
Can u please clarify ur question. I am not sure if it is working, but I want to make some nodes more powerful than the rest. But the threshold value for the range is not receiving any packets. -Sita > Hi Sita > > Can you manage to set different ranges for different nodes > > regards > > Qasim >

[ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-05 Thread Sita S. Krishnakumar
Hello, I am trying to simulate a network where the interrow spacing is 19m and intercolumn spacing is 24m. I have the node's sensing range as 15m. Looking at some old mail in this mailing list: It depends on what carrier-sensing range do you want. If you use the default values, your carrier-sens

[ns] help with trace file

2006-02-02 Thread Sita S. Krishnakumar
Hello, I am trying to collect some data from the ns-2 trace file to tabulate results. I am using the new wireless trace format. I have agent, router and mac trace set to ON in my tcl file. I am using AODV as my routing protocol. However, I do not see any MAC address information or packet ID or uni

Re: [ns] Problem in Installing Tk8.4.5

2006-02-02 Thread Sita S. Krishnakumar
Are you trying to install 2.28 or 2.29? Your error message seems to be looking at both? -Sita > > Dear all, > > I have installed Red Hat Enterprise Linux As in my > system. > I downloaded the ns-allinone-2.28.tat.gz. > While installing the all in one, the system

Re: [ns] Agent::recv method not reached

2006-01-25 Thread Sita S. Krishnakumar
t;>>> destination> you have to understand that ns2's layers don't >>>> exactly work as the OSI >>>> > reference model. When a data packet reaches it's destination a >>>> classifier> sends it to the agent layer, so you will never see >>

Re: [ns] Agent::recv method not reached

2006-01-25 Thread Sita S. Krishnakumar
;s destination). > > Regards Micke > > - Originalmeddelande - > Från: "Sita S. Krishnakumar" <[EMAIL PROTECTED]> > Datum: Tisdag, Januari 24, 2006 16:58 > Ämne: Re: [ns] Agent::recv method not reached > >> Mikael, >> Thanks for your reply

Re: [ns] Agent::recv method not reached

2006-01-24 Thread Sita S. Krishnakumar
new one and do the call you will not be able to get access to > memory allocations done by your class. For more info on how to this Pedro > Vale Estrela posted some code that I used on this forum some month a go. > Hope this can help you in some way. > > Best regards, Micke J &

[ns] Agent::recv method not reached

2006-01-23 Thread Sita S. Krishnakumar
Hello, I am trying to add a new routing protocol to ns-2. There are packets being generated and received by the nodes (i see it in the MAC trace), but it never reaches my recv() method. On stepping through, I saw that the Agent::recv() is not reached and hence it is not getting forwarded to my cod

[ns] Running SMAC

2006-01-17 Thread Sita S. Krishnakumar
Hello, Anyone running SMAC successfully, can you please share your experiences? Thanks, Sita

[ns] Running SMAC

2006-01-15 Thread Sita S. Krishnakumar
Hello, I was trying to understand the working of SMAC by running their sample code from the following location: www.isi.edu/ilense/software/smac/MyTest.tcl I get the following message: "Cancelling CS- node 1" and ns exits. Any idea why? Regards, Sita

Re: [ns] random-motion parameter of a wireless node

2006-01-03 Thread Sita S. Krishnakumar
l you can move it by changing > the coordinates either in your tcl or scenario files. > > Hope it helps, > Peyman > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Sita S. Krishnakumar > Sent: 02 January 2006 04:14 > To: ns

[ns] random-motion parameter of a wireless node

2006-01-01 Thread Sita S. Krishnakumar
Hello, What does setting random-motion to 1 do to a wireless node? I see no movement in nam when I run a simulation. Thanks, Sita

[ns] Movement of a mobile node within a radius

2006-01-01 Thread Sita S. Krishnakumar
Hello, I would like to have some mobile nodes in a topography move within a prescribed radius (with starting point as center). I would like for them to keep moving within that radius for the duration of the simulation. Is there a way to do this in ns-2? Thanks, Sita