LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-11-2011, 03:19 AM   #1
varshitha
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Rep: Reputation: 1
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?
 
Old 01-20-2011, 03:29 AM   #2
ashwinipatankar
Member
 
Registered: Oct 2009
Location: Bangalore, India
Distribution: Fedora
Posts: 32

Rep: Reputation: 10
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
 
1 members found this post helpful.
Old 01-27-2011, 10:43 AM   #3
varshitha
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 1
Aquasim

Thank u sir... for replying me..... can you please give more information about trace file for vector based forwarding protocol in aquasim.
 
1 members found this post helpful.
Old 03-24-2011, 03:33 AM   #4
varshitha
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 1
Unhappy aquasim/ns-2

hi can anyone tell me the difference between speed and seed in aquasim. and why seed is used?
 
0 members found this post helpful.
Old 09-13-2011, 05:30 PM   #5
aram_2
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
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
 
Old 12-07-2011, 12:00 PM   #6
alagappan90
LQ Newbie
 
Registered: Dec 2011
Posts: 8

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

Last edited by alagappan90; 12-07-2011 at 12:04 PM.
 
0 members found this post helpful.
Old 12-07-2011, 12:44 PM   #7
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,579

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Quote:
Originally Posted by alagappan90 View Post
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.

Last edited by TB0ne; 12-08-2011 at 11:38 AM.
 
1 members found this post helpful.
Old 12-07-2011, 05:00 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,623

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
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.

..

Last edited by knudfl; 12-07-2011 at 05:26 PM.
 
2 members found this post helpful.
Old 12-09-2011, 12:21 PM   #9
alagappan90
LQ Newbie
 
Registered: Dec 2011
Posts: 8

Rep: Reputation: Disabled
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...
 
Old 12-09-2011, 12:34 PM   #10
alagappan90
LQ Newbie
 
Registered: Dec 2011
Posts: 8

Rep: Reputation: Disabled
Smile

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

Last edited by alagappan90; 12-09-2011 at 12:49 PM.
 
Old 12-09-2011, 02:04 PM   #11
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,579

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Quote:
Originally Posted by alagappan90 View Post
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.
 
Old 12-10-2011, 01:04 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,623

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
#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.

.
 
Old 12-18-2011, 12:47 AM   #13
alagappan90
LQ Newbie
 
Registered: Dec 2011
Posts: 8

Rep: Reputation: Disabled
Smile

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....
 
Old 12-18-2011, 04:11 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,623

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
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.

.
 
Old 12-18-2011, 01:35 PM   #15
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,579

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Quote:
Originally Posted by alagappan90 View Post
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".
 
  


Reply

Tags
aquasim, g++41-compat-1210, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Make Ubuntu Linux work as a wireless router--wireless Internet sharing erossmith Linux - General 6 04-21-2013 09:59 PM
Cannot get wireless to work on Toshiba Satellite L350-170 (Wireless card: RTL8187B) TiggerTiggerTigger Linux - Laptop and Netbook 5 01-07-2009 06:33 PM
Wireless (Intel PRO/Wireless 2200BG) network problems using FC5 kernel 2.6.17 TempleOwl1999 Linux - Laptop and Netbook 14 08-26-2006 02:57 AM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration