Questions tagged [ns2]

The Network Simulator - ns-2

Filter by
Sorted by
Tagged with
0 votes
0 answers
169 views

Problem launching nam

i have a problem launching nam. I get a permissions error and it never displays the network animation window. I am running Ubuntu 22.04.
Aissa Belhadj's user avatar
-1 votes
1 answer
1k views

E: Unable to locate package xgraph error on Ubuntu 20.04 in virtual machine [duplicate]

I am working on ns2 software and need to install xgraph When I put "sudo apt-get install xgraph" command it shows the below message Reading package lists... Done Building dependency tree ...
Pooja Harihar's user avatar
-1 votes
2 answers
3k views

Nam is not working

I installed Nam. with this command in terminal. sudo apt install nam when ever I run Nam in terminal with command nam. it is not showing GUI but it is displaying this. I'm running in a virtual ...
jeevan's user avatar
  • 11
0 votes
1 answer
230 views

How to install patches to ns2 that I installed using $ sudo apt install ns2?

How to install patches to ns2 that I installed using $ sudo apt install ns2? I am unable to find any ns2 directory anywhere. I know I can patch ns2 if I had installed it using ns allinone. But I want ...
Shahbaz Shaik's user avatar
-1 votes
1 answer
205 views

error while installing NS2 in ubuntu 21.10

this error after including deb http://in.archive.ubuntu.com/ubuntu bionic main universe in sources.list Get:6 http://in.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Err:6 http://in....
asmitha chandini's user avatar
0 votes
0 answers
84 views

Run NS-3 Simulation on Ubuntu

I need to tun this NS-3 simulation project on my ubuntu VM. Also, I need to obtain the graph related to this simulation.mmWave-IAB I don't know what are the necessary files to run. Can anybody help me?...
Ashan's user avatar
  • 1
1 vote
1 answer
4k views

NAM GUI does not display

I just started using Ubuntu and I need to run NS2 with the NAM gui. I successfully installed ns2 and nam and I am able to run ns2 scripts. However when I try to open NAM from the Terminal, it simply ...
mehdihaddoud's user avatar
0 votes
0 answers
179 views

how to install NS2.35 in M1 macbook as an error is 404 is displayed and unable to locate packages

running Ubuntu on M1 Parallels. trying to install NS2.35 on ubuntu version 20.04. unable to do so due to an error stating unable to locate ARM64 files along with error 404. any suggestions on how to ...
Ijaz Mohamed's user avatar
0 votes
1 answer
104 views

Another error installing NS2

A new error appeared when I tried to install NS2: configure: error: Couldn't find http.tcl in /http /http2.5 /http2.4 /http2.3 /http2.1 /http2.0 /http1.0 Also: ...
Αλέξης Οικονόμου's user avatar
0 votes
1 answer
188 views

Error while installing Network Simulator 2

I had this error when I tried to download and install Network Simulator 2: checking for gcc... gcc41 checking whether the C compiler works... no configure: error: in /home/User/ns-allinone-2.35/ns-...
Αλέξης Οικονόμου's user avatar
1 vote
0 answers
45 views

How to install ns2 simulation on Ubuntu 18.04.5 [duplicate]

I am trying to install ns2 simulations on ubuntu 18.04.5, But got an error. I was followed this step https://www.absingh.com/ns2/ E: Unable to locate package ns2
Muzammil Dafedar's user avatar
0 votes
1 answer
187 views

Dependency issues while installing ns2

Check if you are using third-party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Transaction ...
DIVYA KRIPLANI's user avatar
0 votes
1 answer
627 views

Problem Installing Network Simulator 2 in Ubuntu 18.04

A university course on Computer Networks requires to have Network Simulator 2 installed. But I struggle a lot to make this install happen. What I Have Done So Far Have downloaded the ns2 binaries ...
NickDelta's user avatar
  • 101
0 votes
0 answers
141 views

How to Know The Number of Alive Nodes in NS2?

I am working on the NS2 simulator and I got a trace file, so I need to know Network lifetime (the number of alive nodes with simulation time). My Questions Are: Is there such a way to do this? ...
Nasser_Omar's user avatar
1 vote
0 answers
126 views

Why showing this error in running mptcp?

Could anybody please help me. Why showing this error while I am trying to run the command for sample mptcp? The file is available here https://github.com/wangzhizhou/Network-Simulator-Installation-...
M.A. Yousuf's user avatar
1 vote
1 answer
797 views

How do I move a file from the Downloads folder into the opt folder on Ubuntu?

I am trying to install a network simulator onto Ubuntu on my virtual machine(VMWare). It requires me to move the file downloaded into the opt folder in order for me to run other commands for ...
Ayebare Denis's user avatar
1 vote
1 answer
40 views

Why is MESSAGE_PORT always 42?

I am new to NS2. In any tcl file where flooding is done, MESSAGE_PORT is always set to 42. What is the reason behind this?
Warda Ruheen's user avatar
0 votes
1 answer
154 views

Instal NS2 in Linux Ubuntu 32 bit [duplicate]

how to install NS2 on linux correctly. because many tutorials cannot be run. ask for help please yes because I'm still a beginner in using Linux Ubuntu. thank you.
priya tama sugara's user avatar
1 vote
0 answers
223 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: ...
Rehan Tariq's user avatar
1 vote
0 answers
109 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 ...
Warda Ruheen's user avatar
2 votes
0 answers
118 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. ...
Subha sanketa's user avatar
1 vote
0 answers
1k 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: ...
sathvik kote's user avatar
0 votes
0 answers
210 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....
RA AM's user avatar
  • 9
