[ns] how to set manual routes in wireless simulations?

2006-06-06 Thread Cristina Gil-Gas
Hi ns-users, can anyone give a hint on how to set manual routing in wireless simulations? I am working with the IEEE 802.15.4 model included in ns-2.29. Thanks in advance

[ns] Install NS by Cygwin on Core Duo

2006-06-06 Thread Andrea M.
Do you have a solution to install NS on Core Duo machine with WinXP sp2?

[ns] Problem when adding new variable in common header

2006-06-06 Thread Takuya Kimura
[input] [input] [input] [input] Hi, I want to add a new variable in common header as information for any routing protocols. I edited common/packet.h as follows. struct hdr_cmn { ... static nsaddr_t new_var_; ... }; A node sets value for new_var_ and broadcasts the packet. Any nodes

Re: [ns] Problem when adding new variable in common header

2006-06-06 Thread Pedro Vale Estrela
In the packet constructor, make sure you add an appropriate initializer for your field. I've done what you are describing many times with success. Pedro Vale Estrela > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Takuya Kimura > Sent: terça-fei

[ns] C++ debug in NS2

2006-06-06 Thread Hai Nam
Hello Pedro and the list, I'm modifying NS-2 C++ code. Sometimes I get the "incident de segmentation" error. By commenting out some code, I can know from which function goes this error, but it'll take more time to filter the right code block... Could you propose a debugger for me (I don't have m

Re: [ns] C++ debug in NS2

2006-06-06 Thread Pedro Vale Estrela
How need to take the time to learn a real debugger like DDD. Make a small test program yourself in C, 10 lines are sufficient, then debug in inside DDD to learn the debugerr http://heather.cs.ucdavis.edu/~matloff/ddd.html http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging.html#_Toc122255042 On

Re: [ns] C++ debug in NS2

2006-06-06 Thread Ilyes Gouta
Hi, There also insight which can be found on http://sources.redhat.com/insight/ and several other GUI frontends for GDB like KDbg (http://www.kdbg.org/) which is a clean and easy to learn debugger based on QT. Please notice that debugging on Linux means pretty much interacting with GDB whatever

[ns] required data quantity and total time of transmission

2006-06-06 Thread erhan g
I have to send a required data on tcp. a-) for example 10 mb by 1000 bytes data segments. I can arrange the data segment quantity but, i don't know how i can arrange the total data quantity. b-)and hoe can i find total time of transmission of tcp. Thanks for help. regards erhan. __

[ns] 802.15.4

2006-06-06 Thread saradellaluna
Hi all, I'm working with MAC 802.15.4 model developped by Zheng in NS-2. I'm trying to simulate a multi-sink network, with different Pan Coordinators, but I had some problems with the choice of the channels. Can somebody help me? Thanks in advance, Sara

[ns] CONTRIBUTING TO NS2 WIKI (was: RE: C++ debug in NS2)

2006-06-06 Thread Pedro Vale Estrela
100% agreed on the kdbg and insight topics; Concerning the -g flag, one can also configure ns2 with debugging support, eg: ns2> ./configure --help ns2> ./configure --enabled-debug (for c++ debug) ns2> ./configure --enabled-debug --with-tcldebug=../tcl-debug-2.0 (for c++ and tcl debug)

[ns] RSVP_TE_NS question

2006-06-06 Thread Gabriel
Hello to all. I have installed ns-2 v2.26 with mns for v2.26 and the RSVP-TE patch from http://netgroup-serv.iet.unipi.it/rsvp-te_ns/ .On that page there are 2 test files. After completing the install, I ran those 2 files and got no errors. Then I tried to change the way I create an LSP from "crea

[ns] Measuring linkcost in Linkstate

2006-06-06 Thread Saeed B
Hi all, Does LinkState or DistaceVector algorithms implemented in NS2 measure link cost dynamically? I mean by sending ECHO packets and calculating time upon ackowledgments arrival,as stated in the protocols? If so, how can I force LS or DV (LS specially) to use link delays as link costs, instead

[ns] Getting data from wireless base station to cross to wired station

2006-06-06 Thread Paul Vincent Craven
A while back I asked about getting data to move from my wireless base station node to my wired node. I finally figured out the issue. Key to getting this to work was: 1.) Telling my "node that is wired to the base station" that such a route exists: $W(0) add-route $BS(0) $W(0) 2.) And in my f

[ns] dynamic or static linking

2006-06-06 Thread . Melvin John
hi ns users, i have made some changes to one of the existing routing protocols for ad hoc networks. To make use of the changes do i have to compile the whole of NS2 or can i just compile the protocol (files) i have changed. Does NS2 use static linking or dynamic linking. Thanks in advance, Mel

[ns] error calling the class cls

2006-06-06 Thread Talal Shwehdi
Hi all, I am trying to run an ns2(2.28) simulation for ad hoc network. I used 20 nodes in AODV routing protocol,I used other standard parameters. I faced the following errors. ===The error is: [EMAIL PROTECTED] Clusteri

[ns] Can Ns be compiled with external lib?

2006-06-06 Thread 胡 海燕
Hi all I am trying to add RSA algorithm into Ns aodv.cc source code to encrypt and decrypt information with high importance. But RSA implemetation need to use functions in an external lib that compiled under linux and deal with operation of very long integer. All code that uses this lib has