[ns] NEW TRACEFORMAT URGENT
Dear all, i try to investigate the reason of data packet drops in wireless scenario but i have some problem i dont know what is the difference between: Nl RTR Nw IFQ, and Nl IFQ Nw --- Also what is the meaning of Nl RTR Nw CBK THANKS in advance
[ns] How to use RandomVariable to simulate traffic resource?
Hi, I know that we can use the TCL as below to simulate the traffic. set rtp_down($i) [new Application/Traffic/Exponential] $rtp_down($i) set packetSize_ 20 $rtp_down($i) set burst_time_ 352ms $rtp_down($i) set idle_time_ 650ms $rtp_down($i) set rate_ 8kb But how to use Random Variable to simulate traffic resource? Best regard,
[ns] May someone send me a simple tcl file about dcf simulation
Dear ,all, I have some problem while configuring my first 802.11 .tcl script, like solving deciding the destination of packet,etc. May someone give me one. Thank you!
[ns] segmentation fault
Hi, during a wireless simulation (after some code moifications, correctly compiled!) I received the message : segmentation fault What's the meaning of this message? why the simulation does not finish correctly? Please help me! Best regards, G -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada
[ns] How to pass information from Mac layer to Networking layer
Hello Evryone, I am a newbie in ns , trying to pass some information from mac layer to L3 (ie. to the aodv agent); what i need from AODV agent is to have a mechanism to go and periodically check some parameters in MAC layer. Until now I could not find any such implementation guide on the net;any help is more than appreciated! Thanks Noe -- View this message in context: http://www.nabble.com/How-to-pass-information-from-Mac-layer-to-Networking-layer-tf3376536.html#a9397332 Sent from the ns-users mailing list archive at Nabble.com.
[ns] please help
hii, when i run make command in ns directory then i get following errors, so please kindly give me solution to remove following errors: for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done make[1]: Entering directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/cmu-scen-gen/setdest' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/cmu-scen-gen/setdest' make[1]: Entering directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/dec' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/dec' make[1]: Entering directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/epa' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/epa' make[1]: Entering directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/nlanr' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/nlanr' make[1]: Entering directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/ucb' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/ucb' __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/
[ns] basics steps to implement changes in .cc files and make the changes available
Deasr ns-users, can some one tell me how to add a new protocol to ns2.I have done he required in Marc Greis tutorial .Now I just want to change the name og Ping protocol to say sdg..I have changed all ping staments with Sdg . then done make depend and make..It is giving errors. Please help Srirupa
[ns] Urgent:Need help for MANET(Wireless scripts)
Hi ns users, My problem statement is also given below Topic:Location Management in MANET using NS2(using Wireless scripts) I have already gone through Marc Griegh Tutorial and ns Documentation but failed to find any suitable answer I want to send the packets to different multiple destinations from single sender(mobile node 1 acts as source remaining act as Destinations) if acknowledgement is recieved the mobile node is located otherwise i have to retransmit the packet(Plz anyone can tell me how to retransmit the packet after setting time intervals for each mobile node) for 10 mobile nodes I can find the packets sent and acknowledgement from tracefile but how can i transmit the packets for which the packets sent from sender to reciever failed so how to retransmit TCP,UDP Packets. Bandwidth allocation for each mobile node is also one problem which needs to solved. Kindly help me Thanks and Reg: Vijay
Re: [ns] How to read the current value of a variable ?
Hello Mouli, G.Chandramowli wrote: I am trying to invoke an event at specified time . The event does something based on value of a variable. And the variable keeps on changing during the simulation . When this event is invoked , it reads the initial value of the variable only and not its current value . Any idea on how to fix this I'm not sure if I get you straight and I've only just started using ns-2. Being aware of that, could it be possible that every time you read that variable it might be a new instance of the corresponding object and thus it gets re-initialized in the constructor? If that's the case, it might help declaring the variable as static. HTH, --Timo
Re: [ns] Segmentation fault
Hi, Try to change the interface queue type to CMUPriQueue. Instead of, set opt(ifq)Queue/DropTail/PriQueue; use: set opt(ifq)CMUPriQueue; Hope this helps! Nour. On 3/12/07, smthin [EMAIL PROTECTED] wrote: Dear all, When running the routing protocol DSR, it shows Segmentation fault. If anyone know abouts this, please point out how can i slove! I am using ns-allinone-2.29.2 on window. Thanks smthin -- View this message in context: http://www.nabble.com/Segmentation-fault-tf3387386.html#a9429027 Sent from the ns-users mailing list archive at Nabble.com http://nabble.com/.
Re: [ns] segmentation fault
This is a generic message caused most probably by misbehaving pointers. Your best shot is to use a debugger, e.g. gdb. It will pinpoint the source code line causing the error for you. On Mon, 12 Mar 2007 12:13:08 +0100 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, during a wireless simulation (after some code moifications, correctly compiled!) I received the message : segmentation fault What's the meaning of this message? why the simulation does not finish correctly? Please help me! Best regards, G -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada
[ns] R: Re: Awk script for Jitter in NS2
For the question on the jitter, you can find the formulae in the read. me. There's no right formula, I used to employ the first, which is defined in RTP's RFC. I added the other three upon request of other users, who usually employed them for jitter calculation. Regards, Marco Messaggio originale Da: [EMAIL PROTECTED] Data: 11-mar-2007 11.13 PM A: ns-users@ISI.EDU Ogg: Re: [ns] Awk script for Jitter in NS2 Regarding your second question, my understanding is that -Hs is the node at which the event is observed, and not necessarily the source. In receive events, -Hs is the node receiving the packet and hence Hs = Hd (the receiver is the observer of the event) and other subsequent fields will report the actual source. On Sun, 11 Mar 2007 18:01:43 -0400 Shaili Desai [EMAIL PROTECTED] wrote: Hello all I wanted to know if anyone has used trace2stats v0.5b awk scripts for wireless formats, and if you can explain me the jitter file in it. I mean we have 4 different values of jitter, and the calculations in the script dont explain me fully which jitter you would look for finding out whats the jitter for that particular communication. Can someone please help me for this? It would be a great help. Also, I had asked this que before, I wanted to know during post analysis generally we look at the AGT level right? But in my simulations, I am getting AGT in 's' but if that AGT in 's' is for lets say Hs-2 to Hd-0 then at receiving I m not getting r with Hs-2 and Hd-0, then does it mean ther is a flaw? Also I am getting r with Hs and Hd both 0. Can anyone please help me with this. Thanks in advance.
[ns] Help count of paths
Hi, do anyone known how I can count how many paths there are between 2 nodes? I thought I can use the If in trace file, that is flow_id, but it's always 0!! Thank in advance Paola -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada
[ns] How could I know if my NS is working right?!
Hi all, I think that the installation of the NS2 here in my computer was OK. But I would like to test it! How could I test if the NS2 was installed with success? Thanks in advance, Ricardo.
[ns] RTS/CTS implementation
hi i am trying to implement Hidden terminal problem in NS2 can any one help in setting the range of transmissions I tried with Phy/WirelessPhy set CSThresh_ 3.5e10 but when i do this all the range between the all the 3 nodes changes whereas i want to increase between only two nodes thanks in advance -- Ability can take you to the top,but you need character to be there
Re: [ns] A simple umts scenario
hi this is due to fact that eurane patch is not compatible with nam. but this also doesn't show any packet sent to umts node in trace file. please help in getting that/// Luqman Munawar-2 wrote: hello, I have patched ns-2.28 with EURANE. I wanted to test the UMTS link but my code seem to contain some error. UE, node 2 in my case, is not connected as visible in nam even though I have created a DCH channel. Can anyone give a hint what could be wrong in the following script. Thank you in anticipation. cheers, Luqman . #Create a simulator object set ns [new Simulator] #Open the nam trace file set nf [open out.nam w] $ns namtrace-all $nf #Define a 'finish' procedure proc finish {} { global ns nf $ns flush-trace #Close the trace file close $nf #Execute nam on the trace file exec nam out.nam puts Simulation ended! exit 0 } # Insert your own code for topology creation # and agent definitions, etc. here # Node address is 0 $ns node-config -UmtsNodeType rnc set rnc [$ns create-Umtsnode] # Node address is 1 $ns node-config -UmtsNodeType bs \ -downlinkBW 32kbs \ -downlinkTTI 10ms \ -uplinkBW 32kbs \ -uplinkTTI 10ms \ set bs [$ns create-Umtsnode] #Iub configuration between RNC and BS $ns setup-Iub $bs $rnc 622Mbit 622Mbit 15ms 15ms DummyDropTail 2000 # Node address for ue1 is 2 $ns node-config -UmtsNodeType ue \ -baseStation $bs \ -radioNetworkController $rnc set ue1 [$ns create-Umtsnode] # Node address for sgsn0 and ggsn0 is 3 and 4, respectively set sgsn0 [$ns node] set ggsn0 [$ns node] # Node address for node1 is 5 set node1 [$ns node] $ns duplex-link $node1 $ggsn0 622Mbit 1ms DropTail 1000 $ns duplex-link $ggsn0 $sgsn0 622Mbit 1ms DropTail 1000 $ns duplex-link $sgsn0 $rnc 622Mbit 1ms DropTail 1000 $rnc add-gateway $sgsn0 set rtp_sender [new Agent/RTP] $ns attach-agent $node1 $rtp_sender set rtp_receiver [new Agent/RTP] $ns attach-agent $ue1 $rtp_receiver # Create a CBR traffic source and attach it to udp0 set cbr0 [new Application/Traffic/CBR] $cbr0 set packetSize_ 500 $cbr0 set interval_ 0.005 $cbr0 attach-agent $rtp_sender #creation of DCH channel $ns node-config -llType UMTS/RLC/AM \ -downlinkBW 64kbs \ -uplinkBW 64kbs \ -downlinkTTI 10ms \ -uplinkTTI 10ms set dch0 [$ns create-dch $ue1 $rtp_receiver] #Call the finish procedure after 5 seconds simulation time $ns at 5.0 finish #Run the simulation $ns run -- View this message in context: http://www.nabble.com/A-simple-umts-scenario-tf1930710.html#a9441057 Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] How could I know if my NS is working right?!
Hey, if you are a new user to ns , try the link below. It's a simple tcl program. Download it, save it in a folder and run it. http://nile.wpi.edu/NS/Example/ns-simple.tcl Running command is: $ns ns-simple.tcl You must make sure you have added/exported the PATH shown after completion of the installation. If it's working right you will have an output file called out.tr and out.nam in that folder. maruf - Original Message - From: super.ismiti [EMAIL PROTECTED] Date: Monday, March 12, 2007 1:42 pm Subject: [ns] How could I know if my NS is working right?! To: ns-users@ISI.EDU Hi all, I think that the installation of the NS2 here in my computer was OK. But I would like to test it! How could I test if the NS2 was installed with success? Thanks in advance, Ricardo.
[ns] segmentation fault
Hi I implemented UM-OLSR NS2 (after correctly compiled!) But during simulation. I received the message: segmentation fault I want solve of this error Please help me! Best regards, Hanan - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.