Questions tagged [ns2]

The Network Simulator - ns-2

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
346 views

./trgraph: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

Good morning community, i wanted to install tracegraph on Ubuntu 16.04 - 32 bit: i downloaded "tracegraph202" and i extracted it. i downloaded "mglinstaller" and i extracted it into "tracegraph202". ...
1
vote
1answer
167 views

NS-2.31 Make fail while adding a transport layer protocol

While adding a transport layer protocol in ns-2.31 in ubuntu 14.04, I am coming across the following error that I have been unable to resolve. "make: *** [dtsncc/dtsncc-cache.o] Error 1" (screenshot ...
1
vote
0answers
362 views

NS2 program TCP over noisy channel error

Set error model on link n2 to n3 set loss_module [new ErrorMode] $loss_module set rate_ 0.1 Create the Simulator instance set ns [new Simulator] $ns color Red $ns color Blue Open NAM trace file $...
0
votes
0answers
35 views

ns2 return CBR packet size = 1000 CBR interval = 0.0080000000000000002

I am trying to install ns2 and open a sample GUI ns2 project. ns sample.tcl And I also install nam package but I got the same error. sudo apt-get install -y nam How can I fix this error? From ...
0
votes
0answers
15 views

Topology not creating from OSM wizard (Browser) (file:///home/rehan/sumo-0.32.0/tools/webWizard/index.html)

rehan@rehan-Y11C:~/sumo-0.32.0/tools$ python osmWebWizard.py Building scenario in '/home/rehan/sumo-0.32.0/tools/2019-11-15-12-29-32' Downloading map data 200 OK Converting map data Usage: ...
0
votes
0answers
25 views

Simple broadcasting network in NS2

I am new to NS2 and I am implementing a simple broadcasting network in NS2. The tcl file is given below. Please tell me what is the work of these two variables MESSAGE_PORT and BROADCAST_ADDR? And ...
0
votes
0answers
49 views

What version of gcc should i install on ubuntu 19.4 and how?

So i tried installing gcc 4.8 on Ubuntu 19.4 but i keep getting errors. I figured it must be happening because Ubuntu 19.4 does not support gcc 4.8. The error says that the package might be obsolete. ...
0
votes
0answers
178 views

NS2 Installation in ubuntu 18.04

I was trying to install ns2 from source. I followed the steps given here https://www.nsnam.com/2018/06/installation-of-ns2-in-ubuntu-1804.html. I am getting the following error. config.status: ...
0
votes
0answers
8 views

WSN nodes send receive sense

I have a wsn simulation and i want to know if it is possible to stop a node from sending and receiving while keep it sensing inorder to save energy? Is this senario possible?
0
votes
0answers
147 views

NS2 Software compilation issue in Ubuntu 18.04

I tried to build and compile NS2 source code in Ubuntu 18.04 LTS distribution but I get back that message: make: *** No rule to make the target « mit/rca/rcagent.c », necessary for « mit/rca/rcagent....
0
votes
0answers
186 views

how to totally uninstall network simulator (ns2) and reinstall

When configured, ns found the right version of tclsh in /usr/bin/tclsh8.6 but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of ...
0
votes
0answers
15 views

Energy additionn in NS2

In NS2, how to incorporate/add predicted energy values in a node/nodes after some interval of time ? I have been using a constant value for all nodes for my previous simulation. Now i want a node to ...
0
votes
1answer
795 views

Error while installing NS2 on Ubuntu 17.01

The following error keeps appearing while installing ns2 on Ubuntu 17.01: mdart/mdart_adp.cc: In member function ‘void ADP::sendDarq(nsaddr_t, int)’: mdart/mdart_adp.cc:108:21: error: reference to ‘...
0
votes
1answer
211 views

Error in installing ns2.35 on ubuntu

I'm getting the following error while trying to install ns2.35: Error in `ns': free(): invalid next size (fast): 0x0000000000c7c850 Aborted Are there any methods to bypass this error?
0
votes
2answers
423 views

Can't install ns2 in Ubuntu with the below error as shown in picture

I can't install ns2 in Ubuntu with the below error as shown in the picture. enter image description here (1) You MUST put /home/dadebidad/NS2/ns-allinone-2.35/otcl-1.14, /home/dadebidad/NS2/ns-...
0
votes
1answer
474 views

DSR, OLSR and ZRP simulation problems in NS2

I am trying to simulate each type of routing protocoles in NS2. I started with AODV and DSDV, it worked very well, but when I tried to simulate DSR I got this error "core dumped", and for OLSR and ZRP ...
0
votes
1answer
524 views

Installing NS2 under Ubuntu

I'm trying to install NS2 on Ubuntu 14.04. I followed the steps that are recommended and in this answer. But I'm still facing lots of errors. /home/smallko/ns-allinone-2.28/sgb/gb_io.w:576: undefined ...
0
votes
1answer
322 views

Problem installing additional packages in ns2

Step 3: Building the Dependencies Package autoconf is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from ...
0
votes
2answers
362 views

Error in installing NS2

Here is the Error i am getting while installing NS2 in version 2.35 in ubuntu 14.04. What is the solution of the error ? Do I need to re-install the whole setup or specific module because this ...
0
votes
2answers
3k views

NS2 Package not located in Ubuntu 13.04

i have installed ns2 on ubuntu 12.04 and there never have been any problem. Now with 13.04, it gives this message "unable to locate the package: ns2" . Whether i try it through software centre or ...
-1
votes
1answer
247 views

Installation of more than one version of ns-2 on the same machine

I have an already working installation of NS 2.35 in my machine. I need to install NS 2.27 on the same machine. My question is will there be a conflict between both versions that will make either of ...