Installing aqua-sim-ng in NS-3 (V-3.29)

527 views
Skip to first unread message

Haque

unread,
Feb 19, 2020, 8:40:58 PM2/19/20
to ns-3-users
Hello everyone! I need to install aqua-sim-ng with NS-3 V-3.29. I have followed the procedures as described on aqua-sim-ng documentation. But unfortunately unable to install that with NS-3 V-3.29.

I download the file name aquasim-ng.tgz.There is a installation file instructed as below:

1. Prerequisites
apt-get install g++ python git tar bunzip2
2. Build AquaSim-NG
cd  ns-3.29
./waf clean
cp ./src/applications/model/onoff-application.h ./build/ns3
./waf configure --build-profile=debug --enable-examples
./waf
3. Clean the project folder
./waf clean
 
I am unable to run the prerequisites command "apt-get install g++ python git tar bunzip2" . And the version I downloaded its a locked version. so its showing

"E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
"

It would be really a great help if anyone could provide me any suggestion regarding the issue.Thank you.

Malik Saad

unread,
Feb 19, 2020, 8:55:04 PM2/19/20
to ns-3-...@googlegroups.com
first :
sudo apt-get update
sudo apt-get upgrade


--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/f19b2105-d377-41ea-941a-4e83214e528d%40googlegroups.com.

Haque

unread,
Feb 19, 2020, 10:12:43 PM2/19/20
to ns-3-users
Thank you sir for the reply. I have run the instructions as follows

1. sudo apt-get update
2. sudo apt-get upgrade
3. apt-get install g++ python git tar bunzip2

Still showing the same result. My downloaded file called aquasim-ng.tgz is locked. After extracting , folder aquasim-ng is open. but is not working in installation.
Thanks again for your reply.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-...@googlegroups.com.

Jay Patel

unread,
Feb 19, 2020, 10:20:21 PM2/19/20
to ns-3-...@googlegroups.com
Hi,

please install NS-3 and then add this extracted folder to your src folder in ns-3.29 and then configure your ./waf and build the module.

I hope this helps.

With Regards,
Jay Patel


To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/beaec339-6791-4f33-b268-f4447d7e275b%40googlegroups.com.

Haque

unread,
Feb 19, 2020, 10:45:19 PM2/19/20
to ns-3-users
Thanks a lot sir for the reply. I am new in ns-3. I have already installed ns-3.29. can you please tell me a bit details how can i add the extracted folder and then configure it? Thanks again for your time.

Jay Patel

unread,
Feb 19, 2020, 11:30:46 PM2/19/20
to ns-3-...@googlegroups.com
Hi,

please copy the folder you extracted named "Aquasim" to your installed `ns-3.29/src` folder and then go back to your `ns-3.29` folder and reconfigure your ns-3.29 using your aquasim module instructions.
./waf configure --enable-examples --enable-tests 
./waf

But i am not sure i have never used aquasim with ns-3.29, the aquasim documentation says it is tested with ns-3.26. Please refer this documentation page for more information.

With Regards,
Jay Patel



To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/7400feb1-59cf-41d3-bb6a-905bb07e5caf%40googlegroups.com.

Haque

unread,
Feb 21, 2020, 3:49:30 PM2/21/20
to ns-3-users
It's not working. Thanks a lot sir for the reply.

Regards,
Haque

Ahmed Al Guqhaiman

unread,
Feb 21, 2020, 6:12:40 PM2/21/20
to ns-3-...@googlegroups.com
Hi, 

Please install ns3.27 and follow the same procedure. it should work.

regards,
Ahmed



To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/d5227d0b-8abf-4b29-af4d-216fd2702e54%40googlegroups.com.

Haque

unread,
Feb 23, 2020, 4:18:49 PM2/23/20
to ns-3-users
Thank you for the information.

Regards
Haque

Nizamul nibir

unread,
May 14, 2020, 12:39:39 AM5/14/20
to ns-3-...@googlegroups.com
Hello sir,

Good day. Hope you are doing fine.

Sir, I am working on UAN reservation channel MAC (UAN-RC-MAC) protocol in ns-3. I am trying to calculate the throughput for this protocol with a new network setup. But I am unable to create the trace file for this code. I have tried myself in several way but couldn't succeed.

I know you are busy with your work. It would be so kind of you if you could spend some of your precious time on this code and help to generate the trace file and calculating the throughput. I have attached the source code for your convenience. I am waiting for your reply. Thank you sir.


Best Regards,
Nizamul Nibir

You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/_9Oj1eUXd7g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/CAK6ZvZTpu0tipG3WfQDA%3D8Z5rmvLGYkTEBB7mPkf1v0T7N_vcw%40mail.gmail.com.
uan-rc-mac.cc
Reply all
Reply to author
Forward
0 new messages