[ns] code for encryption algorithm in wsn

2010-07-20 Thread Maumita Chatterjee

hi a,
  do anyone of you have any code for any kind of encryption 
algorithm? please reply me if u have this...

thank u...





[ns] How to set UDP packet header parameters?

2010-07-20 Thread Hesam Yousefipour

Hi all

Can anybody tell me how can I set a UDP packet header parameters in TCL
like Flags? Can I assign a Label to a packet? how?

How can I decide what to put inside a packet's body?

Thank you
-
Hesam Yousefipour (Mr)
Department of Information Technology (IT) Engineering
Institute for Advanced Studies in Basic Sciences (IASBS)
Po Box: 45195-1159
Zanjan 45195
Iran

Tel: (+98) 912-296-4404
Fax: (+98) 241-415-2182
Email:
syous...@iasbs.ac.ir
Alternate:
hesamyousefip...@gmail.com
-





[ns] tcp packet

2010-07-20 Thread avinash chaurasia

hi all,
Does tcp packet in wireless have data in payload as whenever i tried to
print it using
if((PacketData*)p-userdata()!
=NULL) {
PacketData* packdata = (PacketData*)p-userdata();
unsigned char* pdata = (unsigned char*)packdata-data();
printf(data =  %s and p data = %d ,pdata, pdata);
}

it shows some awkward result(unreadable format) with %s and blank with %c
but have some random numbers with %d, while datalen() returns 10 but
strlen(pdata) returns 1 .  Can i think number returned by %d is real
payload? if no please let me know how to write payload on trace files.


Thanks
Avinash Kumar Chaurasia
Department of Computer Science
IIT Kanpur, India


[ns] How to switch to a new frequency

2010-07-20 Thread Lupe Krops

Dear all,

I 'm simulating a wireless network with AODV. Is it possible to instruct
some of the nodes during simulation time to use a different frequency?
When some nodes receive a command, I need them to change the frequency they are 
using and switch to a new frequency. Can you give me some guidelines how I can 
achieve it in c++?

Thank you in advance,
Lup.


  


[ns] Link state routing (OSPF)NS2

2010-07-20 Thread Shak S





Hi,
 
I was wondering if anyone has implemented OSPF in NS2? I am working on 
modifying the OSPF protocol. Has anyone worked on this? Aany help or advice 
will be truly appreciated.
 
Regards,
Shak
  
_
http://clk.atdmt.com/UKM/go/19780/direct/01/
Do you have a story that started on Hotmail? Tell us now


[ns] Help MAODV script

2010-07-20 Thread Ibt Vo









Hi !
 
I have read the document which I attached. However, I still don't know clearly 
the meaning of these lines below :
 
(puts Loading connection pattern ... )
source ../$traffic/$traffic-$senders-$receivers-2-256.aodv.$nodes 
(If I chance this path like : source /home/mylaptop/traffic/cbr1, is it ok? )
(puts Loading scenarios file... )
source ../scen-1500x300/scen-1500x300-$nodes-$pausetime-$mobility-$scenario
 
(If I change this path like : ource /home/mylaptop/traffic/cenario1, is it ok 
?)
 
If anyone have implemented MAODV successfully, please explain clearly about 
these lines.
 
Thanks
Vo




Re: [ns] Intermediate between ns2 and web server

2010-07-20 Thread Barun Saha

Hi All,

I'm trying to develop a web application involving ns2. The idea is, user can
write a small simulation program and submit from the front end. This program
would go the web server, which will then have the script executed by ns2
(running on the server machine), and send back the output (or error message)
to the user.

Is there any existing software that could help me to achieve this i.e.
converting a HTTP request to input for ns2 and output from ns2 to HTTP
response?

On Tue, Jul 20, 2010 at 8:08 PM, dae...@isi.edu wrote:


 Welcome to posting to the ns-users mailing list!

 We automatically send this message to every new person who sends mail
 to the list.  You should only receive it once.  My apologies if the
 program contacts you twice, perhaps because you have multiple e-mail
 addresses or send mail from multiple machines.

 If you are an experienced ns-user who simply has not posted since we
 started using this responder, our apologies for inconveniencing you
 with this message.  This message is intended to help inform users and
 cut down on redundant posts, which benefits everyone.

 Please look at the attached list of ns Frequently Asked Questions.
 If it answers your question, great!  You're done.
 If not, please RE-SEND your original message to ns-us...@isi.edu.
 A copy of your original message is included below for reference.

 You will NOT have to do re-send your message every time you post, only
 the FIRST time you send from a new account.  The goal is to quickly
 help new users find the FAQ (hopefully answering their question).

 Thanks,
   -the ns development team


 


