Re: [ns] Installation problems of nist module on ns-2.29

2011-05-31 Thread hamzah.z


Good Day 
can anyone please tell me how to install NIST WiMAX Model and NIST Mobility
Model together on NS-2.29 
thank you all 


ying hou-2 wrote:
 
 
 
 Dear ns2 users,   
 I am trying to install the nist module--mobility packet for ns2 on
 ns-2.29.   
 I download the packet from official website and replace it with the
 original   
 ns-2.29 and did following:   
 1. ./install   
 2. recomplied: make clean   
 3. ./configure   
 4. make   
 After that the original examples can be executed without any problem, but
 when   
 I run the example testMIH.tcl, it didn't work and the error message
 shows   
 invalid command name `agent/ND`...   
 Any information regarding this will be really appreciated. Thanks in
 advace.   

 Best regards,   
 Ying HOU  
 

-- 
View this message in context: 
http://old.nabble.com/Installation-problems-of-nist-module-on-ns-2.29-tp10872573p31738376.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Pausing and Resuming a Method

2011-05-31 Thread Dhara Buch




- Forwarded Message -
From: Dhara Buch dharab...@yahoo.com
To: ns-users@isi.edu ns-users@isi.edu
Sent: Monday, May 30, 2011 1:42 PM
Subject: Re:[ns]Pausing and Resuming a Method


Hello,

I want to pause a method, say sendRequest, until a specific event occurs. After 
the occurrence of the event , the method should be resumed. How to do that?

Dhara Buch


Re: [ns] Installation problems of nist module on ns-2.29

2011-05-31 Thread kalpa sankara

Hi 

Pl check the following site

http://www.wimax360.com/forum/topics/how-to-install-ns229-for-nist?commentId=610217%3AComment%3A138767


It has a zip file with ns2.29 and NIST wimax patch. 

rgds





From: hamzah.z zmez...@yahoo.com
To: ns-users@ISI.EDU
Sent: Tue, May 31, 2011 12:24:20 PM
Subject: Re: [ns] Installation problems of nist module on ns-2.29



Good Day 
can anyone please tell me how to install NIST WiMAX Model and NIST Mobility
Model together on NS-2.29 
thank you all 


ying hou-2 wrote:
 
 
 
 Dear ns2 users,  
 I am trying to install the nist module--mobility packet for ns2 on
 ns-2.29.  
 I download the packet from official website and replace it with the
 original  
 ns-2.29 and did following:  
 1. ./install  
 2. recomplied: make clean  
 3. ./configure  
 4. make  
 After that the original examples can be executed without any problem, but
 when  
 I run the example testMIH.tcl, it didn't work and the error message
 shows  
 invalid command name `agent/ND`...  
 Any information regarding this will be really appreciated. Thanks in
 advace.  
    
 Best regards,  
 Ying HOU  
 

-- 
View this message in context: 
http://old.nabble.com/Installation-problems-of-nist-module-on-ns-2.29-tp10872573p31738376.html

Sent from the ns-users mailing list archive at Nabble.com.


[ns] Question About NIST Mobility Model

2011-05-31 Thread Sandy Haff

hi 
i was able to install the ns-2.29 and nist mobility model from this website 
 http://www.nist.gov/itl/antd/emntg/ssm_tools.cfm  
so when i installed it i found that there is a wimax directory inside the 
ns-2.29 file watch was in the this folder that i downloaded from 
the website   ns-nist-mob.tgz 

so my question is , is that mean that the wimax model already installed inside 
NIST Mobility model ??

or do i have to install it also to make my ns-2.29 support wimax 

best regards to all 

sandy  


[ns] multicast traffic for ad hoc routing

2011-05-31 Thread Zeinab Rezaiefar

Hi ,
I want to test  a geocast routing that i  write for vanet in ns2
but I don't know how I can write multicast traffic for it in tcl file?
I want that one  node send massage and according to place that sender puts , 
the 
place of destination region is specified .
and I don't know how to write traffic for it?
best regard 


