[ns] FW: creating an access point in IEEE 802.11p
From: chad...@hotmail.com To: ns-users@isi.edu Subject: creating an access point in IEEE 802.11p Date: Mon, 11 Apr 2011 06:49:22 + hi I'm working on ns2.34 under ubuntu8.10 and I'm trying to create a handover scenario using the IEEE802.11p I get an error "invoked from within" while I'm creating the access point. My TCL script is the following: #- #802.11p default parameters Phy/WirelessPhyExt set CSThresh_3.162e-12 ;#-85 dBm Wireless interface sensitivity (sensitivity defined in the standard) Phy/WirelessPhyExt set Pt_ 0.001 Phy/WirelessPhyExt set freq_5.9e+9 Phy/WirelessPhyExt set noise_floor_ 1.26e-13;#-99 dBm for 10MHz bandwidth Phy/WirelessPhyExt set L_ 1.0 ;#default radio circuit gain/loss Phy/WirelessPhyExt set PowerMonitorThresh_ 6.310e-14 ;#-102dBm power monitor sensitivity Phy/WirelessPhyExt set HeaderDuration_ 0.40;#40 us Phy/WirelessPhyExt set BasicModulationScheme_ 0 Phy/WirelessPhyExt set PreambleCaptureSwitch_ 1 Phy/WirelessPhyExt set DataCaptureSwitch_ 0 Phy/WirelessPhyExt set SINR_PreambleCapture_2.5118; ;# 4 dB Phy/WirelessPhyExt set SINR_DataCapture_100.0; ;# 10 dB Phy/WirelessPhyExt set trace_dist_ 1e6 ;# PHY trace until distance of 1 Mio. km ("infinty") Phy/WirelessPhyExt set PHY_DBG_ 0 Mac/802_11Ext set CWMin_15 Mac/802_11Ext set CWMax_1023 Mac/802_11Ext set SlotTime_ 0.13 Mac/802_11Ext set SIFS_ 0.32 Mac/802_11Ext set ShortRetryLimit_ 7 Mac/802_11Ext set LongRetryLimit_ 4 Mac/802_11Ext set HeaderDuration_ 0.40 Mac/802_11Ext set SymbolDuration_ 0.08 Mac/802_11Ext set BasicModulationScheme_0 Mac/802_11Ext set use_802_11a_flag_ true Mac/802_11Ext set RTSThreshold_ 2346 Mac/802_11Ext set MAC_DBG 0 #= #configure RF model parameters Antenna/OmniAntenna set Gt_ 1.0 Antenna/OmniAntenna set Gr_ 1.0 Propagation/Nakagami set use_nakagami_dist_ false Propagation/Nakagami set gamma0_ 2.0 Propagation/Nakagami set gamma1_ 2.0 Propagation/Nakagami set gamma2_ 2.0 Propagation/Nakagami set d0_gamma_ 200 Propagation/Nakagami set d1_gamma_ 500 Propagation/Nakagami set m0_ 1.0 Propagation/Nakagami set m1_ 1.0 Propagation/Nakagami set m2_ 1.0 Propagation/Nakagami set d0_m_ 80 Propagation/Nakagami set d1_m_ 200 #=== set val(chan) Channel/WirelessChannel set val(prop) Propagation/TwoRayGround set val(netif) Phy/WirelessPhyExt set val(mac)Mac/802_11Ext set val(ifq)Queue/DropTail/PriQueue set val(ll) LL set val(ant)Antenna/OmniAntenna set val(x) 1000 ;# X dimension of the topography set val(y) 1000 ;# Y dimension of the topography set val(ifqlen) 50 ;# max packet in ifq set val(nn) 3 ;# how many nodes are simulated set val(rp) DumbAgent set val(stop) 150 ;# simulation time # = set ns [new Simulator] set tracefd [open trace.tr w] set namtrace [open out.nam w] $ns trace-all $tracefd $ns namtrace-all-wireless $namtrace $val(x) $val(y) $ns namtrace-all $namtrace # set up topography object set topo [new Topography] $topo load_flatgrid $val(x) $val(y) #God (General Operations Director) is the object that is used to store global information about the state of the environment, network or nodes create-god $val(nn) # Create channel set chan_ [new $val(chan)] # nodes configuration $ns node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -channel $chan_ \ -topoInstance $topo \ -agentTrace OFF \ -routerTrace OFF \ -macTrace ON \ -movementTrace ON \ -phyTrace OFF #Create nodes for {set i 0} {$i < $val(nn) } { incr i } { set node_($i) [$ns node] $node_($i) random-motion 0;# disable random motion set mac_($i) [$node_($i) getMac 0] } #Set node_(0) and node_(1) as the APs set AP_ADDR1 [$mac_(0) id] $mac_(0) ap $AP_ADDR1 $mac_(0
Re: [ns] Drawing exponential graphs
hi, I also work on the simulation of 802.15.4, I hope that we could discuss together Varrick At 2011-04-11 08:17:24,"Mossy Mozila" wrote: > > >Hie >I'm also facing the same problem if it happens that someone helped you can >you just post me the idea at mossymb...@gmail.com. > >Thanks in advance > > >mikes1313 wrote: >> >> >> >> >> >> rajeev joshi-3 wrote: >>> >>> >>> Hell, >>> I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw >>> the >>> exponential graphs in xgraph if yes please tell how otherwise please >>> anyone >>> tell any software that plots . >>> >>> Waiting for ur reply. >>> >>> -- >>> Jeeva Rajeeva >>> >>> >> >> I am facing the same problem with Xgraph from what I now you can easily >> draw graphs through excel. Can you please provide me your awk scripts for >> throughput-delay because I am still facing problms with mine. >> THANKS MIKE >> > >-- >View this message in context: >http://old.nabble.com/Drawing-exponential-graphs-tp31362766p31366534.html >Sent from the ns-users mailing list archive at Nabble.com. >
[ns] code to implement application level caching scheme for MANETs
Hello All, I am working on a project for implementing caching schemes for MANETs. I tried a lot and I spent a lot of time on this work. Finally I found a PDF that describes the procedure. But sadly I do not have the time to implement it on my own now. So I request if any body has code for implementing caching schemes in MANETs, Please forward it to me. I am very tense as I am running out of time to implement the process. I will be very very grateful to the person helping me. Thanks and Regards Sainadh
[ns] [NS-ANS] Re: Algorithm in NS2
Hi, As a rule of thumbs, most computation should be done in C++ and most configuration should be done in Tcl. If you would like to learn about how C++ and OTcl are bound please read the series of blog posts indicated below: http://www.ns2ultimate.com/post/648508440/c-and-otcl-linkage-why-two-languages Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Apr 10, 2011, at 11:42 PM, Mohammed Alenezi wrote: > > Hi, > > I need to put specific algorithm in certain nodes. I'm not sure on which > level I shall put it. In other words, shall I put in TCL code or in C++ > code? > > My algorithm is very simple I just check the node id and add it to an array. > > Please guys, your help on this issue is highly appreciated. > > -- > Regards, > Mohd. >
Re: [ns] Problem installation of NS2.34 in UBUNTU
Hi I did some test on NS2 installation. Here is the result http://www.ns2ultimate.com/post/439346614/working-combination-ns-2-34-ubuntu-8-04-and-perhaps There is a problem with the current linux-like distribution. Here is the solution http://www.ns2ultimate.com/post/441093095/ns-2-35-works-on-cygwin Also, if you'd like to know about how to setup the initialization file in Linux, please read the following post: http://www.ns2ultimate.com/post/504833450/linux-initialization-files-bash-profile-and-bashrc I hope this will help. Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.ece.ubc.ca/~teerawat http://www.t-issariyakul.blogspot.com http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear On Apr 10, 2011, at 9:13 PM, Zakia Khalfallah wrote: > > > Hi Friends, > i try to install NS2.34 in UBUNTU it shows me this error : > > "make: *** [tk3d.o] Erreur 1 > tk8.4.18 make failed! Exiting ... > For problems with Tcl/Tk see http://www.scriptics.com"; > > Some one has met the same problem and helps me please. > Thank you > > >
Re: [ns] Anyone who can help me with an awk file to view Throughput with Xgraph for smac simulation
Hi Mossy, If you are interested in learning how tracing works in NS2, please read http://www.ns2ultimate.com/post/3995318343/post-processing-ns2-result-using-ns2-trace-main-post The above posts are based on the normal trace. If you are interested in wireless trace you might have to modify it a bit. Please look at "new wireless trace format" at the link below: http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats#New_Wireless_Trace_Formats Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Apr 10, 2011, at 3:01 AM, Mossy Mozila wrote: > > > Anyone who can help me with an awk file to view Throughput with Xgraph from a > .tr file from smac simulation which have a tcl script MyTest.tcl > > Here is the .tr file sample > > s 1.0 _0_ AGT --- 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0 > r 1.0 _0_ RTR --- 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0 > s 1.0 _0_ RTR --- 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0 > s 6.003395772 _0_ AGT --- 1 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0 > r 6.003395772 _0_ RTR --- 1 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0 > s 6.003395772 _0_ RTR --- 1 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0 > D 6.003395772 _0_ IFQ ARP 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0 > s 16.562202932 _0_ AGT --- 2 cbr 512 [0.00 0 0] [energy 1000.00 ei > 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [2] 0 0 > r 16.562202932 _0_ RTR --- 2 cbr 512 [0.00 0 0] [energy 1000.00 ei > 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [2] 0 0 > s 16.562202932 _0_ RTR --- 2 cbr 512 [0.00 0 0] [energy 1000.00 ei > 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [2] 0 0 > D 16.562202932 _0_ IFQ ARP 1 cbr 512 [0.00 0 0] [energy 1000.00 ei > 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0 > s 17.22100 _0_ MAC --- 0 SYNC 9 [0.12 0 0] [energy 1000.00 ei 0.000 > es 0.000 et 0.000 er 0.000] > N -t 17.221000 -n 1 -e 982.776000 > s 18.63900 _1_ MAC --- 0 SYNC 9 [0.13 1 0] [energy 982.776000 ei 17.221 > es 0.000 et 0.000 er 0.003] > N -t 18.639000 -n 0 -e 981.358000 > s 20.08000 _0_ MAC --- 0 SYNC 9 [0.12 0 1] [energy 981.358000 ei 18.636 > es 0.000 et 0.003 er 0.003] > N -t 20.08 -n 1 -e 979.917000 > s 21.704249539 _0_ AGT --- 3 cbr 512 [0.00 0 0] [energy 979.917000 ei > 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0 > r 21.704249539 _0_ RTR --- 3 cbr 512 [0.00 0 0] [energy 979.917000 ei > 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0 > s 21.704249539 _0_ RTR --- 3 cbr 512 [0.00 0 0] [energy 979.917000 ei > 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0 > D 21.704249539 _0_ IFQ ARP 2 cbr 512 [0.00 0 0] [energy 979.917000 ei > 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [2] 0 0 > D 21.704249539 _0_ IFQ ARP 3 cbr 512 [0.00 0 0] [energy 979.917000 ei > 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0 > s 32.98100 _1_ MAC --- 0 SYNC 9 [0.12 1 0] [energy 979.917000 ei 20.074 > es 0.000 et 0.003 er 0.006] > N -t 32.981000 -n 0 -e 967.016000 > N -t 33.102200 -n 1 -e 966.896800 > N -t 34.392000 -n 1 -e 966.894510 > s 34.42000 _0_ MAC --- 0 SYNC 9 [0.11 0 1] [energy 967.016000 ei 32.972 > es 0.000 et 0.006 er 0.006] > N -t 34.42 -n 1 -e 966.863510 > N -t 34.535200 -n 0 -e 965.463800 > N -t 34.535200 -n 1 -e 966.750310 > s 34.869010053 _0_ AGT --- 4 cbr 512 [0.00 0 0] [energy 965.463800 ei > 34.520 es 0.000 et 0.009 er 0.006] --- [0:0 1:0 32 0] [4] 0 0 > r 34.869010053 _0_ RTR --- 4 cbr 512 [0.00 0 0] [energy 965.463800 ei > 34.520 es 0.000 et 0.009 er 0.006] --- [0:0 1:0 32 0] [4] 0 0 > s 34.869010053 _0_ RTR --- 4 cbr 512 [0.00 0 0] [energy 965.463800 ei > 34.520 es 0.000 et 0.009 er 0.006] --- [0:0 1:0 32 0] [4] 0 0 > -- > View this message in context: > http://old.nabble.com/Anyone-who-can-help-me-with-an-awk-file-to-view-Throughput-with-Xgraph-for-smac-simulation-tp31360695p31360695.html > Sent from the ns-users mailing list archive at Nabble.com. >
[ns] [NS-ANS] Re: AWK script for extracting remaining energy of a node
Hi, I don't have specific answer to your question. But If you are interested in learning how tracing works in NS2, please read http://www.ns2ultimate.com/post/3995318343/post-processing-ns2-result-using-ns2-trace-main-post Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Apr 9, 2011, at 12:14 AM, Ramakrishna kilari wrote: > > Hai friends can any body please provide AWK script for extracting remaining > energy of a node. > > -- > Your's Rams >
Re: [ns] Drawing exponential graphs
Hie I'm also facing the same problem if it happens that someone helped you can you just post me the idea at mossymb...@gmail.com. Thanks in advance mikes1313 wrote: > > > > > > rajeev joshi-3 wrote: >> >> >> Hell, >> I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw >> the >> exponential graphs in xgraph if yes please tell how otherwise please >> anyone >> tell any software that plots . >> >> Waiting for ur reply. >> >> -- >> Jeeva Rajeeva >> >> > > I am facing the same problem with Xgraph from what I now you can easily > draw graphs through excel. Can you please provide me your awk scripts for > throughput-delay because I am still facing problms with mine. > THANKS MIKE > -- View this message in context: http://old.nabble.com/Drawing-exponential-graphs-tp31362766p31366534.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] Fwd: Need help for simulating the algorithm
-- Forwarded message -- From: rajeev bharshetty Date: Fri, Apr 8, 2011 at 1:19 AM Subject: Need help for simulating the algorithm To: ns-users@isi.edu Hi, I have written an algorithm for Multipath routing in Mobile networks which is attached with this mail . I need to simulate using ns-2 and take various values such as bandwidth change etc and plot the graph . It is a multipath routing protocol . I need help from you guys to help me to simulate the algorithm using ns-2 . I have used ns-2 and is not able to simulate the algorithm using ns-2. So please help me to simulate this algorithm or atleast provide me the steps to tackle the problem . Thanking you, Regards Rajeev N B
Re: [ns] Fwd: [Help] About configure snoop protocol in wired-cum-wireless architecture
Narendran Thangarajan wrote: > > Got the solution. When the LLSnoop is applied to the same node which acts > as the wireless-cum-wired node, segmentation fault occurs. Since ns2 > doesn't have sophisticated 802.11 protocols, the trick is to use two nodes > to simulate an AP. One node with Snoop and another wireless-cum-wired > node. > > Thanks, > Narendran. > -- View this message in context: http://old.nabble.com/Fwd%3A--Help--About-configure-snoop-protocol-in-wired-cum-wireless-architecture-tp29698173p31365402.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] ns2 wimax mesh networks
To make is simpler I want to produce a trace file from the scenario I'm attaching on this em-mail. If anyone can help please let me know! On 10/4/2011 7:54 μμ, Γιώργος Καρανίκας wrote: Good evening everyone, my question is quick and simple (I believe). Could anyone tell me if and how can I produce a normal trace file using the ns2 wimax mesh80216 module; I tried to change the "header" file which is being used as a source to the scenario file in order to produce my trace but I've got nothing. The only thing I do have are some statistics from the binary(!) file they use to show info about the simulation. The problem is that I want to produce some plots in order to make some comparisons between the several wimax modules. Any help would be appreciated! Thanks in advance, Giorgos Karanikas
Re: [ns] aw k scripts for udp/cbr AODV
I do have a set of scripts. Hope they help. On 10/4/2011 9:51 μμ, mikes1313 wrote: e2edelay,throughput,sent-received-dropped packets,energy consumption,jitter mikes1313 wrote: Hi I need awk scripts for udp/cbr AODV THANKS mike
Re: [ns] aw k scripts for udp/cbr AODV
e2edelay,throughput,sent-received-dropped packets,energy consumption,jitter mikes1313 wrote: > > Hi I need awk scripts for udp/cbr AODV > > THANKS > mike > -- View this message in context: http://old.nabble.com/awk-scripts-for-udp-cbr-AODV-tp31365052p31365195.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] aw k scripts for udp/cbr AODV
Hi I need awk scripts for udp/cbr AODV THANKS mike -- View this message in context: http://old.nabble.com/awk-scripts-for-udp-cbr-AODV-tp31365052p31365052.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] ns2 wimax mesh networks
Good evening everyone, my question is quick and simple (I believe). Could anyone tell me if and how can I produce a normal trace file using the ns2 wimax mesh80216 module; I tried to change the "header" file which is being used as a source to the scenario file in order to produce my trace but I've got nothing. The only thing I do have are some statistics from the binary(!) file they use to show info about the simulation. The problem is that I want to produce some plots in order to make some comparisons between the several wimax modules. Any help would be appreciated! Thanks in advance, Giorgos Karanikas
[ns] Algorithm in NS2
Hi, I need to put specific algorithm in certain nodes. I'm not sure on which level I shall put it. In other words, shall I put in TCL code or in C++ code? My algorithm is very simple I just check the node id and add it to an array. Please guys, your help on this issue is highly appreciated. -- Regards, Mohd.
Re: [ns] Drawing exponential graphs
rajeev joshi-3 wrote: > > > Hell, > I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw the > exponential graphs in xgraph if yes please tell how otherwise please > anyone > tell any software that plots . > > Waiting for ur reply. > > -- > Jeeva Rajeeva > > I am facing the same problem with Xgraph from what I now you can easily draw graphs through excel. Can you please provide me your awk scripts for throughput-delay because I am still facing problms with mine. THANKS MIKE -- View this message in context: http://old.nabble.com/Drawing-exponential-graphs-tp31362766p31364230.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] -- Question? -- What is the algorithm for MIH Link Events on NIST package of NS2? --
hi sadik did you find you information plz ? Sadik wrote: > > > Hello everyone, > > I need your help immediately. I am looking at the link event algorithms on > MIH on NIST pakcage of NS2. > I could not find any documentation about this yet. I am reading codes but > I > am not good at C++ so I really don't understand the codes. > > Do you know the algorithm for creating the link events like Link Going > Down, Link Up? > Which algorithm they use to create the Link oing Down? > > I am looking to hearing from you. > > Thank you very much. > > Sadik > > -- View this message in context: http://old.nabble.com/---Question-What-is-the-algorithm-for-MIH-Link-Events-on-NIST-package-of-NS2-tp25789258p31337457.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] Problem installation of NS2.34 in UBUNTU
Hi Friends, i try to install NS2.34 in UBUNTU it shows me this error : "make: *** [tk3d.o] Erreur 1 tk8.4.18 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com"; Some one has met the same problem and helps me please. Thank you
[ns] Drawing exponential graphs
Hell, I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw the exponential graphs in xgraph if yes please tell how otherwise please anyone tell any software that plots . Waiting for ur reply. -- Jeeva Rajeeva
[ns] clone aodv
hello i am trying to write my algorithim for manets. firstly i need to clone aodv alorithim and when i did it i hade some problems. do anyone know the best way to do it. thanks for in advange Zafer ALBAYRAK Head of Department Department of Computer Technology Niksar Technical Sciences Vocational School Gaziosmanpasa University 00-90-356 527 81 10 / 4512 --- End of Forwarded Message --- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.