The Network Simulator ns-2: Frequently Asked Questions

   (This FAQ is also on the web at
   http://www.isi.edu/nsnam/ns/ns-faq.html.)

 * _Where do I get ns?_

   From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and
   the download page http://www.isi.edu/nsnam/ns/ns-tests.html.

 * _What platforms does ns run on and what kind of hardware do I
   need?_

   Please see where to start on the building ns web page:
   http://www.isi.edu/nsnam/ns/ns-build.html#start.

 * _What should I do if I have trouble downloading/extracting ns?_

   This question is answered in detail at
   http://www.isi.edu/nsnam/ns/ns-problems.html#downloading.

 * _What should I do if I encounter problems building ns?_

   Check:
 1. the README that comes in the distribution (very brief),
 2. the installation problems, bug fixes and help web page
http://www.isi.edu/nsnam/ns/ns-problems.html,
 3. the archives of the ns-users mailing list
http://www.isi.edu/nsnam/ns/ns-lists.html,
 4. post a bug report (see below)
http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi.

 * _What do I do after I successfully build ns?_

  + Put the path to your ns executable into your PATH environment
  + Put the path to your otcl into your LD_LIBRARY_PATH
environment
  + Put the path to your tcl library into your TCL_LIBRARY
environment

 * _Where can I find documentation for ns?_

   All documentation is linked from the main ns web page
   http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial
   (originally from Marc Greis) and a reference manual (ns notes and
   documentation).

 * _Words, words, words... that documentation is nice, but where are
   some sample scripts I can start from?_

   Many sample scripts can be found in the ns distribution in
   ~ns-2/tcl/ex and ~ns-2/tcl/test.

 * _What protocols does ns support?_

   A lot! Almost all variants of TCP, several forms of multicast,
   wired networking, several ad hoc routing protocols and propagation
   models (but not cellular phones), data diffusion, satellite, and
   other stuff. See the documentation (described above) for details,
   or download ns and look.

 * _How do I know that ns correctly implements these protocols?_

   Ns has validation tests that cover many protocols, see
   http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately
   users are responsible for verifying that ns is accurate for their
   purposes---since we cannot foresee all the ways ns may be used, we
   cannot test all cases with all inputs.

 * _Are there any contributed/additional protocols not in the main
   distribution?_

   Yes, please see the contributed code web page
   http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list
   archives can also be helpful (see below).

 * _How should I get started doing something (like implementing a new
   protocol or trying an experiment)?_

   We recommend that you look through the tutorial (see
   documentation, above), then start with an example program that is
   most similar to yours (in the tutorial, or in 

[ns] Help me please!!!!!!

2010-07-20 Thread Cecy C.




From: clc...@hotmail.com
To: ns-users@isi.edu
Subject: Help me please!!
Date: Tue, 20 Jul 2010 09:50:54 -0500








Hi ns-users

Hello, I have a question, hopefully someone can help me, because I'm very 
desperate.  How
I can change the AODV protocol to be able to send several times at any
time a package sendHello, disabling HelloTimer and send message
Hello when a node moves to another position? The Hello message must reach out 
to neighbors who are to 3 hops away from the node to be moved.

I will be very grateful for the help I can get.

Cecy L. 
  
  
_
¿Te crees fan de Messenger? Compruébalo
www.vivirmessenger.com


Re: [ns] Link state problem

2010-07-20 Thread Shak-x


Hi Waqar,

Did you manage to solve your problem in the end?? I am also working on
implementing OSPF routing on ns2 and possibly modifying it. Can you help me
with that??

Shakib




waqar haq wrote:
 
 
 hi
 can anybody tell me how to enable load balancing and bandwidth count
 features of link state
 
 plz plz help me
 
 

-- 
View this message in context: 
http://old.nabble.com/Link-state-problem-tp28272451p29215923.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] What does this TORA trace file means

2010-07-20 Thread Ali Al-Shra'ah.

Dear all,
Can any one help me, what this TORA trace file means.
And what does single character like T,s,r means.
regards,
Ali Hussein.



  

[ns] wired_cum_wrireless mesh example!!

2010-07-20 Thread svetla verma

Hi,
  I am a  grad research student of Dept of Electronic engineering of
King's college London..  I intend to create a wired_cum_wireless mesh
example (any ad-hoc routing is fine)..I have read in a few places in the net
that the ns2 support for wired_cum_wireless mesh is poor..
Does anyone know of any known bugs???
Does anyone have a basic wired_cum_wireless mesh script that they can
share???
Also when i try to run the nam file generated in wireless2.tcl the alignment
of the wired and wireless nodes are a bit strange..the wired nodes (0, 1, 2)
are right at the bottom..And the wireless nodes are far end at the top..(3,
4, 5)
Something like below...

  3

   4


   5





   0
   |
  1
 /
/
2

I know i can change their alignment by specifying the topogies..but the way
they are specified, is that a normal thing to do??/

Any help , advise in this direction will help me a lot and is highly
appreciated...

thanks and Regards,
Svetla
King's college London


Re: [ns] Link state problem

2010-07-20 Thread ikenna ajere


Pls has any1 encountered this error; pLs tell me how to resolve it

awk: throughput1.awk: line 62: runaway string constant AverageDel ...

It occurred while I was trying to run an awk script and I have not been able to 
figure out the problem.

Thanks as I await ur urgent response

--- On Tue, 20/7/10, Shak-x shakst...@hotmail.com wrote:

From: Shak-x shakst...@hotmail.com
Subject: Re: [ns] Link state problem
To: ns-users@ISI.EDU
Date: Tuesday, 20 July, 2010, 10:33



Hi Waqar,

Did you manage to solve your problem in the end?? I am also working on
implementing OSPF routing on ns2 and possibly modifying it. Can you help me
with that??

Shakib




waqar haq wrote:
 
 
 hi
 can anybody tell me how to enable load balancing and bandwidth count
 features of link state
 
 plz plz help me
 
 

-- 
View this message in context: 
http://old.nabble.com/Link-state-problem-tp28272451p29215923.html
Sent from the ns-users mailing list archive at Nabble.com.




  


[ns] awk: throughput1.awk: line 62: runaway string constant AverageDel ...

2010-07-20 Thread ikenna ajere


Pls has any1 encountered this error; pLs tell me how to resolve it

awk: throughput1.awk: line 62: runaway string constant AverageDel ...

It occurred while I was trying to run an awk script and I have not been able to 
figure out the problem.


--- On Tue, 20/7/10, ikenna ajere ajer...@yahoo.co.uk wrote:

From: ikenna ajere ajer...@yahoo.co.uk
Subject: Re: [ns] Link state problem
To: ns-users@ISI.EDU
Date: Tuesday, 20 July, 2010, 18:21



Pls has any1 encountered this error; pLs tell me how to resolve it

awk: throughput1.awk: line 62: runaway string constant AverageDel ...

It occurred while I was trying to run an awk script and I have not been able to 
figure out the problem.

Thanks as I await ur urgent response

--- On Tue, 20/7/10, Shak-x shakst...@hotmail.com wrote:

From: Shak-x shakst...@hotmail.com
Subject: Re: [ns] Link state problem
To: ns-users@ISI.EDU
Date: Tuesday, 20 July, 2010, 10:33



Hi Waqar,

Did you manage to solve your problem in the end?? I am also working on
implementing OSPF routing on ns2 and possibly modifying it. Can you help me
with that??

Shakib




waqar haq wrote:
 
 
 hi
 can anybody tell me how to enable load balancing and bandwidth count
 features of link state
 
 plz plz help me
 
 

-- 
View this message in context: 
http://old.nabble.com/Link-state-problem-tp28272451p29215923.html
Sent from the ns-users mailing list archive at Nabble.com.




      



  


[ns] Help needed in simulating Q-Routing

2010-07-20 Thread ankur goyal

Hi,

I have to simulate Q-routing to see the performance of the network in low
and high load condition as mentioned in Justin boyne's paper. Can anyone
please help me to simulate this as NS2 is new to me. I have already read
many documents on Q-routing and NS manual, but i am still not able to code
Q-routing.

Please help me in simulation.

Thanks,
Ankur