[ns] how to improve performance of tcp than cbr and add and join feature in maodv

2009-02-05 Thread vaishali mandhare

Hello,
I am doing my M-Tech.project in ns2.26 and performance comparision of tcp and 
cbr.I want to improve tcp performance of tcp and want to add join and leave 
feature in maodv.How can I do it?plz plz plz.. help me as early as possible
 
vaishali


  Did you know? You can CHAT without downloading messenger. Go to 
http://in.webmessenger.yahoo.com/

[ns] mathematical model of any layer from OSI

2009-02-05 Thread Safiya Nureen

Hi
how to make a simple mathematical  model the MAC layer of WLAN. 
THANKS

Safiya
King Faisal Univ.
Saudi Arabia


  


[ns] compile a new protocol

2009-02-05 Thread sarym binome




From: binome_...@hotmail.com
To: ns-users@isi.edu
Subject: ping.o
Date: Thu, 5 Feb 2009 11:25:08 +








hi everybody
i want to create a new protocol i saw the example ping in ns tutorial, i want 
to do the same thing but i don't know how to add ping.o to the makefile cause 
when i searched it in the ns-2.33 folder i found a lot of file named Makefile , 
i don't know where can i add  my_ping.o 
somebody help me plz
best regards 


Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? 
Lancez-vous !
_
Découvrez tout ce que Windows Live a à vous apporter !
http://www.microsoft.com/windows/windowslive/


[ns] add signature to a routing protocol

2009-02-05 Thread sarym binome




From: binome_...@hotmail.com
To: ns-users@isi.edu
Subject: secure routing
Date: Wed, 4 Feb 2009 11:24:13 +








hi everybody
i want to add some security  aspects for AODV routing protocols, i have to 
integrate a cryptolib (cryptography algorithm) , but i have no idea how to do 
that , and how can i use the algorithm , i want to use RSA to generate a 
signature and SHA2 for a hash function . if somebody  did it befor i ask him or 
her to help me .
i need some simple example or a link for a biginners 

thank's 
have a good day 


Découvrez tout ce que  Windows Live a à vous apporter !
_
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? 
Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx


Re: [ns] compile a new protocol

2009-02-05 Thread tAnAt



sarym binome wrote:
> 
> 
> 
> Hello
> 
> U need to edit Makefile.in then run ./configure and then make.
> 
> Good luck
> 
> From: binome_...@hotmail.com
> To: ns-users@isi.edu
> Subject: ping.o
> Date: Thu, 5 Feb 2009 11:25:08 +
> 
> 
> 
> 
> 
> 
> 
> 
> hi everybody
> i want to create a new protocol i saw the example ping in ns tutorial, i
> want to do the same thing but i don't know how to add ping.o to the
> makefile cause when i searched it in the ns-2.33 folder i found a lot of
> file named Makefile , i don't know where can i add  my_ping.o 
> somebody help me plz
> best regards 
> 
> 
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
> Lancez-vous !
> _
> Découvrez tout ce que Windows Live a à vous apporter !
> http://www.microsoft.com/windows/windowslive/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/compile-a-new-protocol-tp21851979p21853257.html
Sent from the ns-users mailing list archive at Nabble.com.




[ns] What kind of changes I need to do in AODV.cc ns-2-32 for to fix a route path?

2009-02-05 Thread Carlos Lino Ramírez



Hello ns-users,
 
I am trying for changes in aodv.cc for to fix a route for to send; I want to 
see that when one node send packets to one destination only the first time look 
for path and then save it path to send more packtes to same destination. 

My questions are:
Is posible to do this modification in this file?
What kind of modification need to do for achieve this?

Please help me. Thank you so much
 
Sincerely,

Carlos Lino Ramírez


¡Haz tu clic solidario y ayuda a África! ¡Puedes empezar ahora!
_
Llega la nueva temporada. Consulta las nuevas tendencias en MSN Estilo
http://estilo.es.msn.com/moda/


[ns] One interface with two channels

2009-02-05 Thread Miguel Pereira

Hello

I'm trying to implement a new mac protocol, similarly with 802.11. Now I
need to create one uplink channel and one downlink channel, to have
simultaneously transmissions.
To achieve that, I only found the perspective multi-channel with
multi-interface, that is not what I want. What I really want is one
interface with support to two channels, because I need to preserve just one
mac layer per node.

Is this possible?
What I need to change to achieve this?

I'm thinking to create a new add-interface method on ns-mobilenode.tcl, with
two channels for one interface, is this valid?


Thanks for any feedback and any help.

-- 
Miguel Pereira


[ns] about two versions of setdest

2009-02-05 Thread Ginnah

Hello everybody.

ns provides a tool named setdest generating mobility files automatically.
(located at "ns/indep-utils/cmu-scen-gen/setdest")
it has two verisons, one was implemented by cmu people in 1999 and the other
is the modified version implemented by Michigan people in 2003.

what I want to figure out are
1. whether each version makes sense to use
2. how different those two are, especially, how can i use version 2 as like
version 1??

actually i tested two versions and found something awkward.
i set the min speed in the version 2 "0.001" which would get the same result
of zero min speed.
and the min speed in the version 1 is always zero.
so i expected the two results would be almost same.
but really different results came out.

hope somebody can help me with this matter.

