[ns] Why I cannot see anythin using NAM in Wired-cum-wireless Marc Greis' Examples?

2007-11-08 Thread Jamal Toutouh

Hello all,

I am trying to see the simulation unsing NAM but I cannot see anyting.
Does someone know WHY?
There is some other tool to see the simulations??

Thank you...
 

Jamal Toutouh El Alamin
NEO Group - Networking and Emerging Optimization
University of Malaga

Phone: (+34) 952 13 33 03

Addres:
E.T.S Ingenieria Informatica
Complejo Tecnologico, Lab. 3.3.4b
Campus de Teatinos
29071 Malaga, Spain
-




   
__ 
Pregunta, Responde, Descubre. 
Comparte tus consejos y opiniones con los usuarios de Yahoo! Respuestas 
http://es.answers.yahoo.com/info/welcome


[ns] Nam interface

2007-11-08 Thread zze-WANG Xiao RD-CORE-CAE

Hello, dear ns user,
 
I'm currently writing a small program to make the interface of nam
clearer to see.
Actually, I'm trying to add a bar at the left side of the main window of
nam to show some important information that I need (such as number of
packet drop).
I'd like to know if there has been such improvement so that we can use? 

Thanks you!



Re: [ns] RED dropping packet problem

2007-11-08 Thread salcaraz

Leo:

You can see the file:

your-ns2.xx-home/ns-2.xx/tcl/lib/ns-default.tcl

Best regards

/salva

On Thu, 8 Nov 2007, Leo Lin wrote:


 Hi

 did any one know how to control RED queue
 how to set its max queue size before it start dropping or marking
 packets?

 any comments are welcome

 Regards,
 Leo





[ns] How can I locate (co-ord) Base Stations??

2007-11-08 Thread Jamal Toutouh

Hello NS users,

I want to locate the BS in a specific positions, for example 
For example using:

  $BS_(0) set X_ 100.
  $BS_(0) set Y_ 200.
  $BS_(0) set Z_ 0.

  $BS_(1) set X_ 300.
  $BS_(1) set Y_ 200.
  $BS_(1) set Z_ 0.

and the mobil-node node move from one to one

The problem is that when I am show this simulaition with NAM I just show one of 
the BS_() in 
its possition, the others are just in the possitions that I define with the 
links

  $ns_ duplex-link-op $BS_(0) BS_(1) orient right

So. Where is the problem??

I saw that some people use 
   
 set bs1_ [create-base-station 1.1.0 1.0.0 200 200 0]
 set bs2_ [create-base-station 1.2.0 1.0.0 200 600 0]

But it doesn't work.

Thank you.


Jamal Toutouh El Alamin
NEO Group - Networking and Emerging Optimization
University of Malaga

Phone: (+34) 952 13 33 03

Addres:
E.T.S Ingenieria Informatica
Complejo Tecnologico, Lab. 3.3.4b
Campus de Teatinos
29071 Malaga, Spain
-




   
__ 
Pregunta, Responde, Descubre. 
Comparte tus consejos y opiniones con los usuarios de Yahoo! Respuestas 
http://es.answers.yahoo.com/info/welcome


[ns] Re: Re: Why I cannot see anythin using NAM in Wired-cum-wireless Marc Greis' Examples?

2007-11-08 Thread Jamal Toutouh

Dear Mathias,


Have you already read the manual and the how-tos given on the ns2
 homepage?

There is explained in detail, how to get your simulation shown in
 NAM.



Yes, of course.
And I know how I can do it in norma ways, Wired and wireless scenarios.

The problem is that I am trying to simulate Wired-cum-wireless scenarios and 

it doesn't work as usual  :-(



Does someone know why??

 

Jamal Toutouh El Alamin
NEO Group - Networking and Emerging Optimization
University of Malaga

Phone: (+34) 952 13 33 03

Addres:
E.T.S Ingenieria Informatica
Complejo Tecnologico, Lab. 3.3.4b
Campus de Teatinos
29071 Malaga, Spain
-

- Mensaje original 
De: Matthias Kuhnert [EMAIL PROTECTED]
Para: Jamal Toutouh [EMAIL PROTECTED]
Enviado: jueves, 8 de noviembre, 2007 10:29:03
Asunto: Re: [ns] Why I cannot see anythin using NAM in Wired-cum-wireless Marc 
Greis' Examples?

Have you already read the manual and the how-tos given on the ns2
 homepage?
There is explained in detail, how to get your simulation shown in
 NAM.
Basically you insert a statement in the tcl simulation script, to
 output the nam-trace to a specified file and open this file with nam...



 Original-Nachricht 
 Datum: Thu, 8 Nov 2007 09:10:55 + (GMT)
 Von: Jamal Toutouh [EMAIL PROTECTED]
 An: NS-users list ns-users@ISI.EDU
 Betreff: [ns] Why I cannot see anythin using NAM in
 Wired-cum-wireless MarcGreis\' Examples?

 
 Hello all,
 
 I am trying to see the simulation unsing NAM but I cannot see
 anyting.
 Does someone know WHY?
 There is some other tool to see the simulations??
 
 Thank you...
  
 
 Jamal Toutouh El Alamin
 NEO Group - Networking and Emerging Optimization
 University of Malaga
 
 Phone: (+34) 952 13 33 03
 
 Addres:
 E.T.S Ingenieria Informatica
 Complejo Tecnologico, Lab. 3.3.4b
 Campus de Teatinos
 29071 Malaga, Spain
 -
 
 
 
 

 __ 
 Pregunta, Responde, Descubre. 
 Comparte tus consejos y opiniones con los usuarios de Yahoo!
 Respuestas 
 http://es.answers.yahoo.com/info/welcome

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail






   
__ 
Pregunta, Responde, Descubre. 
Comparte tus consejos y opiniones con los usuarios de Yahoo! Respuestas 
http://es.answers.yahoo.com/info/welcome


