[ns] find rtt at any time

2006-05-15 Thread shahid iqbal
hi all i want to see rtt of any packet at any time, whether packet reach late or in time at destinition, in ns-allinone-2.29 using sctp agent ( for see congestion ) can any one tell me about while i sent many requests at ns-users@ISI.EDU but not receive any single response my

[ns] C++/Otcl connectivity sample program required.

2006-05-15 Thread Bhoi Maheshbhai Mohanbhai
Hello,Is there any one who has material about how to program a protocol in ns-2 if any one has it send urgently..I have exam please - What makes Sachin India's highest paid sports celebrity?, Share your knowledge

[ns] to recuperate a Mobile node coordinates?

2006-05-15 Thread nadia masmoudi
Hello; I need some help please. how can I recuperate a mobile node coordinates to use them for my routing protocol? In fact ; I have already included the mobilenode.h (#include mobilenode.h) in my protocolxxx.h file and I put (MobileNode *node_ ) on it (exactly in the constructor)

[ns] DiffServ in NS

2006-05-15 Thread Julien HELMER
Hello all, I need to do flow classification based on sourcedest port ID and not node ID as it is proposed in the DiffServ module provided within NS. Do you know a simple way to achieve flow classification using sourcedest port ID ? Best regards, Julien.

[ns] Multiple simulations in NS

2006-05-15 Thread Tuhin Kanti Sharma
Hi, Can we run a tcl simulation multiple times, i.e from start to finish. If yes then how do we do it. Help would be appreciated. Tuhin Department of CS DU

Re: [ns] Multiple simulations in NS

2006-05-15 Thread Filippe Jabour
Use a shell script. /#!/bin/csh/ *set* scriptTcl = dd0601.tcl foreach scen *(*1 2 3 4 5 6 7 8 9 10*)* *echo* ... *echo* Rodada $scen *echo* Comando: ns $scriptTcl $scen time ns $scriptTcl $scen *echo* ... end Rodada e Comando are portuguese words.

[ns] Howto set transmission range ?

2006-05-15 Thread Güzin Ulutaş
Hi, the topic howto set transmission range of a mobile node was discussed in the group previous time. We change the RXThresh (that is calculated by threshold.cc file in ns-2 file hierarchy according to radius) and Pt_ variables in simulation code for changing the value of transmission

[ns] M/M/S and M/G/1 queue

2006-05-15 Thread Josep Canales Pallarés
Hello, I am writing to this site because I am interested in receive some information about script TCL. If everyone have some example of script TCL for queueing M/M/S model and M/G/1 model, you could send me on email reporting it. Also, I am interested in example applications of multiple

Re: [ns] Multiple simulations in NS

2006-05-15 Thread Filippe Jabour
Ignore the * Consider as spaces. Filippe Jabour http://www.gta.ufrj.br/~jabour/ Filippe Jabour escreveu: Use a shell script. /#!/bin/csh/ *set* scriptTcl = dd0601.tcl foreach scen *(*1 2 3 4 5 6 7 8 9 10*)* *echo* ... *echo* Rodada $scen *echo* Comando: ns

[ns] Fwd: Problem with executin a simple tcl script

2006-05-15 Thread David Planells
Hello to all, As you suppose, I'm new with NS, and I've a problem when I type the following: -'$ns ex1.tcl' and I receive an error message just like this: ns command not found. I've read in the general problems page and I found that : (Also, when I try typing the comamnd ns simple.tcl, and I

Re: [ns] Multiple simulations in NS

2006-05-15 Thread Tuhin Kanti Sharma
thnx a lot for the reply... but i need to specify my requirements I need to run multiple simulations of a tcl script, based on the results wich Im collectin in cc file I need to get the best value for the simulation. Now wat I can do is run the simulation get the results and update variables in

Re: [ns] Fwd: Problem with executin a simple tcl script

2006-05-15 Thread Filippe Jabour
The .bashrc file is at your home directory # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi HOME_NS=/usr/local/ns-allinone-2.29 NS_DIR=$HOME_NS/bin PATH=${PATH}:$NS_DIR:/sbin

[ns] Simulating an embedded ad-hoc wireless protocol

2006-05-15 Thread jeff-1
Greetings, I have an ad-hoc wireless protocol that has been implemented and fielded in an embedded system. I would like to simulate it for performance benchmarking. My problem is that the code is written in C and it has it's own custom implementation for the MAC, routing protocol, queueing,

Re: [ns] Multiple simulations in NS

2006-05-15 Thread Tuhin Kanti Sharma
thnx for ure hlp, smehow my requirement is getting met with wat u hav just suggested. I need help just in a couple of more points: 1)/#!/bin/csh/ what is the significance of this? 2) While running the shell script, it gives : ns command not found. Can you please tell me why is it so? I'll be

[ns] Modifying cw_ in mac-802_11.h

2006-05-15 Thread ARNAB DAS
Hello, I am trying to modify cw_ in the mac-802_11.h file. Normally, it is cw_=(cw_1)+1. However, whenever I do something like cw_=cw_*5, for example, there is a Floating Exception (core dumped) error. Does anyone know why cw_ may be needed to be modified in a bitshifting manner or how to

[ns] Using SFQ for wireless simulation...

2006-05-15 Thread Bhalsing Swapnil Suresh;04410103;
Hi, Can anybody please tell me how to use or modify Stochastic Fair Queue for wireless netwok simulation. Thank you. regards, swapnil IIT Guwahati. A conclusion is simply the place where you got tired of thinking.

[ns] no such element in array

2006-05-15 Thread rmartine
Hi, I am trying to do a wired-wireless simulation and when trying to run the simulation I get these weird errors: num_nodes is set 2 INITIALIZE THE LIST xListHead can't read Node_(26): no such element in array while executing return $Node_($id) (procedure _o3 line 3) (Simulator

Re: [ns] no such element in array

2006-05-15 Thread Zhou Ya Jin
I think you used a variable Node_(26) in your tcl script but it has not been created yet. Look into your tcl script at line 332. - Original Message - From: [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Tuesday, May 16, 2006 5:55 AM Subject: [ns] no such element in array Hi,

Re: [ns] Multiple simulations in NS

2006-05-15 Thread Zhou Ya Jin
1)First you need to read some books about linux shell program. Then you will know what is the meaning of #!/bin/sh. 2) That is because your environment variable is not setting properly. a) you can change your environment variable The .bashrc file is at your home directory # .bashrc # User

[ns] Problem while installing ns in windows

2006-05-15 Thread Moyuresh Biswas
Hi, I was installing ns-allinone-2.29 under windows XP using Cygwin. Got the error: checking system version (for dynamic loading)... ./configure: line 6017: syntax error near unexpected token `(' ./configure: line 6017: 'case `(ac_space=' '; set | grep ac_space) 21' in'

Re: [ns] Multiple simulations in NS

2006-05-15 Thread Sameer Qazi
Another way is through 'for' loop, but make sure you break up this code (the one to be repeated) as one (or multiple) subroutines ('procs in tcl') written outside the 'for' loop. The code can then be repeatedly called at specific time intervals using $ns at time subroutine or proc from a 'for'