1 vote
0 answers
607 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 ...
Akshit Chaprot's user avatar
0 votes
0 answers
43 views

where is ns-2.35 and tcl8.5.8 directories in file system stored? [duplicate]

I used sudo apt-get install ns2 to install ns2. I want to know where are the above mentioned directories stored on my system?
Abhinav Keshri's user avatar
1 vote
0 answers
760 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". ...
Rahal's user avatar
  • 31
0 votes
2 answers
2k views

NS2 compilation errror in ubuntu

gcc-4.4 -c -g -O2 -DNDEBUG -DUSE_SHM -DHAVE_UNISTD_H=1 -I. -I/home/akhil/ns-allinone-2.35/include -I/home/akhil/ns-allinone-2.35/include -I/home/akhil/ns-allinone-2.35/include -I/include otcl.c make: ...
Akhil's user avatar
  • 31
1 vote
1 answer
525 views

ns2 installation problem in ubuntu

I have gcc-7.2.0 I want to install ns2.35 which requires gcc-4.4. How to solve this problem. I have tried many commands and have downloaded Gcc4.4 tar file. please help me for solving this problem.
Akhil's user avatar
  • 31
1 vote
1 answer
2k 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 ‘...
Rery's user avatar
  • 11
0 votes
1 answer
352 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?
Ajay Menon's user avatar
0 votes
2 answers
1k 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. (1) You MUST put /home/dadebidad/NS2/ns-allinone-2.35/otcl-1.14, /home/dadebidad/NS2/ns-allinone-2.35/lib, into your ...
Dadebidad's user avatar
0 votes
1 answer
773 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 ...
Abdel's user avatar
  • 1
1 vote
2 answers
1k views

How to install ns2 and ns3 together?

Can I install ns2 and ns3 together in Ubuntu 16.04?
Sousou's user avatar
  • 13
2 votes
1 answer
1k views

bash: ./ns: No such file or directory

I am trying to execute a TCL script in NS2 simulator but I see this error: bash: ./ns: No such file or directory The path is `ns-2.35/tcl/ex/wpan.' When I execute this file in ns-2.35, it runs well. ...
eli's user avatar
  • 21
1 vote
1 answer
197 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" (...
Umair Chaudhry's user avatar
0 votes
1 answer
734 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 ...
Hanna's user avatar
  • 261
0 votes
1 answer
500 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 ...
R. S. Chintalapati's user avatar
1 vote
2 answers
3k views

how to set a node to sleep in ns2

I just want to set a node to sleep in "ns-2" and i have searched in protocols and i found a lot of objects and functions about sleep but i couldn't use them in other protocols to set a node to sleep. ...
Jenova's user avatar
  • 58
1 vote
1 answer
1k views

gcc not found while executing shell script

invalid command name "gcc" while executing "gcc rsa.c -o rsa -lm" (file "./run.sh" line 1) does gcc-4.9.2 works correctly on ns-2.35 or is it gcc-4.4
Rakend Raj's user avatar
1 vote
0 answers
510 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 $...
Vishavdeep's user avatar
1 vote
1 answer
3k views

nam error : Segmentation fault (core dumped)

I'm trying to use ns2 in ubuntu 14.04 (32 bit). But I'm having a great trouble using nam I can use ns2 command easily $ ns example.tcl But the nam is not working properly. On executing the below ...
Atinesh's user avatar
  • 328
-1 votes
1 answer
302 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 ...
chacko mash's user avatar
0 votes
2 answers
604 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 ...
Adnan Ali's user avatar
  • 219
0 votes
1 answer
82 views

Troubleshooting of updation during installation of ns2 in ubuntu [duplicate]

Due to install the ns2 program in ubuntu, ubuntu updation is not running successfully. Error occurs like - Err http://security.ubuntu.com quantal-security/main Sources 404 Not Found [IP: **.***.**...
raahi's user avatar
  • 1
1 vote
1 answer
305 views

How to install ns2 on Ubuntu

If I upgrade Ubuntu 12.04 to 14.04, will NS2 still be supported? I am currently using NS2 on Ubuntu 12.04.
Paramanand's user avatar
0 votes
1 answer
5k views

installing ns2 in ubuntu [duplicate]

when I give this command apt-get install build-essential autoconf automake libxmu-dev it gives the following error E: Package 'build-essential' has no installation candidate E: Package 'autoconf' ...
shabeer's user avatar
1 vote
1 answer
6k views

how to show GUI of ns2?

I have installed NS2 (network simulator 2.34) on my ubuntu 12.4. But when I execute the ns ns-simple.tcl in the terminal only the following messages have been shown without any GUI or schematic of my ...
frogatto's user avatar
  • 904
0 votes
2 answers
5k views

NS2 Package not located in Ubuntu 13.04 [duplicate]

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 ...
Usman Ashraf's user avatar
0 votes
1 answer
7k views

How to install gcc-4.3 for NS2

I want to install NS2 in Ubuntu. I run the below command: sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3 But I got an error: Package gcc-4.3 is not available . . . E: ...
Tariq's user avatar
  • 1