[ns] Hello, if there are some sip implementations in ns2

2007-05-30 Thread tiger

 Hello,
I wonder if there are some sip implementations in ns2.  Could you please
email the codes to me or direct me to the appropriate website.
Thanks a lot.

Hao


[ns] Tuning transmission power

2007-05-30 Thread Francesca Martelli

Hi all,

I'm a (very)new user of ns2. I have to implement a mac protocol based on 
csma which is able to change the transmission power (and so the 
transmission range) dynamically. Can I do it by simply putting tcl 
commands such as the following one?

$ns at 0.2 $node_(0) set TxPower_ 8.5872e-4

If not, I have to change the c++ code of ns2 in some way?
I have read a lot of manuals and tutorials, but I didn't understand what 
I have to do..

Thank you in advance for the help
francesca



[ns] multiple interface Tutorial

2007-05-30 Thread nassim laga

Hi,
 I find in the mailing list of NS many mails speaking about ramon tutorial  
 
simulating multiple interfaces according to Ramon's tutorial
   but i search on the web and i didn't manage to find this tutorial?? can 
anyone help to find it??
 
 regards,
 Nassim
 
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


Re: [ns] Hello, if there are some sip implementations in ns2

2007-05-30 Thread Timo Reimann

tiger wrote:
 I wonder if there are some sip implementations in ns2.  Could you
 please
 email the codes to me or direct me to the appropriate website.
 Thanks a lot.

One thing you should do before posting to the list is google for your topic.


--Timo



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

2007-05-30 Thread Ying Hou

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  

[ns] simulation of intrusion into ad-hoc networks with NS2

2007-05-30 Thread Karuna Dambiec



 
Hello,
Im currently looking into detecting intrusion within ad-hoc networks.
Has anybody used NS2 before to simulate a network being intruded upon?
 
Regards
Karun Dambiec
 
--
[EMAIL PROTECTED]


[ns] NEMO extensions for NS2

2007-05-30 Thread Sunith D Velho

Hi,

Are there any extensions to simulate NEMO basic schemes in NS2(any version).

Thanks

Sunith Velho
[EMAIL PROTECTED]





[ns] why only smaller simulation scenarios working in aodv?

2007-05-30 Thread sri_seeta_ram


hello
I'm currrently working on topic related to Preemptive Routing in AODV. I
written c++ code in ns2 to achieve this. Problem is that simulation works
fine for smaller topologies only(upto 10 nodes). If I run larger simulation
scenarios(30) it is giving segmentation fault.
why its not giving error for smaller scenarios and error for larger ones?


Thanks in advance
sri
-- 
View this message in context: 
http://www.nabble.com/why-only-smaller-simulation-scenarios-working-in-aodv--tf3840285.html#a10873427
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Energy and IEEE802.11

2007-05-30 Thread matthi . budde

Hi,

I have a question regarding the energy model of ns-2. 

When a packet is sent over IEEE 802.11, there is an exchange 
of Request-to-send/Clear-to-send (RTS/CTS) Messages. Are 
those actually simulated as packets in ns-2?
I am asking, because I am wondering, whether the energy-use
of such mechanisms is correctly mirrored in ns-2. 

The documnetation on the energy-model in the manual is 
quite brief...

Thank you in advance. Best,

-Matt



Re: [ns] please help me , i m getting error when i introduce new packet, have tried all possibilities

2007-05-30 Thread sri_seeta_ram



modify cmutrace.cc 


