Re: [ns] How to debug segmentation fault

2010-06-30 Thread Bringo Shawn
Hello there, I used Eclipse IDE to debug ns-2 and was able to find the code that was giving segfault. Good bye. From: Bringo Shawn To: isi Sent: Sun, June 13, 2010 11:31:20 PM Subject: How to debug segmentation fault Hi there, I changed a routing

[ns] How to deliberately delay the data transmission using cbrgen.tcl

2010-06-14 Thread Bringo Shawn
Hi there, cbrgen.tcl sets the start time of data transmission between nodes randomly. I want to give the nodes some amount of time as warm-up period before starting the data transmission. And my question is how can I do this using cbrgen.tcl? Here is my approach: I have found 'proc create-cbr-c

[ns] How to debug segmentation fault

2010-06-13 Thread Bringo Shawn
Hi there, I changed a routing protocol's C++ code and successfully recompiled ns-2 but when I run any tcl script with that particular protocol, I get 'segmentation fault'. Now I want to trace what part of the code is causing this. I have tried using 'printf's at suspectable places. How can I de

[ns] Doubt in Normalized MAC Load Calculation

2010-05-12 Thread Bringo Shawn
Hi , For calculating Normalized MAC Load, I set macTrace ON in my TCL files; ... -agentTrace ON \ -routerTrace ON \ -macTrace ON \ -movementTrace OFF \ ... Then, I am using this code to calculate MAC load; BEGIN {} { if (( $1 == "r") && ( $35 == "cbr" ) && ( $19=="AGT" )) recvs++; if ((

[ns] How to selectively add packet headers for AODV, DSDV, DSR and OLSR

2010-05-02 Thread Bringo Shawn
Hello there, I have to run simulations for 100 nodes so I need to exclude irrelevant packet headers. According to ns manual [http://www.isi.edu/nsnam/ns/doc/node130.html], for AODV (for example) I am adding this code in my TCL scripts remove-all-packet-headers add-packet-header AODV ARP LL MAC

[ns] Issue with cbrgen.tcl

2010-04-29 Thread Bringo Shawn
Helle ns users, To create connections between nodes, I am using cbrgen.tcl script (/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen). I faced a problem and I am not sure whether it is a bug or I am doing it in the wrong way.. Number of nodes in my simulation script are 5. I create 5 nodes like

[ns] Help in Displaying the Contents of Routing Table in DSDV

2010-04-10 Thread Bringo Shawn
Hello, I am interested in displaying the contents of Routing Table of a node running DSDV. For this I carried out the following steps: 1. I declared this function in dsdv.h as a protected member function of DSDV_Agent class. void displayrtable();// display the contents of the routing tabl

[ns] Simulation taking very long time to run

2010-01-31 Thread Bringo Shawn
Hello all, I am running the following script in fedora 9, ns-2.34 at HP DV6700 laptop that is dual core (1.86 processor each) with 1 Gb RAM. The simulation time in this script is 900 simulated seconds ( val(stop) = 900 ). The script take a lot time to run perhaps 1 or 1 and half hour. Is it nor

[ns] How to check the simulation results for accuracy?

2010-01-23 Thread Bringo Shawn
Hello there, I have performed different simulations on adhoc routing protocols, and have plotted graphs. How can I determine the accuracy of my results? Thanks

Re: [ns] "can't find X library" error in ns-2.26 installation

2009-12-18 Thread Bringo Shawn
Thanks... All package dependences are already installed, consider, for example: [r...@localhost ~]# yum install libX11-devel Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Package libX11-devel-1.1.4-1.fc9.i386 already installed and latest version N

[ns] "can't find X library" error in ns-2.26 installation

2009-12-17 Thread Bringo Shawn
Hello there, For some reasons I have to install ns-2.26, although I know that the latest version is ns-2.34. At './install', I got these errors: ... tclcl-1.0b13 has been installed successfully. * Build ns-2.26 ==

[ns] What does LIST_ENTRY(AODV Neighbor) nb_link; mean in AODV code

2009-09-13 Thread Bringo Shawn
Hi, Please consider the following AODV code (from aodv_rtable.h) class AODV_Neighbor { friend class AODV; friend class aodv_rt_entry; public: AODV_Neighbor(u_int32_t a) { nb_addr = a; } protected: LIST_ENTRY(AODV_Neighbor) nb_link; nsaddr_tnb_addr

[ns] ns-2.28 Installation Error:extra qualification 'SctpAgent::' on member 'DumpSendBuffer'

2009-08-07 Thread Bringo Shawn
Hello. I am installing ns-2.28 on fedora 9. I faced the error: ./sctp/sctp.h:630: error: extraqualification 'SctpAgent::' on member 'DumpSendBuffer' make: *** [trace/trace.o] Error 1 I found a solution posted at http://mailman.isi.edu/pipermail/ns-users/2006-September/057325.html. The solution

[ns] How to use MAC/802_11e instead of MAC/802_11 in NS2.32

2009-07-17 Thread Bringo Shawn
Hello friends, I need to use MAC/802_11e instead of MAC/802_11 in a wireless mobile node simulation in NS-2.32 but I get this error: Invalid command name : MAC/802_11e ... I guess I have to make some changes (like .h or .cc files' configuration etc). But I do not know what to do. Please guid

[ns] OLSRv2 source code?

2009-06-02 Thread Bringo Shawn
Hello friends, I want to read OLSRv2 source code in c/c++. Please tell me where can I find it. I have already searched it at sourceforge.net but found there. Please help me. Regards.

[ns] Implementation of AODV with Link Metric other than Hop-Count

2009-05-27 Thread Bringo Shawn
Hello friends, I want to implement AODV with link metric other than hop-count, such as ETX, MCR etc. Please guide me. Regards.

[ns] DSR and OLSR with IPv6

2009-05-20 Thread Bringo Shawn
Hi friends, I want to know if DSR and OLSR have been implemented with IPv6? If yes then I want to study their source code. Would anyone here please help me? Thanks

Re: [ns] help problem with nam

2009-05-13 Thread Bringo Shawn
have u tried with running it by root user? use sudo command in the terminal to log in as superuser and then try. all the best.

[ns] Compilation time of AODV

2009-05-09 Thread Bringo Shawn
Hi friends, I want to note the compilation time of AODV. Please tell me how can I do this? Regards.

[ns] pros and cons of cygwin and NS2

2009-05-05 Thread Bringo Shawn
Hello friends, Please tell me what is the different between performing network simulations in NS2 in Linux environment and on cygwin in windows systems. Please explain pros and cons of each. Regards

[ns] How to understand aodv code?

2009-05-03 Thread Bringo Shawn
hello friends, I want to understand the code of aodv. Please give me any clues, hints, tips and tricks and/or explanations etc. Regards

[ns] OLSR script is not working.

2009-04-30 Thread Bringo Shawn
Hello friends, When I run following OLSR script, I get the errors, please guide me what is wrong. # == # Define options # == set opt(chan)   Channel/Wire

[ns] OLSR's example .tcl file is needed

2009-04-29 Thread Bringo Shawn
Hi I did not find the OLSR patch file for NS-2.32, so I manually mad the changes. Now I want to check if OLSR is successfully configured or not. So please provide me with some example .tcl files. Regards

[ns] OLSR patch for NS-2.32 is needed

2009-04-28 Thread Bringo Shawn
Hello there, I need a patch for UM-OLSR [RFC3626] that I got from http://sourceforge.net/projects/um-olsr/ for implementing in NS-2.32. I have already tried um-olsr_ns-2.29_v0.8.8.patch and um-olsr-current-ns2.33-rc4.patch, neither worked. Please help me. Regards

[ns] warning in implementing 'protoname'

2009-04-28 Thread Bringo Shawn
Hi there, have nice days ! I am implementing 'protoname' from Mr Francisco's manual [masimum.inf.um.es/nsrt-howto/pdf/nsrt-howto.pdf] I have made all the changes as directed, and get the following result in response to 'make' command: ../common/packet.h:279: warning: deprecated conversion from

[ns] How to add a new or modify existing protocols in NS2.32

2009-04-26 Thread Bringo Shawn
Hi there, If we add/modify a protocol and implement it in NS-2.32, what changes we need to do in NS-2.32 ? Also when we add object files in /ns-2.32/Makefile, inside OBJ_CC, does we need to compile .cc files of the protocol by 'gcc' command or just running the 'touch /common/packet.cc and 'make

[ns] Does OLSR conflict with NS2.32?

2009-04-24 Thread Bringo Shawn
Hi there, We are undergraduate students group, interested in the implementation of OLSR [RFC3626] in ns2.32. We followed the UM-OLSR installation instructions given at: http://masimum.dif.um.es/?Software:UM-OLSR:Installation. That are: $ cd ns-allinone-2.29/ns-2.29/ $ tar zxvf um-olsr-0.8.8.tgz

[ns] How to Reply a Thread?

2009-04-11 Thread Bringo Shawn
Please tell me how to reply a Thread at ns-users mailing list? Regards.

Re: [ns] prob in running aodv example

2009-04-11 Thread Bringo Shawn
Thanks Helber Wagner da Silva I did replace all occurences of Agent/rtProto/AODV by Agent/AODV in AODV.tcl. This time, though no error occures but AODV does not run either. Please help.

[ns] prob in running aodv example

2009-04-11 Thread Bringo Shawn
Hello All. When I run aodv.tcl in ns2.32 as : #ns aodv.tcl I get the following error: invalid command name "Agent/rtProto/AODV"     while executing "Agent/rtProto/AODV instproc init args {     $self next $args }   "     (file "aodv.tcl" line 19) Please help me out.