[ns] trace2stats for awk

2011-07-09 Thread umair shah

http://perso.citi.insa-lyon.fr/mfiore/research.html
the website has A set of AWK scripts to get node-to-node statistics from the
tracefiles generated by the ns-2 
network simulat
,the awk script for instant throughput,instant jitter and avgstats but when I 
run any of them i don't get the results in any case just blank lines ,I'm using 
the new trace format as stated in readme file .
this is from instant throughput script in awk 
# Trace line format: new
    if ($2 == -t) {
        event = $1
        time = $3
        node_id = $5
        flow_id = $39
        pkt_id = $41
        pkt_size = $37
        flow_t = $45
        level = $19
I have a question is this the correct field setting values because I think $5!= 
node id 
if it is ,then why is it note working please reply .


[ns] INSPECT installation in ns2.34

2011-07-09 Thread umair shah

Hey how can I install visualizing  Wireless simulations  on ns2 is iNSpect in 
ns2 2.34 ?Is it better than nam visualizer ?and why do I need that ?


[ns] understanding aodv flow

2011-07-09 Thread umair shah

Hey I need to understand the aodv algorithm implemented in ns2,but my 
programming skills aren't that good in c++.how can I understand the flow of 
aodv.cc and other ffiles for aodv ,Should I use IDE for c++ to understand that 
?How do I do that ?I've gone through the code many times but can't understand 
,finds it too difficult .


[ns] Fw: problem in Ricean Propagation model

2011-07-09 Thread Wafa Ismail Ismail Bin Muhammad Baqrain




i'm try to use  Ricean model instead of Two Ray Ground  in tcl script  but i 
met the following problems:

invalid command name Propagation/Ricean
while executing
Propagation/Ricean create _o11 
invoked from within
catch $className create $o $args msg
invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}


[ns] FW: Implementaton of 802_11e mac protocol with a basestation and few mobile nodes.

2011-07-09 Thread Muhammad Waqar Arshad




From: muhammadwaqarars...@hotmail.com
To: ns-users@isi.edu
Subject: Implementaton of 802_11e mac protocol with a basestation and few 
mobile nodes.
Date: Sat, 9 Jul 2011 14:43:40 +








HI,

I have been trying to implement a wried cum wireless scenario in ns-2 for more 
than a week. The problem faced by me is that wireless mobile nodes are not 
using basestation to communicate with each other they are communicate directly 
like any adhoc network. Kindly help me with this problem.

Regards

  


[ns] exponential distribution

2011-07-09 Thread Mohamed Ibrahim Salman

Hi,
In a Network with a 40 mobile node, the used model is RWP. How to set the pause 
time for the mobile node to be exponentially distributed with a mean of 50 s.


[ns] carrier sensing in mac 802.3

2011-07-09 Thread fariba alamifar

Hi Friends,


I have some questions regarding to mac 802.3 implementation of NS2. Any help 
is greatly appreciated.
1- I am wondering if mac 802.3 implementation of NS-2 is based on collision 
detection or collision avoidance.
2- How carrier sensing is done in mac 802.3 implementation of NS2?
3- If it is based on collision detection, I'm going to change it to collision 
avoidance. Is there any idea in this regard? 

Thank You.