mahi kapoor wrote:
 
 
 
 hello everyone
   i have introduced a new packet checkloop in maodv but when i run a tcl
 script
   regarding maodv getting error
   format_aodv:invalid AODV packet type
   also i have done a little change in mact pkt. format.
   i m attaching two files related to it.
   please help me
   regards
   mahi
 

 -
  Check out what you're missing if you're not on Yahoo! Messenger 
 /*
 Copyright (c) 1997, 1998 Carnegie Mellon University.  All Rights
 Reserved. 
 
 Permission to use, copy, modify, and distribute this
 software and its documentation is hereby granted (including for
 commercial or for-profit use), provided that both the copyright notice and
 this permission notice appear in all copies of the software, derivative
 works, or modified versions, and any portions thereof, and that both
 notices appear in supporting documentation, and that credit is given to
 Carnegie Mellon University in all publications reporting on direct or
 indirect use of this code or its derivatives.
 
 ALL CODE, SOFTWARE, PROTOCOLS, AND ARCHITECTURES DEVELOPED BY THE CMU
 MONARCH PROJECT ARE EXPERIMENTAL AND ARE KNOWN TO HAVE BUGS, SOME OF
 WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON PROVIDES THIS
 SOFTWARE OR OTHER INTELLECTUAL PROPERTY IN ITS ``AS IS'' CONDITION,
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE OR
 INTELLECTUAL PROPERTY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 DAMAGE.
 
 Carnegie Mellon encourages (but does not require) users of this
 software or intellectual property to return any improvements or
 extensions that they make, and to grant Carnegie Mellon the rights to
 redistribute these changes without encumbrance.
 
 The AODV code developed by the CMU/MONARCH group was optimized and tuned
 by Samir Das and Mahesh Marina, University of Cincinnati. The work was
 partially done in Sun Microsystems.
 */
 
 
 #ifndef __aodv_packet_h__
 #define __aodv_packet_h__
 
 //#include config.h
 //#include aodv.h
 #define AODV_MAX_ERRORS 100
 
 
 /* =
Packet Formats...
=
 */
 #define AODVTYPE_HELLO0x01
 #define AODVTYPE_RREQ 0x02
 #define AODVTYPE_RREP 0x04
 #define AODVTYPE_RERR 0x08
 #define AODVTYPE_RREP_ACK 0x10
 
 /*** added for multicast ***/
 #define AODVTYPE_GRPH 0x06
 #define AODVTYPE_MACT 0x05
 //done by me
 ///
 #define AODVTYPE_CHECKLOOP0x12
 /***/
 
 /*** added for prediction in multicast***/
 #define AODVTYPE_WARN   0x07
 #define AODVTYPE_LPW0x09
 #define AODVTYPE_RPE0x03
 #define AODVTYPE_LINK_RREQ 0x11
 //
 
 /*
  * AODV Routing Protocol Header Macros
  */
 #define HDR_AODV(p)   ((struct hdr_aodv*)hdr_aodv::access(p))
 #define HDR_AODV_REQUEST(p)   ((struct
 hdr_aodv_request*)hdr_aodv::access(p))
 #define HDR_AODV_REPLY(p) ((struct hdr_aodv_reply*)hdr_aodv::access(p))
 #define HDR_AODV_ERROR(p) ((struct hdr_aodv_error*)hdr_aodv::access(p))
 #define HDR_AODV_RREP_ACK(p)  ((struct
 hdr_aodv_rrep_ack*)hdr_aodv::access(p))
 
 /*** added for multicast ***/
 #define HDR_AODV_GRPH(p)  ((struct hdr_aodv_grph*)hdr_aodv::access(p))
 #define HDR_AODV_MACT(p)  ((struct hdr_aodv_mact*)hdr_aodv::access(p))
 #define HDR_AODV_CHECKLOOP(p) ((struct
 hdr_aodv_checkloop*)hdr_aodv::access(p))
 /***/
 
 /*** added for prediction***/
 #define HDR_AODV_WARN(p)((struct hdr_aodv_warn*)hdr_aodv::access(p))
 #define HDR_AODV_REQUEST_LINK(p) ((struct hdr_aodv_request_link
 *)hdr_aodv::access(p))
 #define HDR_AODV_RPE(p) ((struct hdr_aodv_rpe *)hdr_aodv::access(p))
 #define HDR_AODV_LPW(p) ((struct hdr_aodv_lpw *)hdr_aodv::access(p))
 /**/
 
 
 /*
  * General AODV Header - shared by all formats
  */
 struct hdr_aodv {
 u_int8_tah_type;
   /*
 u_int8_tah_reserved[2];
 u_int8_tah_hopcount;
   */
   // Header access methods
   static int offset_; // required by PacketHeaderManager
   inline 

[ns] Problem with make

2007-05-30 Thread Dimitris Liarokapis

Hi,

I have developed a new wireless protocol using ns-2.30, i have made all the
necessary changes to the various ns files along with the makefile.in.
But when i'm trying to #make, i get the following error.
make: *** No rule to make target `tcp/tcp-qs.o', needed by `ns'.  Stop.

Does anyone have any idea on how to fix this???
Tnx
Dimitris


[ns] 802_11 and ethernet

2007-05-30 Thread nassim laga

Hi every body,

Can any one tell me if i can mixe ethernet and 802.11 on the same environement.

regards,
Nassim

 
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


[ns] How to develop a new MAC protocol?

2007-05-30 Thread Hai T. Vu

Hello everybody,

I am trying to develop a new MAC protocol for wireless network. I am
composing two new files, say, newmac.h and newmac.cc. Out of that, I don't
know which files of ns2 that I need to modify in order to make my new
protocol work. Please advice.

Thanks so much and I look forward to hearing from you.

Hai.


[ns] Installation problems with ns-2.29

2007-05-30 Thread Renke Bischoff

Hi!

After I installed ns-2.29 under Debian Linux I received the error message given 
below, independent of the script I try to simulate, even if just type 'ns' 
without any script name. I found this question several times in  the mailing 
list, but I didn't find any answer. 

Does anyone know a solution to this problem?

Many thanks in advance

   Renke 


code omitted because of length]
: can't read id: no such variable
(reading value of variable to increment)
invoked from within
incr id
(procedure SplitObject line 3)
(SplitObject getid line 3)
invoked from within
SplitObject getid
(procedure new line 2)
invoked from within
new RNG
invoked from within
set defaultRNG [new RNG]
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger



