LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wireless ns/aquasim (http://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-ns-aquasim-855532/)

varshitha 01-11-2011 03:19 AM

wireless ns/aquasim
 
hi
im using aquasim for programming the options are defined like this....

# Define options
set val(chan) Channel/WirelessChannel ;# channel type
set val(prop) Propagation/TwoRayGround ;# radio-propagation model
set val(netif) Phy/WirelessPhy ;# network interface type
set val(mac) Mac/802_11 ;# MAC type
set val(ifq) Queue/DropTail/PriQueue ;# interface queue type
set val(ll) LL ;# link layer type
set val(ant) Antenna/OmniAntenna ;# antenna model
set val(ifqlen) 50 ;# max packet in ifq
set val(nn) 5 ;# number of mobilenodes
set val(rp) AODV ;# routing protocol
set val(x) 500 ;# X dimension of topography
set val(y) 400 ;# Y dimension of topography
set val(stop) 10 ;# time of simulation end

can any one please help me about the syntax for defining these options?

ashwinipatankar 01-20-2011 03:29 AM

aquasim is modified version of ns2, you can try to read this tutorial for that , http://www.isi.edu/nsnam/ns/ and http://www-sop.inria.fr/maestro/pers...OURS-NS/n3.pdf

varshitha 01-27-2011 10:43 AM

Aquasim
 
Thank u sir... for replying me..... can you please give more information about trace file for vector based forwarding protocol in aquasim.

varshitha 03-24-2011 03:33 AM

aquasim/ns-2
 
hi can anyone tell me the difference between speed and seed in aquasim. and why seed is used?

aram_2 09-13-2011 05:30 PM

seed is for generate random number.
for example for arrival time of packet we need to define random numbers, but if you run many times with same seed you get same result for generate a good simulation we must to run multiple and every time with different seed number.
speed ?
where do you see?
place your code.
by the way my English isn't very well as yours sorry but i please if you tell me my mistake:)

alagappan90 12-07-2011 12:00 PM

Friends i want to download Aqua sim simulator....can any one help me...pls its urgent....pls mail the steps to alagappan90@gmail.com

TB0ne 12-07-2011 12:44 PM

Quote:

Originally Posted by alagappan90 (Post 4544405)
Friends i want to download Aqua sim simulator....can any one help me...pls its urgent....pls mail the steps to alagappan90@gmail.com

No, sorry...this isn't the place to come for free, personalized one-on-one email tech support; we're not going to email you answers. Also, this is NOT urgent for anyone here, and please, spell out your words.

The links provided in this very thread give you a tutorial for getting started...since it's 'urgent', did you read them? Did you look at the Underwater Sensor Network page you can find easily through Google?
EDITED: knudfl found updated links. Good catch!

Pay particular attention to the very top of that page.

knudfl 12-07-2011 05:00 PM

Aqua-sim_ns230.no-test.tar.bz2 can be downloaded from
https://docs.google.com/open?id=0B7S...I2MjJmMWRkNGQ2

It is the patched ns-2.30 with the tcl/test directory omitted.
Not the complete ns-allinone-2.30. So unpacking goes this way :
1) tar xvf ns-allinone-2.30.tar.gz
2) cd ns-allinone-2.30/ && tar xvf Aqua-sim_ns230.no-test.tar.bz2

Tested with 'export CC=gcc34 CXX=g++34 && ./install'
Result : OK, no errors appeared.

P.S. : The original links to Aqua-Sim aren't working any more.

..

alagappan90 12-09-2011 12:21 PM

Since this is the first time i am entering a forum like this, i may make some mistakes....but i will try to minimize them...pls bare with me if i make anything silly....thanks for ur valuable reply friends...if i come across any doubts i will post them, pls answer me....thank u...

alagappan90 12-09-2011 12:34 PM

Hello Knudfl....i had downloaded the Aqua sim simulator via your link...thanks for that...But i have some doubts..

1.Whether we need to install ns2 before running the downloaded patch file...if so how to run the patch file after installation of ns2?

2.You mentioned the unpacking steps....i cant understand them...pls put for me in simple terms...

awaiting for ur reply...thank u

TB0ne 12-09-2011 02:04 PM

Quote:

Originally Posted by alagappan90 (Post 4546057)
Since this is the first time i am entering a forum like this, i may make some mistakes....but i will try to minimize them...pls bare with me if i make anything silly....thanks for ur valuable reply friends...if i come across any doubts i will post them, pls answer me....thank u...

Spell out your words...text-speak isn't pleasant for anyone to read. It's "please", not "pls", "your", not "ur", etc.
Quote:

Originally Posted by alagappan90
Hello Knudfl....i had downloaded the Aqua sim simulator via your link...thanks for that...But i have some doubts..

1.Whether we need to install ns2 before running the downloaded patch file...if so how to run the patch file after installation of ns2?
2.You mentioned the unpacking steps....i cant understand them...pls put for me in simple terms...
awaiting for ur reply...thank u

1. Unpack the file, it contains a patched ns2.30 installation in it. Compile it and run it...follow the instructions that are provided IN that file to build/install it. See the README and install-sh files.
2. The file is a .tar.bz2 file. knudfl gave you a command to unpack a tar archive, and a quick look at the man page for tar will tell you more options. Try "tar xvfj <filename>", and it should explode a directory ns-2.30. The files/programs are in it.

knudfl 12-10-2011 01:04 PM

#10
Quote:

1. Whether we need to install ns2 before running the downloaded patch file...if so how to run the patch file after installation of ns2 ?
No. Just follow the sequence described in post #8
1) tar xvf ns-allinone-2.30.tar.gz
2) cd ns-allinone-2.30/ && tar xvf Aqua-sim_ns230.no-test.tar.bz2

3) cd ../ && export CC=gcc34 CXX=g++34 && ./install
.... or whatever the gcc-3.4.6 binaries are named on
your unknown OS.

.

alagappan90 12-18-2011 12:47 AM

Sir in the first step you mentioned about ns-allinone-2.30...
i have downloaded this package separately from a site...
I am working in the Fedora platform....i placed ns-allinone-2.30.tar.gz in the desktop of fedora..
Then i right clicked and terminal opens and i changed directory to Desktop...and i typed "tar xvf ns-allinone-2.30.tar.gz"...
i am getting the following errors...

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

how should i proceed now....Your suggestions please....awaiting....

knudfl 12-18-2011 04:11 AM

The genuine ns-allinone-2.30 package :

http://www.isi.edu/nsnam/dist/
>> http://www.isi.edu/nsnam/dist/ns-allinone-2.30.tar.gz


More issues ? Then please specify your Fedora version.

.

TB0ne 12-18-2011 01:35 PM

Quote:

Originally Posted by alagappan90 (Post 4552773)
Sir in the first step you mentioned about ns-allinone-2.30...
i have downloaded this package separately from a site...
I am working in the Fedora platform....i placed ns-allinone-2.30.tar.gz in the desktop of fedora..
Then i right clicked and terminal opens and i changed directory to Desktop...and i typed "tar xvf ns-allinone-2.30.tar.gz"...
i am getting the following errors...

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

how should i proceed now....Your suggestions please....awaiting....

Did you even read any of the previous posts to you???

It is NOT just a tar file...again, as said before, the command would be "tar xvfz <name of file>". READ the man page on the tar command. Even a VERY quick Google search would tell you how to uncompress that type of file. You could even just type in "gzip -d *.gz", then type in "tar xvf *.tar".


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