[ns] help simulation of AODV
Hi, why the packet delivery ratio not increase when the pause time increase when simulating AODV protocol under NS2.31. Thanks for all. - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] why not response!!!!
Hi, Please can any one say me how can i change cbr rate during simulation for a given resource from my c++ file. or there are not solution for this ??? thanks a lot!!! - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] AODV new trace format
Hi all, Please how can i compute the Packet delivery ration of AODV with aWk Thanks - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Changing rate during simulation
Hi all, Please how can i change the cbr rate during simulation for a given source from my c++ program. please help me!!! Thanks for all - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Aodv new trace format
Hi, How can i find the number of packets sent with using awk for aodv new trace under ns2 - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Cbr rate change
Hi all,, Please Please help me to change a cbr rate of a given source in the network from my C++ program. Thank you and thank you - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Change CBR rate
Hi all, Please can you say me how can I change (increase or decrease ) the Traffic bit rate during the simulation, I mean atmy c++ programme. Thanks in advance - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] mobile node direction
Hi all, Please how can i find (compute ) the direction of a mobile node under ns 2 Thanks in advance - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Node direction in ns2
Hi all, Please how can i find (compute ) the direction of a mobile node under ns 2 Thanks in advance - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Cbr Rate
Hi all, Please i need help for updating the cbr rate for a given mobile node from c++ file under ns2 Thanks for any help - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] RE : Ns-users Digest, Vol 44, Issue 17
HI all Please how can i compute the direction of a mobile node. Thanks - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] busy/idle time of a mobile node
Hi all, Please i need for your help. To estimate a avalable bandwidth i need to compute a basy or idle time of a node in a periode of time. Please how can i compute this idle/busy time under mac-802_11.cc Thanks for your Help - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Distance function in mobilenode.cc
Hi all, I modify the AODV protocol, in aodv.cc I want to calculate the distance between a node and its neighbors with using the distance function in common/mobilenode.cc having as parameter MobileNode type how can i proceed. (In aodv index is a nsaddr_t type) thank you for your Help - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Distance function in mobilenode.cc
I modify the AODV protocol, in aodv.cc I want to calculate the distance between a node and its neighbors with using the distance function in common/mobilenode.cc having as parameter MobileNode type how can i proceed. (In aodv index is a nsaddr_t type) thank you for your Help - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] next hop of packet
HI, Please how can i specifie the next hop for a packet under ns2. What is the object of those field in packet header: ch-next_hop_ and ih-daddr() what is the meaning for each and what is the differnce between them. Tnanks a lot for your help - - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] Help for list of node under ns2
Hi all, Please how can i declare a list of nodes under NS and how add to this list each visited node. Thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] RE : Help for list of node under ns2
Hi all, Please how can i declare a list of nodes under NS and how add to this list each visited node. Thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] Help for list of node under ns2
Hi, how can i declare a list of nodes under NS and how add to this list each visited node. Thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] conversion of Types under ns2
Hi all, Please how can i do conversion from nsaddr_t to MobileNode. thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] energy of node
Hi all, please How can i get the energy of a node in my C++ file thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] tcl and c++ files
Hi, how to send a value of a variable from the tcl file to the c++ file in order to being able to use it in c++ file Thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] help problem with mobilenode.h
Hi all, Why when i add #include aodv/aodv.h in mobilenode.h in order to use the fonctions of mobilenode.cc, and after doing make I will have those errors: ./mac/wireless-phy.h:129: error: expected identifier before 'r' ./mac/wireless-phy.h:129: error: expected `}' before 'r' ./mac/wireless-phy.h:129: error: expected unqualified-id before 'r' ./mac/wireless-phy.h: In member function 'bool WirelessPhy::Is_node_on()': ./mac/wireless-phy.h:97: error: 'node_on_' was not declared in this scope ./mac/wireless-phy.h: In member function 'bool WirelessPhy::Is_sleeping()': ./mac/wireless-phy.h:98: error: 'status_' was not declared in this scope ./mac/wireless-phy.h: At global scope: ./mac/wireless-phy.h:131: error: no matching function for call to 'Sleep_Timer::Sleep_Timer()' ./mac/wireless-phy.h:58: note: candidates are: Sleep_Timer::Sleep_Timer(WirelessPhy*) ./mac/wireless-phy.h:56: note: Sleep_Timer::Sleep_Timer(const Sleep_Timer) ./mac/wireless-phy.h:134: error: expected unqualified-id before 'private' ./mac/wireless-phy.h: In function 'EnergyModel* em()': ./mac/wireless-phy.h:142: error: 'node' was not declared in this scope ./mac/wireless-phy.h: At global scope: ./mac/wireless-phy.h:144: error: 'friend' can only be specified inside a class ./mac/wireless-phy.h:146: error: expected declaration before '}' token make: *** [common/mobilenode.o] Error 1 Thanks for any help - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] Problem with ./setdest
Hi, I have this problem : setdest: setdest.cc:595: void Node::RandomSpeed(): Assertion `speed != 0.0' failed. Abort when executing : ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 can you help me please - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] I hope to have the answer !!!!!!!!!!!!!!!!!!!!
Hi all, How can I calculate the busy time for a node under ns2 Best regards - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] need Help please!!!!!!!!!
Hi all, waht is the role of the following functions in channel.cc: WirelessChannel:: get_pdelay (Node* tnode, Node* rnode) it returns propagation delay between two nodes ?. if this is truth, which is the difference between this returned delay and the delay which can obtained by the difference between time of reception and time of transmission of Packets. WirelessChannel::sendUP Best regards - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] HHelp: Propagation delay for wireless link
waht is the role of the following function in channel.cc, WirelessChannel:: get_pdelay (Node* tnode, Node* rnode) it returns propagation delay between two nodes ?. if this is truth, which is the difference between this returned delay by this function and the delay which can obtained by the difference between time of reception and time of transmission. - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] Urgent: metrics in ad hoc under NS2
Hi all, I have read articles speaking about the available bandwidth of link and about delay of this link in the ad hoc networks (MANETs). But I have not found any explanation on the way of calculating them under NS. Please help me. How to calculate them under NS2? waiting for your reply !! Thanks in advance - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] RE : Re: CBR Traffic ?
yes that fix it statically. but how to dynamically change this rate during simulation (dynamiquely). Thanks a lot Aditya [EMAIL PROTECTED] a écrit : Hii $cbr set interval_ 0.05 This is how u can specify interval between 2 packets. I hope this wll solve ur problem. Regards -- Aditya On 3/6/07, leticia bela wrote: Hi All, Could anyone please tell me how to change dynamiquely the rate of cbr trafic under NS2 your help is highly appreciated, Regards - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] Rate of CBR Traffic ?
Hi aditya, when an event arrives suddenly for example the load of network is important, I will need to reduce the rate. at the beginning I do not have idea of the time of arrival of this event. thanks a lot Aditya [EMAIL PROTECTED] a écrit : Hii $ns at 1.0 $cbr set interval_ 0.05 This will change the rate at 1.0 time instance. You can change it any number of times. Bye. On 3/6/07, leticia bela wrote: yes that fix it statically. but how to dynamically change this rate during simulation (dynamiquely). Thanks a lot Aditya a écrit : Hii $cbr set interval_ 0.05 This is how u can specify interval between 2 packets. I hope this wll solve ur problem. Regards -- Aditya On 3/6/07, leticia bela wrote: Hi All, Could anyone please tell me how to change dynamiquely the rate of cbr trafic under NS2 your help is highly appreciated, Regards Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] simulating new protocol under ns2
Hi, I am a new user for Ns and i have a same problem like [EMAIL PROTECTED] I well studied document Implementing a new MANET protocol in ns-2. I wrote the same code in ns-2. that was compiled without error. I made all indicated changes in ns-2 . After wich i recompile ns-2 by typing make at ns-2.29 directory it got compiled well. But when i try to use this protocol in my simulation script, it produces the following errors. num_nodes is set 2 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl (_o14 cmd line 1) invoked from within _o14 cmd addr invoked from within catch $self cmd $args ret invoked from within if [catch $self cmd $args ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error error when calling class $cls: $args $... (procedure _o14 line 2) (SplitObject unknown line 2) invoked from within _o14 addr (eval body line 1) invoked from within eval $node addr $args (default arm line 2) invoked from within switch -exact $routingAgent_ { DSDV { set ragent [$self create-dsdv-agent $node] } DSR { $self at 0.0 $node start-dsr } AODV { set ragent [$self cre... (procedure _o3 line 11) (Simulator create-wireless-node line 11) invoked from within _o3 create-wireless-node (eval body line 1) invoked from within eval $self create-wireless-node $args (procedure _o3 line 23) (Simulator node line 23) invoked from within $ns_ node (for body line 2) invoked from within for {set i 0} {$i $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 1 ;# disable random motion } (file protoname.tcl line 65) ** my script for simulate this protocol is: # == # 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) 2 ;# number of mobilenodes set val(rp) protoname ;# routing protocol # == # Main Program # == # # Initialize Global Variables # set ns_[new Simulator] set tracefd [open out.tr w] $ns_ trace-all $tracefd # pour avoir la nouvelle trace new trace format $ns_ use-newtrace # set up topography object set topo [new Topography] $topo load_flatgrid 500 500 # # Create God # create-god $val(nn) # # Create the specified number of mobilenodes [$val(nn)] and attach them # to the channel. # Here two nodes are created : node(0) and node(1) # configure node $ns_ node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -channelType $val(chan) \ -topoInstance $topo \ -agentTrace ON \ -routerTrace ON \ -macTrace OFF \ -movementTrace OFF for {set i 0} {$i $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 1;# disable random motion } # # Provide initial (X,Y, for now Z=0) co-ordinates for mobilenodes # $node_(0) set X_ 5.0 $node_(0) set Y_ 2.0 $node_(0) set Z_ 0.0 $node_(1) set X_ 390.0 $node_(1) set Y_ 385.0 $node_(1) set Z_ 0.0 # # Now produce some simple node movements # Node_(1) starts to move towards node_(0) # $ns_ at 50.0 $node_(1) setdest 25.0 20.0 15.0 $ns_ at 10.0 $node_(0) setdest 20.0 18.0 1.0 # Setup traffic flow between nodes # TCP connections between node_(0) and node_(1) set tcp [new Agent/TCP] $tcp set fid_ 2 # donne un identifiant au flux 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 1.0 $ftp start #Agent/Protoname set
[ns] link bandwidth and delay link in ad hoc networks
Hi all, I have read articles speaking about the band-width of a wireless link and delay of this link in the ad hoc networks. but I have not find any explanation on the way of calculating them under NS. Please If anyone has an idea of this topic to help me . It is very important I am very grateful for you. Thanks in advance - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] CBR Traffic ?
Hi All, Could anyone please tell me how to change dynamiquely the rate of cbr trafic under NS2 your help is highly appreciated, Regards - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.