[ns] multicast traffic for ad hoc routing

2011-05-31 Thread Zeinab Rezaiefar

Hi ,
I want to test  a geocast routing that i  write for vanet in ns2
but I don't know how I can write multicast traffic for it in tcl file?
I want that one  node send massage and according to place that sender puts , 
the 
place of destination region is specified .
and I don't know how to write traffic for it?
best regard 


Re: [ns] ./Threshold utility wiax OFDMA radio propagation modle

2011-05-31 Thread RamiHach


Dear Raheel
I have a tcl script witch simulate one access point(802.11), one basestation
wimax and mobile node with 2 interface (one wifi and one wimax). Ihave a
high packet loss rate for wimax. so I think to increase the power ofthe base
station but I obtain always pt_ = 0.28...by doing ./threshold -m
TwoRayGround 1000 but I think I have to increae the Pt_ I dont kwon how can
you help please ?

Raheel Adel wrote:
 
 
 
 
 Hello 
 I am stuck in this point at the moment 
 as i am trying to set different radius values for base station coverage
 area 
 the problem is Wimax  AWG module only uses Propagation/OFDMA while
 threshold.cc 
 is not defined for it
 my question is 
 can i use the two ray ground values for the OFDMA one ?
 i noticed when i run the threshold utility it give the same transmit power
 which 
 is 0.28
 although i tried to input different value for pt and i also tried to
 change it  
 ns-default script
 nop 
 nothing worked
 any help?
 thank you
 Raheel
 
 
 
   
 
 

-- 
View this message in context: 
http://old.nabble.com/Bandwidth-calculation-tp29021164p31740051.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] anycast implementation in ns2?

2011-05-31 Thread L.Liang

Hi, folks,
  I need a bit of tips here about anycast in ns2. I went through the email 
archive and only found a few emails asking this without any answer back to 
2002. I assume someone must have done something regarding anycast in ns2. Could 
any of you point it out for me, please? Both codes and hints on which module 
should I modify are more than welcome. My guess is that unicast routing and 
address modules should be modified using C++. Is it right? or there are ways 
using TCL to implement it? Thanks in advance. 

Cheers,
Lei Liang 



[ns] Urgent:Assigning Different Initial Energies to Nodes

2011-05-31 Thread Anoop thesis

Hi NS Users,

Can anyone tell me how to assign different initial energies to nodes? I have
tried configuring each node individially. But for my toplogy
I need different energy classes.

As an example, if there are a total of 50 nodes, I need first 10 nodes with
say 50J of initial energy, next 10 with 100 and so on.

Any ideas would be appreciated.

Thanks in advance.

Best

Anoop


Re: [ns] how to stop the simulation of all those nodes having energy 0.. plz plz help me...

2011-05-31 Thread Clederson

The code I used (the first one) was useful only to know WHEN the first node
dies.
When it happens the ns2 must exit, or abort.
Dont know what you exactly need.

