[ns] Installation problem

2006-07-17 Thread Tamer Abdel Kader
Hi everyone, Iam trying to install ns-allinone but i get the following message: checking system version (for dynamic loading)... ./configure: line 5718: syntax error near unexpected token `)' ./configure: line 5718: ` OSF*)' It is an error in the installation of TCL. The site for TCL error

[ns] Problem with 'make' for creating node movement!

2006-07-17 Thread sara MA
Hello everybody: I'm following the ns tutorial to create node-movement for wireless scenario. I already run configure command under ns directory, but when I run 'make' command under indep-utils/cmu-scen-gen/setdest directory, I get this error: make: Nothing to be done for 'all' is it

[ns] Unable to run mac-test.tcl !

2006-07-17 Thread Farid Behnia
Hi, As a newbie to NS I'm facing lots of strange things. I'm trying to run mac-test.tcl script. But I get the following error: [EMAIL PROTECTED]:~/ns-allinone-2.29 /ns-2.29/tcl/ex$ ns mac-test.tcl -node 10 no files matched glob pattern out.* while executing glob $opt(tr).* invoked

[ns] implementing a new mac protocol

2006-07-17 Thread Buvaneshwari M
is there a place where you have procedure to implement a mac protocol in ns2.29. first of all i would like to be clear with the usage of timers in ns. any hints are accepted with thanks. thank you once again.

[ns] R: Calculating Mean end-to-end delay.

2006-07-17 Thread Marco Fiore
Nicholas, I think the right way would be: mean = [mean * (total_pkts- 1) + curr_pkt_delay] / total_pkts where total_pkts represents the number of packets received, including the current one (i.e., that determining the curr_pkt_delay contribution). Regards, Marco Messaggio

[ns] Packet Simulating

2006-07-17 Thread William . Ampeh
Hello, Has anyone done packet simulation? Where can I find a sample code on packet simulation. Thank you __ William Ampeh

[ns] creation of a tree based routing protocol

2006-07-17 Thread stella kafetzoglou
Hi to everyone, i would like to run a wireless simulation where at the beggining of it I would construct a routing tree rooted at a specific node. In order to achieve that, I would like all the nodes to send packets to their neighbors in order to find out their neighbors. In what level

[ns] Implementing via command in C++

2006-07-17 Thread Nicholas Loulloudes
Hello, I want to implement a via command in my NS which will specify which will be the next hop a packet will take enroute to destination. I want to do this because i want to specify different hops for different packet flows. I was thinking having something like this. $ns connect $udp0 $null0

Re: [ns] R: Calculating Mean end-to-end delay.

2006-07-17 Thread Nicholas Loulloudes
Thank you Marco, i think the problem was tha t i didn't multiply with the previous number of pkts. Regards. On 7/17/06, Marco Fiore [EMAIL PROTECTED] wrote: Nicholas, I think the right way would be: mean = [mean * (total_pkts- 1) + curr_pkt_delay] / total_pkts where total_pkts

[ns] some tests failed while using ./validate

2006-07-17 Thread Michael Siu
Hi I have installed ns 2.29 using cywgin on WINDOWS XP. I then added the paths using: export PATH=$PATH:/ns-allinone-2.29/bin:/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ns-allinone-2.29/otcl-1.11:/ns-allinone-2.29/lib export