Re: [ns] Random motion for ad-hoc network

2006-08-08 Thread plucs
That's right. However the nam file will always be the same as you are supplying node mobility with the same mobility file (.scen). P sara MA wrote: > My beleive is whenever I run the ns command for my tcl file, the nam file > for that tcl file is overwritten, am I wrong? > > > >> From: [EM

[ns] how to smiulate mobile ipv6

2006-08-08 Thread pankaj chand
hi can anyone tell me how to simulate mobile ipv6. i want to not use mobile ipv4 and instead use mobile ipv6. thanks pankaj

[ns] ns2 and TCPWestwood modules problem

2006-08-08 Thread Aleksandar Smolovic
I have installed TCP Westood NR modules on NS2 ver. 2.29.3 and "recompile" goes fine. But when I try to start NS on prompt I have something like this: machine:/mypath/# ns ns: [code omitted because of length] : invalid command name "Agent/TCP/WestwoodNR" while executing "Agent/TCP/WestwoodN

[ns] OTCL-Linkage

2006-08-08 Thread Jana Henniger
I’m new to ns-2 and C++ and need help concerning OTCL-Linkage. I’ve created a new class ContextAgent which has AODV as friendclass. ContextAgent has two public variables that are bound to OTCL using the bind()-function (as it is used in the Example ex-linkage.cc from the tutorial “ns by example

[ns] How to disable RTS/CTS

2006-08-08 Thread michelenuti
Hi Ns users, does anybody if it is possible and how to disable the RTS/CTS in MAC 802.11? Thanks a lot, Michele Nuti

Re: [ns] How to disable RTS/CTS

2006-08-08 Thread Q.R.Iqbal
Yes its simple just add the below line Mac/802_11 set RTSThreshold_3000 > > Hi Ns users, > does anybody if it is possible and how to disable the RTS/CTS in MAC > 802.11? > > Thanks a lot, > Michele Nuti > Kind regards Qasim Raza Iqbal PhD Candidate, ACNRG Lab N504, Office N505 Adapti

[ns] How to make .o files

2006-08-08 Thread Aleksandar Smolovic
Hi all, when I need to install a module under NS2 and have modulefile.cc and modulefile.h files how to make modulefile.o ? Thanks.

[ns] Agent with some functions in the recv()

2006-08-08 Thread garcia_b
Hi. I was wondering if is it possible to have an agent with some (different) sendmsg() functions to send different messages. And the same question for the recv(): for each message received if is it possible to call to different functions at the application layer using the app_-> pointer. I have

[ns] MAC_802_11: accessing MAC cache_ array out of range (src 4, dst 3, size3)

2006-08-08 Thread Jackie Wong
Dear all, I am trying to run some 802.11 simulations these days. In one of the simulations, there will be a remote node which sends some data packet to the AP via some relay node. But no matter when I run the simulation, I will get the following message: MAC_802_11: accessing MAC cach

Re: [ns] How to make .o files

2006-08-08 Thread plucs
I suggest you look at the Makefile first, then make the necessary modifications and run make. P. Aleksandar Smolovic wrote: > Hi all, > > when I need to install a module under NS2 and have modulefile.cc and > modulefile.h files how to make modulefile.o ? > > Thanks. > > > >

Re: [ns] OTCL-Linkage

2006-08-08 Thread plucs
Hi Jana, I suggest you first check whether the bound variables work with AODV in the first place. If they do not work then you will need to get a reference to the AODV agent in .tcl simulation script. You can start looking in tcl/lib P. Jana Henniger wrote: > I’m new to ns-2 and C++ and need

[ns] Problem on large number of wireless nodes display on NAM

2006-08-08 Thread xuminglu
Hi,all: I am using ns2-29 to simulate wireless networks. I created 256 nodes and there mobility file. But I only see 215 nodes of them. Where are other nodes? I checked the .nam file and only see 215 nodes recorded. Is there any size limitation in .nam file? I spend long time in it. Pls give

[ns] how to install adjacency matrix at each node

2006-08-08 Thread piyush sharma
Hi Everybody, I want to know how can I install the adjacency matrix at each node ? I have created an adjacency matrix (which is a NxN matrix, where N is the no. of nodes in the topology) using some tcl commands in my ns2 tcl script. I want to install this adjacency matrix at every node so that eac