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
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
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
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 ((
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
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
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
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
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
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
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
==
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
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
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
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.
Hello friends,
I want to implement AODV with link metric other than hop-count, such as ETX,
MCR etc. Please guide me.
Regards.
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
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.
Hi friends,
I want to note the compilation time of AODV. Please tell me how can I do this?
Regards.
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
hello friends,
I want to understand the code of aodv. Please give me any clues, hints, tips
and tricks and/or explanations etc.
Regards
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
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
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
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
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
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
Please tell me how to reply a Thread at ns-users mailing list?
Regards.
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.
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.
30 matches
Mail list logo