[ns] IMS support on ns-2 ?

2010-02-26 Thread pedro chaparro

Hi, somebody knows if there is some implementation for  3GPP IP Multimedia
Subsystem (IMS) on ns-2?
i'll appreciate some information about
thanks

-- 
Ing Pedro Alonso Chaparro Valero
Ciudad Politecnica de la Innovación
iTEAM - Mobile Communications Group
Polytechnic University of Valencia
C\ Camino de Vera S/N, Edificio 8G
46022 Valencia, Spain


[ns] awk code to evaluate throughput ...

2010-02-26 Thread JUNG HOON LEE

*Hi, all*
*I'm evaluating a protocol for wireless sensor network.*
*Do you have awk code to evaluate throughput, goodput, end-to-end delay,
percentage of packet lost, energy consumption, and routing overhead?*
*Please send me email if you have one of those.*
*Appreciate it in advance.*


[ns] How to access Node data members?

2010-02-26 Thread Muhammad Asif

Hi All,

I want to access Node object while sitting in AODV::recv function.

void AODV::recv(Packet *p, Handler*) {
// I want to access this node's object here
}

Regards,
Asif


[ns] Wireless TCP support on NS2

2010-02-26 Thread yashas nataraj

 Hi,
  Does Ns2 support Wireless TCP variants like Snoop-TCP,I-TCP,Freeze
TCP?

Thanks,
Yashas


[ns] Examples of Multimedia sensor networks(MSN)

2010-02-26 Thread Vineet ghatge

Hi all,

Can some one tell me how some examples in MSN can be implmented they should
use images?

With Regards,
VGH


[ns] Error in example in UWB ns-2.29

2010-02-26 Thread Vineet ghatge

Hi all,

I followed the steps given in
http://icawww1.epfl.ch/uwb/ns-2/installation.html while running the examples
section .

When I ran the command ***./run.pl -sim linetcp  i got the following
error:-

/opt/tmp/ns-recent/ns-allinone-2.29/ns_2-29_uwb/ns ../linetcp/scenario.tcl 0
Tarokh IFControl CodedPPM 7 20 1 64000 
output/log-Tarokh-IFControl-ths1-7-20-pr64000-0
FAILED!

Can some one correct the error? reason of error?

With Regards,
VGH

*


[ns] ns-2 and IEC61850

2010-02-26 Thread Bush, Stephen F (GE, Research)


Would anyone happen to have ns-2 extensions/scripts for IEC61850 that
you could share? 

Thanks,
Steve (www.research.ge.com/~bushsf)
(www.comsoc.org/nano)



[ns] ns-2 and smart grid

2010-02-26 Thread Bush, Stephen F (GE, Research)


I should have asked the broader question of whether there is a smart
grid ns-2 group or repository.

Thanks,
Steve

-Original Message-
From: Bush, Stephen F (GE, Research) 
Sent: Friday, February 26, 2010 2:00 PM
To: 'ns-users@isi.edu'
Subject: ns-2 and IEC61850


Would anyone happen to have ns-2 extensions/scripts for IEC61850 that
you could share? 

Thanks,
Steve (www.research.ge.com/~bushsf)
(www.comsoc.org/nano)



[ns] Ns AODV Tutorial example Not Working

2010-02-26 Thread Ariel Bello


I downloaded the AODV tutorial which was sent over the mailing list a couple of 
weeks ago.  I cannot get errors whenever I try to compile the example under 
NS2.34.  The tutorial is by Mubashir Rehmani for AODV implementation details 
and can be found at 
 http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf.  After copying and pasting the 
examples, the underscore character didn't copy so I had to manually add it.  
The code is included below for convenience: 

# wireless-aodv.tcl
# A 3 nodes example for ad hoc simulation with AODV
# Define options
set val(chan)Channel/WirelessChannel;# channel type
set val(prop)   Propagation/TwoRayGround;# radio-propagation model
set val(netif)   Phy/WirelessPhy ;# network interface type
set val(mac) Mac/802_11 ;# MAC type
set val(ifq)   Queue/DropTail/PriQueue ;# interface queue type
set val(ll)LL ;# link layer type
set val(ant)Antenna/OmniAntenna ;# antenna model
set val(ifqlen) 50 ;# max packet in ifq
set val(nn) 3 ;# number of mobilenodes
set val(rp)AODV ;# routing protocol
set val(x)500 ;# X dimension of topography
set val(y)400 ;# Y dimension of topography
set val(stop)  150 ;# time of simulation end
set ns [new Simulator]
set tracefd [open simple.tr w]
set namtrace[open simwrls.nam w]
$ns trace-all $tracefd
$ns namtrace-all-wireless $namtrace $val(x) $val(y)