On Tue, May 31, 2011 at 2:21 AM, yogesh bansal yogesh.uiet...@gmail.comwrote:


 with the help of hemang advice, i changed my code from this

 *// MY INCLUDED CODE
  if (energy_model_-energy() = 0) {
 fprintf(stdout,DEATH -t %f -n %d -e %.20f, s.clock(),address_,
 energy_model_-energy());
 fprintf(stderr,DEATH -t %f -n %d -e %.20f, s.clock(),address_,
 energy_model_-energy());
   //exit(1);
  }
 // END OF MY INCLUDED CODE*

 to this

 *// MY INCLUDED CODE
 if (energy_model_-energy() = 0) {
 fprintf(stdout,DEATH -t %f -n %d -e %.20f, s.clock(),address_,
 energy_model_-node_off());
  fprintf(stderr,DEATH -t %f -n %d -e %.20f, s.clock(),address_,
 energy_model_-node_off());
   //exit(1);
  // return TCL_ERROR;
 }
 // END OF MY INCLUDED CODE*

 in mobilenode.cc file.


 is it ok guys?? itz urgent.. am i wrong at some point.. i ll be very
 thankful to u..

 where should i write return TCL_ERROR;


 On Tue, May 31, 2011 at 12:37 AM, yogesh bansal yogesh.uiet...@gmail.com
 wrote:

  thanks a lot hemang for giving me so valueable idea
 
 
 
 
 
  yogesh
 
 
  On Tue, May 31, 2011 at 12:18 AM, hemang kothari 
  hemangkothari...@gmail.com wrote:
 
  you can make it by using on/off function provided by mobilenode.cc file
 
  when energy reach to zero it will automatically switch off.
 
  On Tue, May 31, 2011 at 6:01 AM, yogesh bansal yogesh.uiet.it@
 gmail.comwrote:
 
 
  hi to all ns users,
 
  hello sir/mam,
 
  plz plz help me.
 
  i want to stop the simulation of all those nodes having energy 0 and
  simulation of other nodes should continue having energy greater than 0.
 
 
  I've been trying to abort the execution in the Mobilenode::log_energy
  method
  in mobilenode.cc file in common folder.
  I'm doing something like this:
 
  *//this code is already present.*
  void
  MobileNode::log_energy(int flag)
  {
   if (!log_target_)
return;
   Scheduler s = Scheduler::instance();
   if (flag) {
  //sprintf(log_target_-pt_-buffer(),N -t %f -n %d -e %f,
  s.clock(),
sprintf(log_target_-pt_-buffer(),N -t %f -n %d -e %.20f,
  s.clock(),address_, energy_model_-energy());
   } else {
sprintf(log_target_-pt_-buffer(),N -t %f -n %d -e 0 , s.clock(),
  address_);
   }
  *// MY INCLUDED CODE
   if (energy_model_-energy() = 0) {
fprintf(stdout,DEATH -t %f -n %d -e %.20f, s.clock(),
  address_, energy_model_-energy());
fprintf(stderr,DEATH -t %f -n %d -e %.20f, s.clock(),
  address_, energy_model_-energy());
exit(1);
   }
  // END OF MY INCLUDED CODE*
   log_target_-pt_-dump();
  }
 
 
  *// by exit(1) the network exits. so where should i use exit??
 
 
  if i use return (TCL_ERROR); where should i write this in tcl file or
  here??
  *
 
 
 
 




-- 
Clederson


[ns] Invitation to connect on LinkedIn

2011-05-31 Thread JAYANTHI MURTHY via LinkedIn

LinkedIn





JAYANTHI MURTHY requested to add you as a connection on LinkedIn:
  
--

Rishabh,

I'd like to add you to my professional network on LinkedIn.

- JAYANTHI

Accept invitation from JAYANTHI MURTHY
http://www.linkedin.com/e/362gef-godrd9p2-4h/XYLt_3zkkGuzoc16gPkCk3Z-PrP/blk/I1385128853_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPcRe3wOcjkUcP59bQJRhnkQcPhcbPkMdP4Qcj4Qc3cLrCBxbOYWrSlI/EML_comm_afe/

View invitation from JAYANTHI MURTHY
http://www.linkedin.com/e/362gef-godrd9p2-4h/XYLt_3zkkGuzoc16gPkCk3Z-PrP/blk/I1385128853_3/3dvcPkUe38NdjwPckALqnpPbOYWrSlI/svi/

--

Why might connecting with JAYANTHI MURTHY be a good idea?

People JAYANTHI MURTHY knows can discover your profile:
Connecting to JAYANTHI MURTHY will attract the attention of LinkedIn users. See 
who's been viewing your profile:

http://www.linkedin.com/e/362gef-godrd9p2-4h/wvp/inv18_wvmp/

 
-- 
(c) 2011, LinkedIn Corporation