[ns] About turning mobilenode off

etienne at ibge.gov.br etienne at ibge.gov.br
Tue Apr 12 09:33:12 PDT 2005







----- Repassado por Etienne Cesar Ribeiro Oliveira/DSI/DI/IBGE em
12/04/2005 09:33 -----
                                                                                                                                       
                      Etienne Cesar                                                                                                    
                      Ribeiro Oliveira         Para:    ns-users at isi.edu                                                               
                      Enviado Por:             cc:                                                                                     
                      Etienne Cesar            Assunto: Re: [ns] About turning mobilenode off(Document link: Etienne Cesar Ribeiro     
                      Ribeiro Oliveira         Oliveira)                                                                               
                                                                                                                                       
                                                                                                                                       
                      11/04/2005 16:43                                                                                                 
                                                                                                                                       
                                                                                                                                       



Hello,

I have the same problem and I also thought in turning the node energy to 0,
but this is not an elegant option. Let´s wait for a better solution.

Regards,
Etienne.


                                                                                                                                       
                      Michał Behrendt                                                                                                  
                      <michal.behrendt@        Para:     <ns-users at ISI.EDU>                                                            
                      xl.wp.pl>                cc:                                                                                     
                      Enviado Por:             Assunto:  [ns] About turning mobilenode off                                             
                      ns-users-bounces@                                                                                                
                      ISI.EDU                                                                                                          
                                                                                                                                       
                                                                                                                                       
                      11/04/2005 12:19                                                                                                 
                                                                                                                                       
                                                                                                                                       







Hello
I am trying to simulate military ad hoc communication system and I need to
simulate situation of destroying some of nodes (= turning them off). I have
read about node off method but in my simulation I get segmentation fault
error.
Which lines should I comment in mobilenode.cc to fix this error ?
I thought about another method -  turning node energy to 0. I need my nodes
to be silent. They can't forwarding routing packet. How can I do this
method
(where should I attach energy model to a node and switch it to 0 ?)
Any other possibility ?
Thank you






More information about the Ns-users mailing list