proc stop {} {
global ns tracefd namtrace
$ns flush-trace
close $tracefd
close $namtrace
}


# set up topography object
set topo [new Topography]
$topo load_flatgrid $val(x) $val(y)
create-god $val(nn)
# Create nn mobilenodes [$val(nn)] and attach them to the channel.
set chan_1_ [new $val(chan)]
# configure the nodes
$ns node-config -adhocRouting $val(rp) \
-llType $val(ll) \
-macType $val(mac) \
-channel $chan_1_ \
-ifqType $val(ifq) \
-ifqLen $val(ifqlen) \
-antType $val(ant) \
-propType $val(prop) \
-phyType $val(netif) \
-topoInstance $topo \
-agentTrace ON \
-routerTrace ON \
-macTrace OFF \
-movementTrace ON \
   
for {set i 0} {$i $val(nn) } { incr i } {
set node_($i) [$ns node]
}
# Provide initial location of mobilenodes
$node_(0) set X_ 5.0
$node_(0) set Y_ 5.0
$node_(0) set Z_ 0.0
$node_(1) set X_ 490.0
$node_(1) set Y_ 285.0
$node_(1) set Z_ 0.0
$node_(2) set X_ 150.0
$node_(2) set Y_ 240.0
$node_(2) set Z_ 0.0
# Generation of movements
#$ns at 10.0 “$node_(0) setdest 250.0 250.0 3.0”
#$ns at 15.0 “$node_(1) setdest 45.0 285.0 5.0”
#$ns at 110.0 “$node_(0) setdest 480.0 300.0 5.0”
# Set a TCP connection between node (0) and node (1)
set tcp [new Agent/TCP/Newreno]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node_(0) $tcp
$ns attach-agent $node_(1) $sink
$ns connect $tcp $sink
set ftp [new Application/FTP]
$ftp attach-agent $tcp
$ns at 10.0 “$ftp start”
# Define node initial position in nam
for {set i 0} {$i $val(nn)} { incr i } {
# 30 defines the node size for nam
$ns initial_node_pos $node_($i) 30
}
# Telling nodes when the simulation ends
for {set i 0} {$i $val(nn) } { incr i } {
$ns at $val(stop) “$node_($i) reset”;
}
# ending nam and the simulation
$ns at $val(stop) “$ns nam-end-wireless $val(stop)”
$ns at $val(stop) “stop”
$ns at 150.01“puts “end simulation” ; $ns halt”

$ns run

  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/


[ns] How does AODV detect Link Failures?

2010-02-26 Thread Ariel Bello


I used Marc Greis's tutorial (example 3) and tried to apply AODV and commented 
out the rtproto DV to disable dynamic routing.  To add AODV functionality I 
simply put $ns node-config -adhocRouting AODV after the for loop that has the 
set ns node...  When I simulate the tutorial, AODV doesn't seem to be doing 
anything since a new route isn't discovered during the link failure.  I even 
tried enabling Hello Packets but to no avail.  Could it be the way that AODV is 
unable to detect a link failure by the command $ns rtmodel-at 1.0 down $n(1) 
$n(2)?  Is there any other way to manually or automatically define link 
failures?  

Also if anyone has any working NAM simulation involving AODV it would be 
extremely helpful as I have spent months trying to learn NS2 and have hit so 
many roadblocks with non-working examples.  

Any additional tutorials would also be appreciated.

Thanks in advance,

Ariel Bello

  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/


[ns] MPLS simulation problem....ns routing-nochange: can't schedule command in past

2010-02-26 Thread lukman_hanif

Hi everybody

Does anybody knows on how to solve the routing-nochange problem in the MPLS 
simulation? I got the following error .
ns: _o5347 routing-nochange 91 90.7107505150689: can't schedule command in past

Lukman



  


[ns] Getting equal Tx and Rx ranges for a wireless simulation

2010-02-26 Thread johnadams986


Hi,

I know that in ns2, the default Tx range is 250m and Rx is about 550m. Can
someone tell me how I can achieve similar Tx and Rx ranges, say 100m?  
-- 
View this message in context: 
http://old.nabble.com/Getting-equal-Tx-and-Rx-ranges-for-a-wireless-simulation-tp27724976p27724976.html
Sent from the ns-users mailing list archive at Nabble.com.