[ns] a loop or a start and stop methods

2007-11-08 Thread Nabila khedimi


Hi,
I want to execute a ping agent continuously during the simulation, regarding 
the schedular object in NS, is there any the difference between making a 
infinite loop inside the tcl code or define a start and a stop method inside 
the ping agent code(which is a c++ program)
Thanks for help
Nabila
 
 To: [EMAIL PROTECTED]; ns-users@isi.edu Subject: RE: [ns] access to TCL 
 instance variables From: [EMAIL PROTECTED] Date: Tue, 6 Nov 2007 10:05:46 
 -0800   Nabila,  To print the value, you may do something like  puts 
 [$myagent set myvar_]  Cheers, Teerawat  On 11/6/2007, Nabila khedimi 
 [EMAIL PROTECTED] wrote:   This is what I did, we can set a value to 
 the variable like you did but how to get its value, for printing for example 
To: [EMAIL PROTECTED]; ns-users@ISI.EDU Subject: Re: [ns] access to 
 TCL instance variables From: [EMAIL PROTECTED] Date: Tue, 6 Nov 2007 
 08:13:30 -0800   Hi Nabila,  First of all, you need to bind your OTcl 
 class Agent/MyAgentOtcl to, for example, MyAgent. Secondly, suppose you need 
 to access variable my_var_ of class MyAgent. You need to bind this variable 
 to the OTcl domain. This can be done in the constructor:  
 MyAgent:MyAgent() { bind(my_var_, my_var_); }  Then you will be able 
 to access varaible my_var_ from the OTcl domain:  set myagent [new 
 Agent/MyAgentOtcl] $myagent set my_var_ 10  Good Luck Teerawat  On 
 11/6/2007, Nabila khedimi [EMAIL PROTECTED] wrote:Hi,How do we 
 access instance variables of a c++ class in tcl code I tried thefolowing: set 
 myagent [new Agent/MyAgentOtcl]# Set configurable parameters of 
 MyAgent$myagent set my_var1_otcl 4$myagent set my_var2_otcl 3.14$myagent 
 call-my-priv-funcset intvar 0set intvar [Agent/MyAgentOtcl my_var1_otcl] puts 
 my_var1_otcl = $intvar I have had this:my_var1_otcl= my_var1_otclthe name 
 instead of th value, what's the problem, neither set intvar $myagent 
 my_var1_otcl works Thanks for helpnabila 
 _ Windows 
 Live Hotmail and Microsoft Office Outlook – together at last. Get it now. 
 http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
   _ Boo! 
 Scare away worms, viruses and so much more! Try Windows Live OneCare! 
 http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
_
Help yourself to FREE treats served up daily at the Messenger Café. Stop by 
today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline


Re: [ns] a loop or a start and stop methods

2007-11-08 Thread Pedro Vale Estrela


You need to schedule a tcl proc which: 
a) does ping send  
b) reschedule itself for 1 second later

this is a simple 4 line TCL proc!

you can also do this in c++ only by using a timer object, for the same
purpose. This will require recompilation and c++ debugging.

Pedro Estrela
http://tagus.inesc-id.pt/~pestrela





 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Nabila khedimi
 Sent: quinta-feira, 8 de Novembro de 2007 18:16
 To: ns-users@ISI.EDU
 Subject: [ns] a loop or a start and stop methods
 
 
 
 Hi,
 I want to execute a ping agent continuously during the simulation,
 regarding the schedular object in NS, is there any the difference between
 making a infinite loop inside the tcl code or define a start and a stop
 method inside the ping agent code(which is a c++ program)
 Thanks for help
 Nabila
 




[ns] about AODV protocol in reall life

2007-11-08 Thread adi suryo wibowo

I was simulated aodv and now I have question what example
implementation about AODV protocol in real life?
this is just teory or are there usefull implementation about  MANET in
our daily life?
as i know MANET just support Share file or data, can you told me about
other implementation in recent time?



thanks for your attention
Regards
stt Telkom student



[ns] wfq simulations

2007-11-08 Thread alejandro gomez


hi everyone, 
 
i am trying to implement some examples about wfq algorithm, and i already check 
the website http://www.cc.jyu.fi/~sayenko/ where i found some examples, but it 
is needed to run a patch. thestepa follow are:
 
1- I download the patch and the examples
2- unzip in the folder where i have the others scripts (work folder)
3- I run the patch, accrding to the readme file.
4- it says: usage patch.
5 i try to execute the example attached but it does not work.
 
can anybody helpme, what am i doing wrong??
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/