thanks

-- 
Ginnah Lee
Graduate Student
Dept.of Electrical and Computer Engineering
University of Maryland
College Park, MD 20742
++
Tel: +1-240-429-0080


[ns] Multiple Gateway Load Balancing in wireless networks (MESH/MANETs)

2009-02-05 Thread Vinh Pham

Dear all.

I'm going to work with multiple gateway load balancing in wireless networks 
such as MESH/MANETS. If anyone that have an "multiple gateway load balancing" 
implementation in ns-2, I would appreciate if you could share the code with me. 
Also, if you can recommend any related papers, please let me know.

Thank you all

Regards

Vinh



[ns] doubt in executing tcl script in ns2.29 using cygwin/x

2009-02-05 Thread pavithra Naidu

Hi,

Initially,I was using ns-allinone-2.29 under windows.Usually I used to
excute tcl script in cygwin window by typing startx and then later ns
.tcl and I used to get nam output along with trace file(.tr
file).But recently I have updated my cygwin with new features like
xfig,ddd,emacs.

But,when I type startx,cygwin/x:0.0 is getting displayed and when I type ns
.tcl it is not displaying any nam window.

Can anyone let me know what are the commands used to execute tcl script in
ns2.29 using new version of cygwin.

Thank you,

pavikirthi


[ns] new protocol my ping

2009-02-05 Thread sarym binome


hello
i make some change in a ping example in order to try to compile a new protocol 
, but it doesn't  work i don't know why !!
i've  only create new files myping.cc myping.h myping.tcl i put them in 
ns-2.33/apps, and i've  replace  only ping by myping in all class for example 
in myping.h 

#ifndef ns_myping_h
#define ns_myping_h

#include "agent.h"
#include "tclcl.h"
#include "packet.h"
#include "address.h"
#include "ip.h"


struct hdr_myping {
  char ret;
  char nbhop;
  double send_time;
};


class myPingAgent : public Agent {
 public:
  myPingAgent();
  int command(int argc, const char*const* argv);
  void recv(Packet*, Handler*);
 protected:
  int off_myping_;
};


#endif

i did all the necessary changement in 
tcl/lib/default.tcl, common/packet.h..and in Makefile i add 
apps/myping.o
 tell me plz if i have to create myping.o or it's automaticly generated
i run ./configure 
but when i run make oooh my dearest god a lot of error , i'm dispointed 
look in to that :


configure: creating ./config.status
config.status: creating Makefile
config.status: creating tcl/lib/ns-autoconf.tcl
config.status: creating indep-utils/webtrace-conv/ucb/Makefile
config.status: creating indep-utils/webtrace-conv/dec/Makefile
config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
config.status: creating indep-utils/webtrace-conv/epa/Makefile
config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
config.status: creating autoconf.h
config.status: autoconf.h is unchanged
sa...@sarym-laptop:~/Bureau/ns-allinone-2.33/ns-2.33$ make
g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG 
-DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 
-DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H  
-DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std 
-DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I. 
-I/home/sarym/Bureau/ns-allinone-2.33/tclcl-1.19 
-I/home/sarym/Bureau/ns-allinone-2.33/otcl 
-I/home/sarym/Bureau/ns-allinone-2.33/include 
-I/home/sarym/Bureau/ns-allinone-2.33/include -I/usr/include/pcap -I./tcp 
-I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile 
-I./trace -I./routing -I./tools -I./classifier -I./mcast 
-I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr 
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv 
-I./satellite -I./wpan -o apps/myping.o apps/myping.cc
In file included from ./common/agent.h:41,
 from apps/myping.h:12,
 from apps/myping.cc:10:
./common/packet.h: In static member function ‘static void p_info::initName()’:
./common/packet.h:287: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:288: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:289: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:290: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:291: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:292: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:293: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:294: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:295: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:296: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:297: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:298: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:299: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:300: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:301: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:302: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:303: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:304: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:305: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:306: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:308: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:309: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:310: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:311: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:312: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:313: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:315: warning: deprecated conversion from stri

[ns] SIMULATION OF WLAN

2009-02-05 Thread Nithin Reddy

NS users,
I want to simulate IEEE 802.11b WLAN and see the plot between
throughput vs number of stations.  I need a topology like this:
   The mobile stations are randomly distributed in a circle with a
radius of 100 meters and the access point is located in the center of the
circle.The network is under a heavy load condition and traffic is evenly
distributed across all the nodes in the network. Packets arrive the network
according to the poisson distribution and simulation stops after 1 million
packets.
Can anyone please suggest me how to write tcl code for this. Please
send me the tcl code or a part of tcl code for the above scenario.
   please help me. I need it urgently.
  Thanks in advance.


[ns] ARRANGEMENT OF MOBILE NODES

2009-02-05 Thread Nithin Reddy

Dear ns users

How to randomly distribute mobile stations in a circle with a radius of 100
meters and access point should be locared in the center of the circle.
pLEASE HELP ME


[ns] how to implement a buffer

2009-02-05 Thread sai krishna gumudavally

Hello,
I'm working on a project where i need to store (I even need to sort
them according to seq no in the buffer) all the packets received by a node
and manipulate them before forwarding .I need to know how a buffer is
implemented at a node.Please anyone help me.



Thanks,
Saikrishna