LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-06-2013, 10:51 AM   #121
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled

Dear friends, excuse me may anyone help me by sending me awk script to calculate the performance metrics in the trace file obtained by using Zone Routing Protocol (ZRP).

1-normalizing routing load
2-packet delivery ratio
3-average End-to-End delay
4-throughput

Note: especially Normalizing Routing Load

my ubuntu linux is 10.10 32bit

Thanks
 
Old 05-07-2013, 06:12 AM   #122
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear Mr.knudfl, excuse me may you help me about how to install ZRP package for ubuntu 10.10 which you posted in #16.

Thanks
 
Old 05-07-2013, 11:56 PM   #123
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear Mr.knudfl, please, may you help me by sending me the step by step commands to generate scenario file for mobility simulation in NS2.

Thanks
 
Old 05-08-2013, 02:44 AM   #124
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
# 123 .

General examples : ns-2.xx/tcl/ex , ns-2.xx/tcl/mobility/ .

ZRP : $ grep mobil examples/*
zrp_9.tcl: set val(nn) 100 ;# number of mobilenodes
zrp-Demo1-1.tcl:set val(nn) 10 ;# number of mobilenodes
zrp-Demo2-1.tcl:set val(nn) 20 ;# number of mobilenodes

-
 
Old 05-08-2013, 03:08 AM   #125
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear Mr.knudfl, please may you help me about how can I create a scenario file of mobility simulation in NS2 by using setdest.

Thanks
 
Old 05-08-2013, 03:33 AM   #126
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear Mr.knudfl, when I tried to generate a scenario file for movement simulation the following error appeared.


khalid@khalid-linux:~/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen$ ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test
bash: ./setdest: is a directory

May you help me in this situation.

Thanks
 
Old 05-08-2013, 04:22 AM   #127
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
# 126 .

Why try to ececute a directory ?
( ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest/ )
Please do : $ cd setdest/
.. where you will hopefully find the executable file 'setdest'
.. and can do $ ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test


-

Last edited by knudfl; 05-08-2013 at 04:33 AM.
 
Old 05-09-2013, 12:30 AM   #128
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear friends, excuse me any one may help me by sending me awk script to calculate the packet delivery fraction for ZRP trace file.

Thanks
 
Old 05-14-2013, 03:11 AM   #130
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear Mr.knudfl, excuse me may you help me about how can I choose the radio range in ZRP in order to operate as multi hop and where in tcl file can I change the radio range to do the simulation.

Thanks
 
Old 05-14-2013, 06:09 AM   #131
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
# 130 .

May be some hints with : Google .. radio range ZRP ns2 ..
https://www.google.com/webhp?hl=all#...w=1280&bih=817
> The first four hits ?

-
 
Old 05-15-2013, 12:03 PM   #132
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear Mr.knudfl, please may you help me about how can I change the transmission range in the tcl file of ZRP example.is it the transmission range 250.

Thanks

# unity gain, omni-directional antennas
# set up the antennas to be centered in the node and 1.5 meters above it
Antenna/OmniAntenna set X_ 0
Antenna/OmniAntenna set Y_ 0
Antenna/OmniAntenna set Z_ 1.5
Antenna/OmniAntenna set Gt_ 1.0
Antenna/OmniAntenna set Gr_ 1.0

# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set Rb_ 2*1e6
Phy/WirelessPhy set Pt_ 0.2818
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0
 
Old 05-15-2013, 11:04 PM   #133
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear friends, excuse me may you help me about what is the following codes mean:

# unity gain, omni-directional antennas
# set up the antennas to be centered in the node and 1.5 meters above it
Antenna/OmniAntenna set X_ 0
Antenna/OmniAntenna set Y_ 0
Antenna/OmniAntenna set Z_ 1.5
Antenna/OmniAntenna set Gt_ 1.0
Antenna/OmniAntenna set Gr_ 1.0

# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set Rb_ 2*1e6
Phy/WirelessPhy set Pt_ 0.2818
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0

is it the transmission range in the above code 250. how can I choose another transmission range for example 100 to do the simulation
 
Old 05-18-2013, 09:27 AM   #134
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear friends, please anyone now about how to change the transmission range in the tcl file to make ZRP operate as proactive and reactive may help me in this matter.

Thanks
 
Old 05-18-2013, 09:49 PM   #135
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
please help me in ZRP

Dear friends, please may you help me about how can I adjust the transmission range to 100 meter in the link below tcl file to make ZRP work as proactive and reactive at the same time with fixed network size and varying zone radius.


http://www.2shared.com/file/ULgtFTex/example-zrp.html

Thanks
 
  


Reply

Tags
ns2, setdest, zrp, zrp#2



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
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Time Zone patch diskoe Slackware 41 03-13-2007 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:37 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