LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2017, 04:05 AM   #1
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Rep: Reputation: Disabled
Question Aqua-Sim in NS2


Hello..

I have installed Aqua-Sim-1.0 and after that when i move to ns-2.30 directory run make install command.When i checked my ns2 version on my machine it showed me that i have ns2.35 is installed.

See this command:

dpkg-query -s ns2

now output:

Package: ns2
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 13010
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Version: 2.35+dfsg-2ubuntu1
Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libotcl1 (>= 1.14), libpcap0.8 (>= 0.9.8), libstdc++6 (>= 4.9), libtcl8.6 (>= 8.6.0), libtclcl1 (>= 1.20), libtk8.6 (>= 8.6.0)
Suggests: gnuplot
Description: Discrete event simulator targeted at networking research
Provides substantial support for simulation of TCP, routing,
and multicast protocols over wired and wireless (local and satellite)
networks.
Ns-2 is written in C++ and an Object oriented version of Tcl called OTcl.
.
Ns began as a variant of the REAL network simulator in 1989 and has
evolved substantially over the past few years. In 1995 ns development
was supported by DARPA through the VINT project at LBL, Xerox PARC,
UCB, and USC/ISI. Currently ns development is support through DARPA
with SAMAN and through NSF with CONSER, both in collaboration with
other researchers including ACIRI. Ns has always included substantal
contributions from other researchers, including wireless code from the
UCB Daedelus and CMU Monarch projects and Sun Microsystems.
Homepage: http://www.isi.edu/nsnam/ns/
Original-Maintainer: Debian Network Simulators Team <pkg-netsim-devel@lists.alioth.debian.org>




Research survey suggest me to install ns-2.30 package only.We can't use ns-2.35 or and ns version?

And how can i know ns-2.30 is installed or not?

Please give me answer with explanations.Thanks in advance

Last edited by Shaveta Kamra; 06-06-2017 at 04:07 AM.
 
Old 06-06-2017, 05:39 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

You can have as many ns-allinone-2* as you want, installed at the same time.
But : Do never add any *PATH text to .bashrc. Not required.

AquaSim:
Code:
cd [aquasim]/ns-2.30/ 
cp ns ns-aquasim 
sudo cp ns-aquasim /usr/local/bin/

cd underwatersensor/uw_tcl/
ns-aquasim hop_by_hop_VBF_example.tcl
The Ubuntu package ns2 : /usr/bin/ns
... and you can have only one 'ns', other extra protocols must be named: ns-[any-name]
The ns-2.30, 'make install' : /usr/local/bin/ns (if the ns230 build was OK.)

Other ns2, example ...
/home/[name]/ns2/a/ns-allinone-2.35/
/home/[name]/ns2/b/ns-allinone-2.35/
/home/[name]/ns2/c/ns-allinone-2.35/
/home/[name]/ns2/d/ns-allinone-2.35/
etc. etc. ... no limit.


-
 
1 members found this post helpful.
Old 06-06-2017, 06:02 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The usable Ubuntu nam package only exists for Ubuntu 17.04.

Other Ubuntu versions :
http://www.linuxquestions.org/questi...-4175524760/#2
cd Downloads/
sudo gdebi [nam-package].deb

AquaSim is OK when the hop_by_hop_VBF_example.tcl creates some files:
hop_hop_vbf.nam ~190kB, hop_hop_vbf.tr ~199kB
... A few other examples may also work with Ubuntu.

Any questions? Then please specify Ubuntu version, architecture.
This command will reply with i686 or x86_64 : uname -a


-

Last edited by knudfl; 06-06-2017 at 06:10 AM.
 
Old 06-07-2017, 04:15 AM   #4
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

You can have as many ns-allinone-2* as you want, installed at the same time.
But : Do never add any *PATH text to .bashrc. Not required.

AquaSim:
Code:
cd [aquasim]/ns-2.30/ 
cp ns ns-aquasim 
sudo cp ns-aquasim /usr/local/bin/

cd underwatersensor/uw_tcl/
ns-aquasim hop_by_hop_VBF_example.tcl
The Ubuntu package ns2 : /usr/bin/ns
... and you can have only one 'ns', other extra protocols must be named: ns-[any-name]
The ns-2.30, 'make install' : /usr/local/bin/ns (if the ns230 build was OK.)

Other ns2, example ...
/home/[name]/ns2/a/ns-allinone-2.35/
/home/[name]/ns2/b/ns-allinone-2.35/
/home/[name]/ns2/c/ns-allinone-2.35/
/home/[name]/ns2/d/ns-allinone-2.35/
etc. etc. ... no limit.


-
Thanks Sir
 
Old 06-13-2017, 01:35 AM   #5
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thanku sir
 
  


Reply

Tags
aquasim, ns2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Aqua-sim problem ?! S A R A Linux - Software 40 04-24-2018 12:25 AM
aqua sim in ns2 - DBR protocol saye_s Linux - Software 71 03-04-2017 09:19 AM
Aqua-Sim problem Eng. Mary Linux - Software 12 10-20-2016 12:49 PM
NS2 and Aqua-sim Faiza Al-Salti Linux - Networking 3 06-12-2014 12:46 AM
Simulation in aqua-sim Faiza Al-Salti Linux - Newbie 9 05-29-2014 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration