[ns] How can i install zrp into my ns2?

2010-05-17 Thread tiongsquare
i only manage to find ZRP for an older version of NS (NS2.1b9), i'm currently using allinone-2.34, how do i install the zrp in? i'm quite new to ns2 but i need it for my final yr project, thanks! -- View this message in context:

Re: [ns] ns2 and netbeans or eclipse

2010-05-17 Thread tiongsquare
Hi, on the site tutorial u post, below there's a note: Add those files to your cvsignore, respectively delete them from your patchfile after creating it, just wondering where is this patchfile? thanks! Volker Richter wrote: Hello, I'm using the eclipse IDE to make changes in the ns-2

Re: [ns] Problem compiling ns-2.34 with eclipse Galileo under ubuntu

2010-05-17 Thread tiongsquare
Hi, im having the same problem as you now, did you manage to solve the problem? Albane Delos wrote: Hi all, I am currently trying to make ns-2.34 work in Eclipse Galileo. Without Eclipse it works and compiles just fine but in Eclipse I have the following errors: make all

[ns] Can i use the same tcp script for diff implementation of a protocol?

2010-05-19 Thread tiongsquare
i mean example for different implementation fo aodv protocol, can i use the same tcl script to run it? or each tcl script is specially made for a particular implementation of aodv? thanks =) -- View this message in context:

[ns] Getting this error when running tcl script

2010-05-19 Thread tiongsquare
num_nodes is set 25 invalid command name 25 while executing $val(nn) invoked from within $ns_ node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -pr... anyone knows whats wrong? thanks! -- View

[ns] Got this error when running tcl script for zrp

2010-05-21 Thread tiongsquare
I manage to install zrp(made for ns2.19b) into my ns2.34 without any complie errors but when i try the run the tcl script provide in its demo folder it gives me the following errors: ti...@tiong:~/demo$ ns demo1_rad2.tcl num_nodes is set 22 (_o15 cmd line 1) invoked from within _o15

[ns] Segmentation fault while running zrp

2010-05-21 Thread tiongsquare
facing Segmentation fault when i run tcl script for zrp(2.19b) in ns2.34 anyone have a solution? thanks =) -- View this message in context: http://old.nabble.com/Segmentation-fault-while-running-zrp-tp28636923p28636923.html Sent from the ns-users mailing list archive at Nabble.com.

[ns] the recv() in routing protocol process one packet at a time or multiple?

2010-06-10 Thread tiongsquare
the recv() does it process one packet at a time and the rest queuing up outside? or at one time multiple packets can access the recv()? hope someone can clear my doubts, thanks! -- View this message in context:

Re: [ns] the recv() in routing protocol process one packet at a time or multiple?

2010-06-11 Thread tiongsquare
://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 6/10/2010, tiongsquare tiongsqu...@hotmail.com wrote: the recv() does it process one packet at a time and the rest queuing up outside

[ns] Strange problem with ns2 printf

2010-06-21 Thread tiongsquare
not sure if is ns2 problem or c++ issue, i did a function call testingprint(); somewhere else int ff2 = 0; void Myprog::testingprint() { if(ff2 == 0){ #ifdef DEBUG fprintf(stderr, I am from %d node TESTING \n, index); #endif printf(AT(%d) hello TESTING \n, index);

[ns] total number of packets sent out from a mobile node in C++?

2010-06-28 Thread tiongsquare
Is it possible to calculate the total number of packets sent out from a mobile node in C++? i'm working on a routing protocol currently. thanks! -- View this message in context: http://old.nabble.com/total-number-of-packets-sent-out-from-a-mobile-node-in-C%2B%2B--tp29008550p29008550.html Sent

[ns] why will mpr reduce redundant messages overall?

2010-07-07 Thread tiongsquare
i understand that mpr indeed helps to reduce the amount of broadcast messages in the protocol(which uses it) point of view, but i thought mpr itself will result in periodic sending of hello messages, wouldnt that in turn produce more messages? redundant messages avoided from sending by using

[ns] How can i calculate the no of data packets sent out from my routing protocol?

2010-07-26 Thread tiongsquare
How can i calculate the no of data packets sent out from my routing protocol node (c++)? thanks =) -- View this message in context: http://old.nabble.com/How-can-i-calculate-the-no-of-data-packets-sent-out-from-my-routing-protocol--tp29264794p29264794.html Sent from the ns-users mailing list

[ns] having problem running important tools Manhattan Mobility Generator for ns2

2010-07-26 Thread tiongsquare
during the execution it prompt me to enter the map file name, but which is the map file in the directory??? thanks -- View this message in context: http://old.nabble.com/having-problem-running-important-tools-Manhattan-Mobility-Generator-for-ns2-tp29264960p29264960.html Sent from the ns-users

[ns] How do I generate the Manhattan mobility scenarios in ns2?

2010-07-26 Thread tiongsquare
i have try a few generators but alot can't configure much, i need one that allows me to config max speed, min speed, safe distance, acceleration, no of vert and hori grids. thanks!!! -- View this message in context:

[ns] what does seed in cbrgen.tcl means?

2010-07-27 Thread tiongsquare
in ns2 own cbrgen which is used to gen traffic file, there is this parameter seed: Seed to the RNG to generate a random traffic pattern. so what does this seed means? what is Seed to the RNG to generate a random traffic pattern? thanks! -- View this message in context:

[ns] do i need to use a specific traffic pattern file according to the movement scenario file i'm using?

2010-07-27 Thread tiongsquare
do i need to use a specific traffic pattern file made for the movement scenario file i'm using? or both doesn't have relation with each other? my movement scenario file is manhattan, so can i just use cbrgen in ns2 to gen for the traffic part? thanks! -- View this message in context:

[ns] Is this the correct way to set wireless radio range and channel bandwidth?

2010-07-28 Thread tiongsquare
Hi, i want to set my radio propagation range for each mobilenode to 225m and the channel to operate at 2Mbps 1) for the channel bandwidth i read this the way to set it in the tcl script Mac/802_11 set dataRate_ 2Mb but do i need to set Phy/WirelessPhy set bandwidth_ 2Mb also? are they the same

[ns] How can i speed up ns2 simulation?

2010-07-28 Thread tiongsquare
Is there anyway i could speed up my ns2 simulation? my simulation has 1000 nodes, 5000x5000 manhattan map and more..and the simulation taking hrs =.=, hope there is a way to speed up because i need this script to test my protocol and also do multiple simulations on other protocol to compare the

[ns] nam error: Warning: Tracefile events are not sorted by time. in terminal

2010-07-29 Thread tiongsquare
I got the following errors appearing on terminal when running through my nam, does it mean i have to sort my scenario time in descending order? below are 2 scenario file, one got the error(bonnmotion) the other no error(important tool). thanks! Warning: Tracefile events are not sorted by time.

[ns] nam: Unable to open the file!!!

2010-07-30 Thread tiongsquare
Cannot connect to existing nam instance. Starting a new one... nam: Unable to open the file testing-out.nam this nam file is 4.6GB size, does nam has problem opening large nam file? because i thought initially is my nam program problem, but i try opening small nam files and it works. anyone

[ns] mobilenode data traffic

2010-07-30 Thread tiongsquare
how is it possible to obtain data pkts/sec traffic information from my routing protocol? thanks! -- View this message in context: http://old.nabble.com/mobilenode-data-traffic-tp29303361p29303361.html Sent from the ns-users mailing list archive at Nabble.com.

[ns] plot graph

2010-08-02 Thread tiongsquare
i have gnuplot installed and have some awk scripts i need delivery ratio on my y axis and mobility speed on my x- axis(20 30 40 ...80) so it means i need a awk script which can take in mobility speed value as input and output the delivery ratio for that speed? if yes, my problem now is the

[ns] need help in retrieving desired information from tracefiles!!!

2010-08-03 Thread tiongsquare
i'm stuck in my project of retrieve info from the traces and plot the graphs for a fews days already. need help in retrieving information from the trace file which i need it to plot using gnuplot. Any help will be appreciated!!! i need to plot delivery ratio - mobility speed, average end-to-end

Re: [ns] segmentation fault with dsr

2010-08-07 Thread tiongsquare
hi, Solution: In yr tcl script, include the following: if { $val(rp) == “DSR” } { set val(ifq)CMUPriQueue } else { set val(ifq)Queue/DropTail/PriQueue } http://cromagnonlife.wordpress.com/2010/08/08/solution-ns2-segmentation-fault-core-dumped-when-using-dsr/ sriram

Re: [ns] Problem using DSR in ns 2.34 and few general queries

2010-08-07 Thread tiongsquare
hi, Solution: Hi, In yr tcl script, include the following: if { $val(rp) == “DSR” } { set val(ifq)CMUPriQueue } else { set val(ifq)Queue/DropTail/PriQueue } http://cromagnonlife.wordpress.com/2010/08/08/solution-ns2-segmentation-fault-core-dumped-when-using-dsr/ visq

[ns] Solution to ns2 dsr segmentation fault

2010-08-07 Thread tiongsquare
will like to share the solution with everyone =) Solution: In yr tcl script, include the following: if { $val(rp) == “DSR” } { set val(ifq)CMUPriQueue } else { set val(ifq)Queue/DropTail/PriQueue }

[ns] Need awk scripts for avg end2end delay and total sent packets(data + control) urgently!!

2010-08-09 Thread tiongsquare
hi all, im looking for awk scripts for avg end to end delay and total sent packets(data + control) for my project which is due soon, any help will be appreciated! :) -- View this message in context:

Re: [ns] Need awk scripts for avg end2end delay and total sent packets(data + control) urgently!!

2010-08-09 Thread tiongsquare
hi thanks for replying, the one i need is for wireless new trace format. Muhammad Faiz wrote: On Mon, Aug 9, 2010 at 6:21 PM, tiongsquare tiongsqu...@hotmail.com wrote: hi all, im looking for awk scripts for avg end to end delay and total sent packets(data + control) for my

Re: [ns] Need awk scripts for avg end2end delay and total sent packets(data + control) urgently!!

2010-08-09 Thread tiongsquare
$ns_ use-newtrace visq wrote: How to obtain a new trace? is there any command that we need to append to the tcl script? On Mon, Aug 9, 2010 at 10:54 PM, tiongsquare tiongsqu...@hotmail.comwrote: hi thanks for replying, the one i need is for wireless new trace format. Muhammad

[ns] URGENT!!!! delay of aodv and dsr in ns2.34 not correct!

2010-09-09 Thread tiongsquare
hi guys really need help here, i been simulation dsr aodv by varying the number of network load, then i calculated the end to end delay, however the result isnt what i expected, it begins with high delay with lowest trafficload, then it goes down and up again forming a U shape trend. how could