[ns] multicast over ad hoc network

2007-05-30 Thread Ana Turk

   Hi all
  Please help me
  Did any one have a tcl code of a multicast over an ad hoc network .
  Please it’s very important 
  Thanks 
  Ana turk

 
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


[ns] NS-2.29 code for MAODV and ODMRP.

2007-05-30 Thread fdouglas

Hi,

 did someone has the NS-2.29 code for the multicast protocols MAODV and
ODMRP?? 

Thanks and regards.

Frank Douglas C de Farias.
Federal University of Amazonas - Brasil



[ns] New 802.11 Node Movement

2007-05-30 Thread YUJEN CHENG

Hi, all,

I am using the [new 802.11] from http://yans.inria.fr/ns-2-80211/ to
simulate.
I tried to use setdest in my tcl script, but I got some error message like
below:
==
ns: _o15 setdest 10.0 40.0 5.0:
(_o15 cmd line 1)
invoked from within
_o15 cmd setdest 10.0 40.0 5.0
invoked from within
catch $self cmd $args ret
invoked from within
if [catch $self cmd $args ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error error when calling class $cls: $args $...
(procedure _o15 line 2)
(SplitObject unknown line 2)
invoked from within
_o15 setdest 10.0 40.0 5.0


Then, I used for loop to call set-position function by second until the
node moves to the destination.
In this way, the node will move like jump to the destination, not smoothly.
Is there any way to make the node move smoothly to the destination,
especially in this new 802.11 model?

Thanks.

Yujen Cheng


Re: [ns] Energy and IEEE802.11

2007-05-30 Thread caijie

Matt,

  hi. I think you're right. RTS and CTS are simulated as packets
in ns-2.But I don't know what it has to do with the energy model.
These packets are transmitted at the basic rate, and MAC_RTSThreshold
is used to control the power threshold used to receive RTS .

  wish you good luck with your work.

Cai Jie



Re: [ns] Problem with make

2007-05-30 Thread Filippos Kolovos

-

Hi. I think that the problem that make reports has to do with the
fact that all the previously object files exist. You could erase the object
files of the .c files that you have modified so that make will have to
rebuild
only these files and not all of ns.

On the other hand, if this doesn't work you can also issue the following
commands, but in this case all of ns will be rebuilt, along with your new
files.
Consider it as a desperate measure:

/configure --with-tcl=the-tcl-directory --with-tcl-ver=the tcl version \
--with-tk=the-tk-directory --with-tk-ver=the-tk-version \
--with-otcl=the-otcl-directory --with-tclcl=the-tcltcl-directory \
--with-perl=the-perl-directory --with-tcl-debug --enable-debug;

make clean;
make depend;
make;

Hope that I have helped.

Kind Regards,

-Fk

On 5/30/07, [EMAIL PROTECTED] //[EMAIL PROTECTED]/ 
[EMAIL PROTECTED] //[EMAIL PROTECTED]/ wrote:


 -- Forwarded message --
 From: Dimitris Liarokapis [EMAIL PROTECTED]//[EMAIL PROTECTED]/
 
 To: ns2 ns-users@ISI.EDU //ns-users@isi.edu/
 Date: Wed, 30 May 2007 15:39:59 +0100
 Subject: [ns] Problem with make
 Hi,

 I have developed a new wireless protocol using ns-2.30, i have made all
 the
 necessary changes to the various ns files along with the  makefile.in.
 But when i'm trying to #make, i get the following error.
 make: *** No rule to make target `tcp/tcp-qs.o', needed by `ns'.  Stop.

 Does anyone have any idea on how to fix this???
 Tnx
 Dimitris



-- 
Filippos N Kolovos

Software Systems Analyst  Engineer
M.Sc. (Eng.) in Data Communications

Automation  Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: [EMAIL PROTECTED],
   [EMAIL PROTECTED]
Phone: +30-2310-891-826
--