[ns] help me
salam alikom after i wrote "example1.tcl" program as set ns [new simulator] . . $ns run i run the program by type "ns example1.tcl" command it give error message invalid command name "simulator" while executing "simulator create_03" invoked from within . : what is wrong in this program? and what i do? note i work in mandrake10 can you help me gazak allah khiran __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] help me
hi to all. please guaide me about indtall ns-allinone-2.26 in redhat 9. i wnat install it but dont be work for me! please say me step tp step of install. tanx
[ns] help me
very very thanks.your help was great! i do programming in ns-allinone-2.26 .but in finish proc i dont know run namfilter file. please help me about. exec tclsh.
[ns] Help me
Hi Friends, I want to know how to discover neighbor nodes in mobile environment. If any one know please tell me, it will useful for me. Thank you -Sebastian Terence
[ns] Help me
Hello any one! Can any one provide me TCL script to run DSR and AODV routing protocls. Our students are studying Adhoc wireless Networks as part of their curriculum I would like to provide them i.e my fellow college the TCL script of these two protocols , so that they can have practical ( simulation) idea of these two protocols and also brief note on how to analyse the trace files from these two protocols. Eagerly waiting for the reply -- **R.Manjula Sr.Lecturer, Dept of ECE BITM, Bellary Karnataka. *
[ns] help me
i install ns2.35 in ubuntu i need the following protocols patches zone routing protocol , location aid routing and power aware routing thank in advance *MASOODJAN MSCE FROM IQRA UNIVERSITY BSIT FROM PESHAWAR UNIVERSITY DISTRICT/TEHSIL CHARSADDA *
[ns] help me
i install ns 2.35 and the patches of the followoing protocols zone routing protocol ,location aid routing and power aware routing -- *MASOODJAN MSCE FROM IQRA UNIVERSITY BSIT FROM PESHAWAR UNIVERSITY DISTRICT/TEHSIL CHARSADDA *
Re: [ns] Help me
Hi, See these links http://www.nabble.com/Finding-Neighbors-of-a-Mobile-Node.-td21019174.html#a21019289 Regards Mubashir Husain Rehmani 2009/10/9 Sebastian Terence.J > > Hi Friends, > > I want to know how to discover neighbor nodes in mobile environment. If any > one know please tell me, it will useful for me. > > Thank you > > -Sebastian Terence > -- Mubashir Husain Rehmani
Re: [ns] Help me
Hi, Thank you Sir, In my project, i am Using Hello Packets for neighbor discovery. But i don know how to create Hello Packets for neighbor discovery. If you have any idea, please share with me. It will usefull to me. Thank you With Regards Sebastian Terence On 10/9/09, Mubashir Rehmani wrote: > > Hi, > > See these links > > http://www.nabble.com/Finding-Neighbors-of-a-Mobile-Node.-td21019174.html#a21019289 > > Regards > Mubashir Husain Rehmani > > > 2009/10/9 Sebastian Terence.J > >> >> Hi Friends, >> >> I want to know how to discover neighbor nodes in mobile environment. If >> any >> one know please tell me, it will useful for me. >> >> Thank you >> >> -Sebastian Terence >> > > > > -- > Mubashir Husain Rehmani > > >
[ns] Help me multichannels
Hi all, Anyone uses multichannels as http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html? I made hyacinth on Ns-2.29 and test with twoflows-2channel.tcl and run well. Now i have some nodes 0>1>(4)<---3<---2.There are 2 channels: 1-->2-->4 and 2--->3--->4. How to transfer a packet from 1 to 4 and 2 to 4. I tried # Add routing tag $node_(0) add-route-tag 1 999 $node_(1) add-route-tag 4 88 $node_(2) add-route-tag 3 8 $node_(3) add-route-tag 4 99 #$ragent add-next-hop $dst $tag $hop $nic # Add next hop $node_(0) add-next-hop 1 999 1 2 $node_(1) add-next-hop 4 88 4 5 $node_(2) add-next-hop 3 8 3 3 $node_(3) add-next-hop 4 99 4 1 ***** set null0 [new Agent/Null] $ns_ attach-agent $node_(1) $null0 set cbr0 [attach-cbr-traffic $node_(0) $null0 500 0.005] $ns_ at 0.001 "$cbr0 start" $ns_ at 4.9 "$cbr0 stop" set null1 [new Agent/Null] $ns_ attach-agent $node_(3) $null1 set cbr1 [attach-cbr-traffic $node_(2) $null1 500 0.005] $ns_ at 0.001 "$cbr1 start" $ns_ at 4.9 "$cbr1 stop" ==> result is only packets transfer from 0 to 1, 2 to 3, packets can't reach to 4. Please, please help me soon. Thank you very much.
[ns] help me please
hello every body I write a new protocol in ns and when I make it, I see this error: make: *** No rule to make target `rcrt/rcrtsink.o', needed by `ns'. Stop. can anybody help me, plese!! thanks: fahimeh
[ns] Help me please!!!!!!
From: clc...@hotmail.com To: ns-users@isi.edu Subject: Help me please!! Date: Tue, 20 Jul 2010 09:50:54 -0500 Hi ns-users Hello, I have a question, hopefully someone can help me, because I'm very desperate. How I can change the AODV protocol to be able to send several times at any time a package sendHello, disabling HelloTimer and send message "Hello" when a node moves to another position? The Hello message must reach out to neighbors who are to 3 hops away from the node to be moved. I will be very grateful for the help I can get. Cecy L. _ ¿Te crees fan de Messenger? Compruébalo www.vivirmessenger.com
Re: [ns] Help me
: > Hello any one! > > Can any one provide me TCL script to run DSR and AODV routing protocls. > Our students are studying Adhoc wireless Networks as part of their > curriculum > I would like to provide them i.e my fellow college the TCL script of these > two protocols , so that they can have practical ( simulation) idea of these > two protocols and also brief note on how to analyse the trace files from > these two protocols > > . > *Also from where can i get TCL script for location aided routing protocol to implement in NS2* Eagerly waiting for the reply > > -- > **R.Manjula > Sr.Lecturer, Dept of ECE > BITM, Bellary > Karnataka. > * > > -- **R.Manjula Sr.Lecturer, Dept of ECE BITM, Bellary Karnataka. Current Status: Research Scholar Dept of E&ECE IIT Kharagpur Cell:08900479328 **
[ns] help me sir
i need the patch of the following protocols zone routing protocol , location aid routing and power aware routing -- *MASOODJAN MSCE FROM IQRA UNIVERSITY BSIT FROM PESHAWAR UNIVERSITY DISTRICT/TEHSIL CHARSADDA *
[ns] help me about SMAC
Hi all Please help me When a node in smac select your scheduler in function "void SMAC::setMySched(Packet *pkt)" Then it execute follow instruction "mhCounter_[0]->sched(CLKTICK2SEC(listenTime_));" My question is : 1- in the follow function in this instruction "TimerHandler::sched(time)" after time seconds what expire function is running 2- What is meaining TIMER_IDLE,TIMER_PENDINIG and TIMER_HANDLING? In the void SmacCounterTimer::sched(double time) { // the cycle timer assumes that all time shall be scheduled with time "left to sleep" // and not the absolute time for a given state (sleep, sync or data). Thus inorder // to schedule for a sleep state, need to schedule with aggregate time CYCLETIME // (sleeptime+synctime+dadatime). // Similarly for sync state, schedule with listenTime_ (synctime+datattime) // This is implemented to be in step with the counter used in actual smac. tts_ = time; // time before it goes to sleep again stime_ = Scheduler::instance().clock(); if (time <= CLKTICK2SEC(cycleTime_) && time > CLKTICK2SEC(listenTime_)) { // in sleep state value_ = sleepTime_; if (status_ == TIMER_IDLE) TimerHandler::sched(time - CLKTICK2SEC(listenTime_)); else TimerHandler::resched(time - CLKTICK2SEC(listenTime_)); } else if ( time <= CLKTICK2SEC(listenTime_) && time > CLKTICK2SEC(dataTime_)) { // in sync state value_ = syncTime_; printf("\ndididididididid\n"); if (status_ == TIMER_IDLE) TimerHandler::sched(time - CLKTICK2SEC(dataTime_)); else TimerHandler::resched(time - CLKTICK2SEC(dataTime_)); } else { // in data state assert(time <= CLKTICK2SEC(dataTime_)); value_ = dataTime_; if (status_ == TIMER_IDLE) TimerHandler::sched(time); else TimerHandler::resched(time); } } The second question is: In the SMAC protocol when receiving packet from network function smac::recv is call Then how to handleRecvTimer function is call?? I'm waiting for your reply Thanks in advanced Bye -- Amin Irandoost
[ns] help me for 802.11e
hi i installed 802.11e tkn under ns-2.31 and after installation of that i run "multi_udpflows.tcl" of course i run this example with 1000 sec instead of 1 sec and i get this message : num_nodes is set 5 wired node 0 created wired node 1 created wired node 2 created INITIALIZE THE LIST xListHead Base-Station node 3 created wireless node 0 created ... wireless node 1 created ... wireless node 2 created ... wireless node 3 created ... warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 SORTING LISTS ...DONE! ns exiting... i have 2 questions : 1- is it errore or only it's a warning and i install tkn succesfully? 2-if i didn't install tkn sccesfully please help me to do that succesfully after run this example i write new example and run it under 802.11e i attached the new tcl when i run it with dsdv all packet dropped and when i run it with dsr in tr file i saw sfs in first of all row and when i run it with aodv it run but the output file was empty. 3- what's the problem of 802.11e with routing protocols? please help me for working well with 802.11e tkn i need it very soon thanks for your attentions mr.ali.balador homepage:www.balador.org
[ns] Help me with Perl files
Hi all, do anyone work with multipath and can help me sending me a perl file which count how many path there are between 2 nodes? Thanks in advance bye -- Mutui da 200.000 euro? Tassi ridotti da 4.25% solo per richieste online. Mutuionline.it http://click.libero.it/mutuionline5mar07
[ns] Help me why ! Thanks all.
Hi all ! Thanks for your helping. I just successfully installed Ns-2.1b6 on RedHat Linux to use OWns with environment variabale (.bashrc): export NS_HOME=/home/an/ns-allinone-2.1b6 export PATH=$NS_HOME/ns-2.1b6:$NS_HOME/bin:$NS_HOME/tcl8.0.4/unix:$NS_HOME/bin:$PATH export PATH=$NS_HOME/tk8.0.4/unix:$NS_HOME/nam-1.11:$NS_HOME/xgraph-12.1:$PATH export LD_LIBRARY_PATH=$NS_HOME/otcl-1.0a5:$NS_HOME/tclcl-1.0b9:$LD_LIBRARY_PATHexport LD_LIBRARY_PATH=$NS_HOME/lib:$LD_LIBRARY_PATH export TCL_LIBRARY=$NS_HOME/tcl8.0.4/library But when I use NS command to compile owns_demo.tcl then have error with report: ENVIRONMENT VARIABALE NS-2 NOT SET. Could you understand that report ? If could, pls tell me as soon as posible ! Thanks again. Best Regards.
[ns] help me on packet combining
hello I'm new to ns2 and i'm searching the code on piggybacking the two packets in multicast networks. While sending the packets, two packets will be piggyback or merge up to the certain nodes and the original packet has to extract again and send it to the respective nodes. If it is possible, then can you please help me. Thanking in advance With Regards Prabin
[ns] Help me in trace files
[ns] Help me in creating MPLS network
Hi, any one kindly please help me in creating MPLS network efficiently in Ns2. Please do tell me the commands like, 1. flow aggrregation 2. LDP setup 3. LDP release etc - Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
[ns] Help me to fix this error
Hii ns user I confused how to fix the common problems of "friend class" of drr.cc, imep/rxmit_queue.h, sfq.cc, snoop.h, tcp-full.h, tcp-rbp.cc, tfrc-sink.h, and tfrc.h "What this means" Can you help me?? Can ADMR and ODMRP install in NS 2.30? Until now I have error and error Thanks
[ns] Help me with the DCCP module!
Hi all, I'm using the DCCP module contributed by: http://lifc.univ-fcomte.fr/~dedu/ns2/ in ns-2.31. But when I tried the simple script in the attachment, I got the following error: DCCPAckVector::sendAckVector - Failed to add ack vector to option: err -1, size 254 Can anyone help me out? It's really urgent! Thank you. Yaogong _ Windows Live Spaces 中最年轻的成员! http://miaomiaogarden2007.spaces.live.com/
[ns] help me regarging handoff simulation plz
hello all i want to simulate soft handoff of cellular network by using ns-2 but i don't have any idea abt that plz tellme is their any script available or not?i have to simulate call blocking and call dropping probability of soft handoff of CDMA and GSM network plz help me out plz.i'll be thankful to u Rashi Saxena India
[ns] help me about MAODV trace file
hello all, i run the MAODV protocol,but i found a interesting thing: --s 401.509417279 _0_ AGT --- 746 cbr 256 [0 0 0 0] --- [0:0 234881024:-1 32 0] [746] 0 0 --r 401.509417279 _0_ RTR --- 746 cbr 256 [0 0 0 0] --- [0:0 234881024:-1 32 0] [746] 0 0 --s 410.543042838 _0_ RTR --- 746 cbr 276 [0 0 0 0] --- [0:0 234881024:-1 30 34] [746] 0 0 why node 0 send the packet 746 after so long time? thanks your help
[ns] help me in finding the problem
Hi! I am simulating the WSN using energy model but I have the follwoing confusions 1. As you can see that I have defined the grid 100m *100 m, and specifically defined the node positions 10 m a part from each other along x-axis. But when i start simulaion the nodes initially are invisible for some time then they appeared in overlapped fashion... why? I have defined the thredhold but It didn't work as when in simualtion environment I manually drag the sink and source wide a part they still exchange messages directly... how can I overcome this? Also the relay nodes are not seen in data exchange why? code # Generated by Topology Generator for Network Simulator (c) Elmurod Talipov set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy/802_15_4 ;# network interface type set val(mac) Mac/802_15_4 ;# 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) 100 ;# max packet in ifq set val(nn) 4;# number of mobilenodes0;# X dimension of topography100 ;# Y dimension of topography10;# simulation period atif1.tr w]tif1.nam w]3) label "Sink"Relay"2) label "Relay"0) $tcp0 3) $sink0 2"$ftp0 start" 10.0 "$ftp0 stop"atif1.nam & set val(rp) AODV ;# protocol tye set val(x) 10 set val(y) set val(stop) set val(energymodel) EnergyModel ;# Energy Model set val(initialenergy) 100 ;# value set ns [new Simulator] $ns color 1 Blue set tracefd [open set namtrace [open a $ns trace-all $tracefd $ns namtrace-all-wireless $namtrace $val(x) $val(y) set dist(5m) 7.69113e-06 set dist(9m) 2.37381e-06 set dist(10m) 1.92278e-06 set dist(11m) 1.58908e-06 set dist(12m) 1.33527e-06 set dist(13m) 1.13774e-06 set dist(14m) 9.81011e-07 set dist(15m) 8.54570e-07 set dist(16m) 7.51087e-07 set dist(20m) 4.80696e-07 set dist(25m) 3.07645e-07 set dist(30m) 2.13643e-07 set dist(35m) 1.56962e-07 set dist(40m) 1.20174e-07 Phy/WirelessPhy set CSThresh_ $dist(40m) Phy/WirelessPhy set RXThresh_ $dist(40m) # set up topography object set topo [new Topography] $topo load_flatgrid $val(x) $val(y) create-god $val(nn) # configure the nodes $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) \ -channel [new $val(chan)] \ -topoInstance $topo \ -agentTrace ON \ -routerTrace ON \ -macTrace ON \ -movementTrace ON \ -energyModel $val(energymodel) \ -initialEnergy $val(initialenergy) \ -rxPower 35.28e-3 \ -txPower 31.32e-3 \ -idlePower 712e-6 \ -sleepPower 144e-9 #-IncomingErrProc MultistateErrorProc \ #-OutgoingErrProc MultistateErrorProc for {set i 0} {$i < $val(nn) } { incr i } { set mnode_($i) [$ns node] } for {set i 0} {$i < $val(nn) } { incr i } { $mnode_($i) set X_ [ expr {20 + $i * 10} ] #$mnode_($i) set X_ [ expr {$val(x) * rand()} ] $mnode_($i) set Y_ 20.0 #$mnode_($i) set Y_ [ expr {$val(y) * rand()} ] $mnode_($i) set Z_ 0.0 #$mnode_($i) set Z_ 0 } $mnode_( $mnode_(0) label "Source" $mnode_(1) label " $mnode_( # Set a TCP connection between node_(0) and node_(1) set tcp0 [new Agent/TCP/Newreno] $ns attach-agent $mnode_( set sink0 [new Agent/TCPSink] $ns attach-agent $mnode_( $ns connect $tcp0 $sink0 set ftp0 [new Application/FTP] $ftp0 attach-agent $tcp0 $ns at 0. $ns at $tcp0 set fid_ 1 # Telling nodes when the simulation ends for {set i 0} {$i < $val(nn) } { incr i } { $ns at $val(stop) "$mnode_($i) reset;" } # ending nam and the simulation $ns at $val(stop) "stop" $ns at $val(stop) "$ns nam-end-wireless $val(stop)" $ns at [expr $val(stop) + 0.01] "puts \"end simulation\"; $ns halt" proc stop {} { global ns tracefd namtrace $ns flush-trace close $tracefd close $namtrace exec nam exit 0 } $ns run
[ns] help me please in ns-2.27
--- On Fri, 8/21/09, ali majeed wrote: From: ali majeed Subject: To: ns-users@isi.edu Date: Friday, August 21, 2009, 11:14 PM
[ns] Help me find the JET protocol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I needed the JET (Just Enough Time) protocol for obs networks. How can i make obs networks with this protocol? Thanks for all - -- === Undergraduate student Spatiotis Christos Department of Computer Engineering & Informatics (CEID) University of Patras, Greece e-mail: spati...@ceid.upatras.gr website: http://spatiotis.wordpress.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMOImJAAoJEEsBwmwz6MuRZIQIAIubfYWF4FXVa74nW4So2Z+O YEyCsHDrdhWeZvY4Dv4A6gIFHkIuXudqQ8FFYZD6QwY0DHWgEOsOFrcZXGjCFFqA z+LC7djlmAlnvSMKAIrAIb50Cc272KT5XwV1WdGLjtJeS12olrMxz1WI0GyNyUFZ pHIZ+WvoPK4h/JPV0mI9vzEqhf2oqXA1tJIRsSklcedyckeNfp2Db0efN8wDA6lY oYuBKdPKNoaS3mf+ahKPITQaVpFmGLYgSVrSjRsu/UClwpd8tKU2pU1uCOKdIF5R mU+F/V3dbczknWNLlB/6+MvKVl4XMtthRg10dobgRK1hpLofPyGUJeQEh24r2Fw= =u3Fp -END PGP SIGNATURE-
[ns] help me to implement DCF mode??
Hi friends, I want to implement dcf operation in ns2. Can I use the unicast_validation.tcl code (tcl/ex/802.11/unicast) for reference?. I am a beginner in ns2. so please If you have any other suggestion let me know. Your inputs would really help me. Thanks for your help. Regards, Chithra -- View this message in context: http://old.nabble.com/help-me-to-implement-DCF-mode---tp29947353p29947353.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] help me on upstream label asssignment
Can anyone help me on upstream label assignment on mpls multicast networks? By default data driven mode is enabled but even if i use enable-data-driven then upstream label assignment is not working. -- View this message in context: http://old.nabble.com/help-me-on-upstream-label-asssignment-tp33290782p33290782.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] help me to finish installing NS correctly
*hi all,* when I did the ./install, I obtained These messages after that ns was installed successfuly: put /home/you/ns-allinone-2.30/bin : /home/you/ns-allinone-2.30/tcl8.4.13/unix: /home/you/ns-allinone-2.30/tk8.4.13/unix into your path environnement so that you ll be able to run itm/tclsh/wish/xgraph you must put /home/you/ns-allinone-2.30/otcl-1.12, /home/you/ns-allinone-2.30//lib into your LD-LIBRARY-PATH environnement variables if it complains about X libraries,add path to your X librairies into LD-LIBRARY-PATH if you are using csh,you can see like: setenv LD-LIBRARY-PATH if you are using sh,you can see like: export LD-LIBRARY-PATH= put /home/you/ns-allinone-2.30/tcl 8.4.13/library into your TCL-LIBRARY environnement variables *Question:* *1)** How can i do this?where will i find my LD-LIBRARY-PATH and my TCL-LIBRARY environnement variables and my path environnement so that i ll be able to run itm/tclsh/wish/xgraph? * ** *Regards.*
[ns] help me with the dsr segmentation problem
hi. this is my tcl script to simulate for 3 nodes using dsr routing protocol. it s givin as segmentation fault. but the same script works for dsdv just by changin the routing protocol in the script pasted below...please help me at the earliest as i ve lost a lot of time tryin to solve this. the terminal display when i run the tcl script is [EMAIL PROTECTED] ns-allinone-2.30]# ns simple-dsr.tcl num_nodes is set 3 INITIALIZE THE LIST xListHead SORTING LISTS ...DONE! channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 Segmentation fault [EMAIL PROTECTED] ns-allinone-2.30]# this is the tcl script # 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) DSR ;# 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-dsr.tr w] set windowVsTime2 [open win.tr w] set namtrace [open simwrls.nam w] $ns trace-all $tracefd $ns use-newtrace $ns namtrace-all-wireless $namtrace $val(x) $val(y) # set up topography object set topo [new Topography] $topo load_flatgrid $val(x) $val(y) create-god $val(nn) set chan_1_ [new $val(chan)] # # Create nn mobilenodes [$val(nn)] and attach them to the channel. # # configure the nodes $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 ON\ -channel $chan_1_ 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" # Printing the window size proc plotWindow {tcpSource file} { global ns set time 0.01 set now [$ns now] set cwnd [$tcpSource set cwnd_] puts $file "$now $cwnd" $ns at [expr $now+$time] "plotWindow $tcpSource $file" } $ns at 10.1 "plotWindow $tcp $windowVsTime2" # 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" proc stop {} { global ns tracefd namtrace $ns flush-trace close $tracefd close $namtrace } $ns run
[ns] help me with the tora routing protocol
hi. this is the tcl script to simulate for two nodes using the tora protocol.but i m gettin errors when i run it. please help immediately 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)CMUPriQueue;# 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) TORA ;# routing protocol # # Main Program # # # Initialize Global Variables # set ns_ [new Simulator] set tracefd [open simple.tr w] $ns_ trace-all $tracefd # 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] } # # 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" # Node_(1) then starts to move away from node_(0) $ns_ at 100.0 "$node_(1) setdest 490.0 480.0 15.0" # Setup traffic flow between nodes # TCP connections between node_(0) and node_(1) set tcp [new Agent/TCP] $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" # # Tell nodes when the simulation ends # for {set i 0} {$i < $val(nn) } {incr i} { $ns_ at 150.0 "$node_($i) reset"; } $ns_ at 150.0 "stop" $ns_ at 150.01 "puts \"NS EXITING...\" ; $ns_ halt" proc stop {} { global ns_ tracefd $ns_ flush-trace close $tracefd } puts "Starting Simulation..." $ns_ run - ERRORS [EMAIL PROTECTED] root]# ns tor.tcl num_nodes is set 2 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead (_o17 cmd line 1) invoked from within "_o17 cmd port-dmux _o28" 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 "_o17" line 2) (SplitObject unknown line 2) invoked from within "$agent port-dmux $dmux_" (procedure "_o14" line 11) (Node/MobileNode add-target-rtagent line 11) invoked from within "$self add-target-rtagent $agent $port" (procedure "_o14" line 23) (Node/MobileNode add-target line 23) invoked from within "$self add-target $agent $port" (procedure "_o14" line 15) (Node attach line 15) invoked from within "$node attach $ragent [Node set rtagent_port_]" (procedure "_o3" line 72) (Simulator create-wireless-node line 72) 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] }" (file "tor.tcl" line 52)
[ns] help me regarding the make file plzzzzzz
Dea NS-Users, I have installed the ns-2.29 on machine under Linux Fedora and tried also with the ns-2.31. Actually, after I have unzipped the tar file and wrote the ./installcommand, it gave me the following: make: Warning: File `Makefile.in' has modification time 1.3e+08 s in the future Makefile.in is newer than Makefile. You need to re-run configure. false make: *** [Makefile] Error 1 Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems I did the ./configure command again and typed the make, but gave me the following again: config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h config.status: autoconf.h is unchanged [EMAIL PROTECTED] ns-2.31]$ make make: Warning: File `Makefile.in' has modification time 1.3e+08 s in the future Makefile.in is newer than Makefile. You need to re-run configure. false make: *** [Makefile] Error 1 [EMAIL PROTECTED] ns-2.31]$ So, Could any body help me regarding that please?? It is urgent please. Thanks in advance Thamer Al-Jahamneh -- Thamer Al-Jahamneh
[ns] help me regarding the make file plzzzzzz
Try "make distclean" or "make distclean-recursive. It will do a full reconfigure from scratch. Look in the Makefile for all the different types of targets. Hope that helps. > > Message: 1 > Date: Sun, 2 Dec 2007 20:33:26 -0500 > From: "Tamer Ahmed" <[EMAIL PROTECTED]> > Subject: [ns] help me regarding the make file plzz > To: ns-users@ISI.EDU > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Dea NS-Users, > > I have installed the ns-2.29 on machine under Linux Fedora and tried also > with the ns-2.31. > > Actually, after I have unzipped the tar file and wrote the > ./installcommand, it gave me the following: > > make: Warning: File `Makefile.in' has modification time 1.3e+08 s in the > future > Makefile.in is newer than Makefile. > You need to re-run configure. > false > make: *** [Makefile] Error 1 > Ns make failed! > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > I did the ./configure command again and typed the make, but gave me the > following again: > > config.status: creating indep-utils/webtrace-conv/nlanr/Makefile > config.status: creating indep-utils/webtrace-conv/epa/Makefile > config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile > config.status: creating autoconf.h > config.status: autoconf.h is unchanged > [EMAIL PROTECTED] ns-2.31]$ make > make: Warning: File `Makefile.in' has modification time 1.3e+08 s in the > future > Makefile.in is newer than Makefile. > You need to re-run configure. > false > make: *** [Makefile] Error 1 > [EMAIL PROTECTED] ns-2.31]$ > > So, Could any body help me regarding that please?? It is urgent > please. > > Thanks in advance > > Thamer Al-Jahamneh
[ns] help me in the segemnation fault pleassee!!!!!!!!!!!!
Dear NS-users, I am running a tcl scripts using the AODV, DSDV and DSR routing protocols for my scripts under ns-2.29. Actually, the AODV and DSDV are both working well. But, we I apply the DSR routing protocol, it gives me: *Segmentation fault (core dumped)* Actually, this problem is with me in both windows, and linux fedrora because I installed the ns-2 on both and working on both the windows and linux. So, could anybody help me how to solve this problem because I searched lots and tried lots and lots with it plzzz. Regards, Thamer Jahamneh -- Thamer Al-Jahamneh
[ns] help me to solve this error please
salam alikom when run aprogram by typing acommand ns example1.tcl it give me this error "no display name and no $DISPLAY environment variable can you help me what is this?and what i do to solve this error note i run on mandrake10 gazak allah khiran __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] help me for add packet droping node
hi friends I am going to implement one paper in that I need to add some node which act as a blackhole packet droping node so any kind of idea or code please help me thanx in advance
[ns] Help me, install antnet on NS-2.33
Hi all, Can anyone help me, I have problem when install antnet on NS-2.33. [r...@localhost ns-2.33]#make .. .. make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest' make[1]: Entering directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec' make[1]: Entering directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa' make[1]: Entering directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr' make[1]: Entering directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb' [r...@localhost ns-2.33]# then, when I run ns simple.tcl: [r...@localhost ex]# ns simple.tcl ns: [code omitted because of length] : can't read "num_nodes_x_4": no such variable (Object set line 1) invoked from within "Agent/Antnet set num_nodes_x_4" [r...@localhost ex]# I just follow this instruction (antnet-1.0, Richardson Lima,Networking and Telecommunications Research Group, Computer Science Center of the Federal University of Pernambuco at Recife, Brazil): 1. Download antnet-1.0.tgz ( https://antnet.wordpress.com ) and extract to a location of your choice. 2. Copy folder “antnet” to NS2 base directory. 3. Copy folder “scripts” to any location of your choice where you wish to run simulation scripts and store results. 4. Edit common/packet.h. (a) Add packet type PT_ANT to packet_t as shown in Listing 2.1 typedef unsigned int packet_t; static const packet_t PT_TCP = 0; static const packet_t PT_UDP = 1; static const packet_t PT_CBR = 2; static const packet_t PT_AUDIO = 3; static const packet_t PT_VIDEO = 4; // insert new packet types here static const packet_t PT_ANT = 62; static packet_t PT_NTYPE = 61; Listing 2.1: common/packet.h (b) Add packet name to constructor of class p_info() as shown in Listing 2.2 class p_info { // XCP name_[PT_XCP]="xcp"; // Bell Labs (PackMime OL) name_[PT_BLTRACE]="BellLabsTrace"; name_[PT_ANT] = "Ant"; name_[PT_NTYPE]= "undefined"; } Listing 2.2: common/packet.h: p info() 5. Edit trace/cmu-trace.h as shown in Listing 2.3 to add new function that defines trace format for AntNet. class CMUTrace : public Trace { public: /?...?/ private : /?...?/ void format_rtp(Packet *p, int offset); void format_tora(Packet *p, int offset); void format_imep(Packet *p, int offset); void format_aodv(Packet *p, int offset); void format_antnet(Packet *p, int offset); // This holds all the tracers added at run-time static PacketTracer *pktTrc_; }; Listing 2.3: trace/cmu-trace.h 6. Edit trace/cmu-trace.cc. (a) Include header file for Ant packet as shown in Listing 2.4. #include //ANTNET /?...?/ Listing 2.4: trace/cmu-trace.cc (b) Define format_antnet() as shown in Listing 2.5. void CMUTrace::format_antnet(Packet *p, int offset) { struct hdr_ant_pkt *ah = HDR_ANT_PKT(p); if (pt_->tagged()) { sprintf(pt_->buffer() + offset, "-ant:o %d -ant:s %d -ant:l %d ", ah->pkt_src(), ah->pkt_seq_num(), ah->pkt_len()); } else if (newtrace_) { sprintf(pt_->buffer() + offset, "-P ant -Po %d -Ps %d -Pl %d ", ah->pkt_src(), ah->pkt_seq_num(), ah->pkt_len()); } else { sprintf(pt_->buffer() + offset, "[ant %d %d %d] ", ah->pkt_src(), ah->pkt_seq_num(), ah->pkt_len()); } } Listing 2.5: trace/cmu-trace.cc: format antnet() Edit format() as shown in Listing 2.6 to add case for Ant packet. void CMUTrace::format(Packet* p, const char *why) { /?...?/ default: format_ip(p, offset); offset = strlen(pt_->buffer()); switch(ch->ptype()) { case PT_AODV: format_aodv(p, offset); break; case PT_ANT: format_antnet(p, offset); break; case PT_TORA: format_tora(p, offset); /?...?/ } 7. Edit queue/drop-tail.h to define a method getlength() in class DropTail as shown in Listing 2.7. c l a s s DropTail : p u b l i c Queue { public : /?...?/ protected : /?...?/ public : int getlength ( ) ; }; Listing 2.7: queue/drop-tail.h 8. Edit queue/drop-tail.cc to add method getlength() as shown in Listing 2.8. int DropTail::getlength ( ) { return q_?>length ( ) ; } Listing 2.8: queue/drop-tail.cc 9. Edit recv() in queue/priqueue.cc to assign priorities to Ant packets as shown in Listing 2.9. void PriQueue::recv ( Packet ?p , Handler ?h ) { struct hdr_cmn ? ch = HDR_CMN( p ) ; if ( Prefer Routing Protocols ) { switch ( ch?>ptype ( ) ) { case PT_DSR : case PT_MESSAGE: case PT_TORA: case PT_AODV: recvHighPriority (p , h ) ; break ; case PT_ANT: if ( ch ->direction ( ) == hdr_cmn::UP) { recvHighPrior
[ns] help me to run TORA routing protocol
Dear All, I am using NS 2.31 , but *TORA* is not working properly. Can anyone help me in this regard. Regards,
Re: [ns] help me to finish installing NS correctly
On 12/6/06, amira bourayou <[EMAIL PROTECTED]> wrote: > > *hi all,* > when I did the ./install, I obtained These messages after that ns was > installed successfuly: > > put > /home/you/ns-allinone-2.30/bin : > /home/you/ns-allinone-2.30/tcl8.4.13/unix: > /home/you/ns-allinone-2.30/tk8.4.13/unix into your path environnement so > that you ll be able to run itm/tclsh/wish/xgraph > you must put /home/you/ns-allinone-2.30/otcl-1.12, > /home/you/ns-allinone-2.30//lib into your LD-LIBRARY-PATH environnement > variables > if it complains about X libraries,add path to your X librairies into > LD-LIBRARY-PATH > > if you are using csh,you can see like: > setenv LD-LIBRARY-PATH > if you are using sh,you can see like: > export LD-LIBRARY-PATH= > > put /home/you/ns-allinone-2.30/tcl 8.4.13/library into your TCL-LIBRARY > environnement variables *Question:* > *1)** How can i do this?where will i find my LD-LIBRARY-PATH and my > TCL-LIBRARY environnement variables and my path environnement so that i ll > be able to run itm/tclsh/wish/xgraph? * Make a script like this one below and place it in you ns-allinone-2.30 directory. When you need to run your NS simulations go to that directory and source the script. #!/bin/sh # added for Xterm window title change export PROMPT_COMMAND='echo -ne "\033]0;NS-2.30 ${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' # added for command prompt change export PS1="[EMAIL PROTECTED] \W]\$ " if [ "x$NS" != "x" ] ; then export NS_ORIG=$NS fi export NS=`pwd` if [ "x$LD_LIBARY_PATH" != "x" ] ; then export LD_LIBRARY_PATH_ORIG=$LD_LIBRARY_PATH fi export LD_LIBRARY_PATH=$NS/otcl-1.12:$NS/lib if [ "x$TCL_LIBRARY" != "x" ] ; then export TCL_LIBRARY_ORIG=$TCL_LIBRARY fi export TCL_LIBRARY=$NS/tcl8.4.13/library export PATH_ORIG=$PATH export PATH=$PATH:$NS/bin:$NS/ns-2.30/bin:$NS/tcl8.4.13/unix:$NS/tk8.4.13/unix unset NS
Re: [ns] help me with the dsr segmentation problem
Change set val(ifq) Queue/DropTail/PriQueue to CMUPriQueue Regards, Bryan Bryan's Dynamic Source Routing FAQ - http://www.geocities.com/b_j_hogan/ On Wed, 28 Feb 2007, sandeep v wrote: > > hi. this is my tcl script to simulate for 3 nodes using dsr routing > protocol. it s givin as segmentation fault. but the same script works for > dsdv just by changin the routing protocol in the script pasted > below...please help me at the earliest as i ve lost a lot of time tryin to > solve this. > > the terminal display when i run the tcl script is > > [EMAIL PROTECTED] ns-allinone-2.30]# ns simple-dsr.tcl > num_nodes is set 3 > INITIALIZE THE LIST xListHead > SORTING LISTS ...DONE! > channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ > highestAntennaZ_ = 1.5, distCST_ = 550.0 > Segmentation fault > [EMAIL PROTECTED] ns-allinone-2.30]# > > this is the tcl script > > # 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) DSR ;# 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-dsr.tr w] > set windowVsTime2 [open win.tr w] > set namtrace [open simwrls.nam w] > > $ns trace-all $tracefd > $ns use-newtrace > $ns namtrace-all-wireless $namtrace $val(x) $val(y) > > # set up topography object > set topo [new Topography] > > $topo load_flatgrid $val(x) $val(y) > > create-god $val(nn) > set chan_1_ [new $val(chan)] > # > # Create nn mobilenodes [$val(nn)] and attach them to the channel. > # > > # configure the nodes >$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 ON\ > -channel $chan_1_ > >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" > > # Printing the window size > proc plotWindow {tcpSource file} { > global ns > set time 0.01 > set now [$ns now] > set cwnd [$tcpSource set cwnd_] > puts $file "$now $cwnd" > $ns at [expr $now+$time] "plotWindow $tcpSource $file" } > $ns at 10.1 "plotWindow $tcp $windowVsTime2" > > # 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" > proc stop {} { >global ns tracefd namtrace >$ns flush-trace >close $tracefd >close $namtrace > } > > $ns run >
Re: [ns] help me regarding the make file plzzzzzz
Hello Tamer, I think there are two ns-2 groups, the releases earlier thank 2.30 and later thank and including 2.30. The first group requires older c++ compiler and you should only install them in a linux fedora version earlier than core 5. This applies to your 2.29, which should be installed either in core 4 or earlier. The latter should be installed int a core 5 or later release of Fedora. Hope this helps, Kamil https://crg.ee.uct.ac.za/~kamil On Sun, 2007-12-02 at 20:33 -0500, Tamer Ahmed wrote: > Dea NS-Users, > > I have installed the ns-2.29 on machine under Linux Fedora and tried also > with the ns-2.31. > > Actually, after I have unzipped the tar file and wrote the > ./installcommand, it gave me the following: > > make: Warning: File `Makefile.in' has modification time 1.3e+08 s in the > future > Makefile.in is newer than Makefile. > You need to re-run configure. > false > make: *** [Makefile] Error 1 > Ns make failed! > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > I did the ./configure command again and typed the make, but gave me the > following again: > > config.status: creating indep-utils/webtrace-conv/nlanr/Makefile > config.status: creating indep-utils/webtrace-conv/epa/Makefile > config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile > config.status: creating autoconf.h > config.status: autoconf.h is unchanged > [EMAIL PROTECTED] ns-2.31]$ make > make: Warning: File `Makefile.in' has modification time 1.3e+08 s in the > future > Makefile.in is newer than Makefile. > You need to re-run configure. > false > make: *** [Makefile] Error 1 > [EMAIL PROTECTED] ns-2.31]$ > > So, Could any body help me regarding that please?? It is urgent > please. > > Thanks in advance > > Thamer Al-Jahamneh
[ns] Help Me ns Users , Developer , Expert , Fans , Anyone ..
hi all i have made a wireless scenario regarding wimax handover and its has one problem . am using ns-2.29 and the nist mobility model ... the problem is i need to generate file content the position and movement pattern for a number of mobile node using ./setdest , but when i try to run the tcl script i got this error .. and when i remove it the tcl file work but all the mobile node in the same place and there is no movement .. so can anyone tell me how to configure the tcl script so it can read the movement scenario pattern that i have generated using ./setdest zmezm@hz ~/ns-allinone-2.29/ns-2.29/tcl/mobility/scene $ ns 100nzwimax.tcl NOAH scen-100 num_nodes is set 102 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 INITIALIZE THE LIST xListHead Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06 Fs upda
[ns] help me on upstream label assignment on mpls
hello I' doing upstream label assignment in mpls multicast network and when i use enable-data-driven instead of enable-control-driven then i got following output. In the following output, the incoming label has incomplete values. If anyone has idea about upstream label assignment, then can you please suggest me? FEC PHB LIBptr AltanativePath 2 -1 0 -1 4 -1 1 -1 7 -1 2 -1 ___LIB dump___ [node: 1] - # iIface iLabel oIface oLabel LIBptr 0: -1 -1 2 0 -1 1: -1 -1 4 0 -1 2: -1 -1 4 999 -1 --) ___ERB dump___ [node: 1] (-- - FEC LSPid LIBptr --) ___PFT dump___ [node: 2] (-- - FEC PHB LIBptr AltanativePath 1 -1 0 -1 3 -1 1 -1 ___LIB dump___ [node: 2] - # iIface iLabel oIface oLabel LIBptr 0: -1 -1 1 0 -1 1: -1 -1 3 0 -1 --) ___ERB dump___ [node: 2] (-- - FEC LSPid LIBptr --) ___PFT dump___ [node: 3] (-- - FEC PHB LIBptr AltanativePath 2 -1 0 -1 4 -1 1 -1 6 -1 2 -1 7 -1 3 -1 ___LIB dump___ [node: 3] - # iIface iLabel oIface oLabel LIBptr 0: -1 -1 2 0 -1 1: -1 -1 4 0 -1 2: -1 -1 6 0 -1 3: 4 999 6 0 -1 --) ___ERB dump___ [node: 3] (-- - FEC LSPid LIBptr --) ___PFT dump___ [node: 4] (-- - FEC PHB LIBptr AltanativePath 1 -1 0 -1 3 -1 1 -1 5 -1 2 -1 7 -1 3 -1 ___LIB dump___ [node: 4] - # iIface iLabel oIface oLabel LIBptr 0: -1 -1 1 0 -1 1: -1 -1 3 0 -1 2: -1 -1 5 0 -1 3: 1 999 3 999 -1 --) ___ERB dump___ [node: 4] (-- - FEC LSPid LIBptr --) ___PFT dump___ [node: 5] (-- - FEC PHB LIBptr AltanativePath 4 -1 0 -1 6 -1 1 -1 ___LIB dump___ [node: 5] - # iIface iLabel oIface oLabel LIBptr 0: -1 -1 4 0 -1 1: -1 -1 6 0 -1 --) ___ERB dump___ [node: 5] (-- - FEC LSPid LIBptr --) ___PFT dump___ [node: 6] (-- - FEC PHB LIBptr AltanativePath 3 -1 0 -1 5 -1 1 -1 ___LIB dump___ [node: 6] - # iIface iLabel oIface oLabel LIBptr 0: -1 -1 3 0 -1 1: -1 -1 5 0 -1 --) ___ERB dump___ [node: 6] (-- - FEC LSPid LIBptr
[ns] Help me!Problem when running LEACH with ns-2.27
Please help me ! When I run the LEACH with ns-2.27,it show an error like that : ns: _o2042 send_now 0x 0x 0 84 2 139.0 0: invalid command name "//puts" while executing "//puts "Warning dst_ is no longer being supported in NS. $args"" (procedure "_o2039" line 3) (Agent set line 3) invoked from within "[$self agent] set dst_ $mac_dst" (procedure "_o2042" line 3) (Application/LEACH send_now line 3) invoked from within "_o2042 send_now 0x 0x 0 84 2 139.0 0" I do'nt know how to correct them.Anyone help me please ? Thanks a lot ! - Don't get soaked. Take a quick peek at the forecast with theYahoo! Search weather shortcut.
[ns] Help me to run simple-wireless.tcl in NS 2.28
Hello all, I want to run simple-wireless.tcl in ns 2.28. When I am trying $ns simple-wireless.tcl, it shows me: num_nodes is set 2 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Starting Simulation... channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 SORTING LISTS ...DONE! NS EXITING... So, what this mean? Is it error or anything else? Please help me early. Bye. Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php
[ns] Help me in finding throughput and delay for wired environment
Hai i've created a very simple MPLS network in NS2 in TCL coding now i need to calculate the delay and throughput for that program. I've one delay.c program as i executed that i get the answer as average end-end delay is : nan. or nan 0 Kindly help me to execute it and find the delay and throughput. Thank you. - Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
Re: [ns] Help me!Problem when running LEACH with ns-2.27
apparently it looks like '//' is wrongly placed. It should be '#' instead of '//' to comment out the line - Original Message - From: "Nguyen Vo Minh Chau" <[EMAIL PROTECTED]> To: "NS USER" Sent: Tuesday, March 27, 2007 4:39 AM Subject: [ns] Help me!Problem when running LEACH with ns-2.27 > > Please help me ! > When I run the LEACH with ns-2.27,it show an error like that : > ns: _o2042 send_now 0x 0x 0 84 2 139.0 0: invalid command > name > "//puts" >while executing > "//puts "Warning dst_ is no longer being supported in NS. $args"" >(procedure "_o2039" line 3) >(Agent set line 3) >invoked from within > "[$self agent] set dst_ $mac_dst" >(procedure "_o2042" line 3) >(Application/LEACH send_now line 3) >invoked from within > "_o2042 send_now 0x 0x 0 84 2 139.0 0" > > I do'nt know how to correct them.Anyone help me please ? > Thanks a lot ! > > > > > - > Don't get soaked. Take a quick peek at the forecast > with theYahoo! Search weather shortcut.
[ns] Help me to develop AODV, SAODV implementation/simulation in NS2
Dear friends, I like to develop AODV and SAODV implementation or simulation using NS2. If anybody having any code in NS2 about AODV or SAODV then please reply me. Or if you have any information about same then also reply me. Bye. Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
Re: [ns] Help me to run simple-wireless.tcl in NS 2.28
This is not an error, Your simulation finished OK. simple-wireless simply uses an old way of setting up the channel. AS SAID, look at the way it is done in wireless-mitf.tcl Claus SuNiL SoNi wrote: > Hello all, > I want to run simple-wireless.tcl in ns 2.28. > > When I am trying $ns simple-wireless.tcl, it shows me: > > num_nodes is set 2 > warning: Please use -channel as shown in > tcl/ex/wireless-mitf.tcl > INITIALIZE THE LIST xListHead > Starting Simulation... > channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ > highestAntennaZ_ = 1.5, distCST_ = 550.0 > SORTING LISTS ...DONE! > NS EXITING... > > So, what this mean? Is it error or anything else? > > Please help me early. > Bye. > > > Save all your chat conversations. Find them online at > http://in.messenger.yahoo.com/webmessengerpromo.php > -- Claus Christmann Graduate Research Assistant Georgia Institute of Technology 270 Ferst Drive Atlanta, GA 30332-0150 http://uav.ae.gatech.edu
[ns] help me out in installing ns-2.28 in ns-2.30
Hi, I have installed ns-allinone-2.30 on Fedora core 8.0.But I am in need of ns-allinone-2.28 version to run. I don't know whether the version ns-allinone-2.28 can be installed in the current ns-2.30 folder itself or not. If any one know do help me out in resolving this. Thanks & Regards, Malar -- View this message in context: http://www.nabble.com/help-me-out-in-installing-ns-2.28-in-ns-2.30-tp15015233p15015233.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] help me to implementation hybrid RED algorithm in ns 2
hai guysmy name gedecan you help me to understant and implementing hybrid RED algorithm for congestion control in TCP?? thanksthats the paper.
[ns] help me...ns2 hyacinth centr channel assignment error from mahendran
I am mahendran.When i run hyacinth centralized channel assignment algorithm given in software downloads of website http://www.ecsl.cs.sunysb.edu/multichannel/ when i run ns multich-tag.tcl i get the following error ns multich-tag.tcl um_nodes is set 25 (_o1015 cmd line 1) invoked from within _o1015 cmd addr" invoked from within catch "$self cmd $args" ret" invoked from within if [catch "$self cmd $args" ret] { et cls [$self info class] lobal errorInfo et savedInfo $errorInfo rror "error when calling class $cls: $args" $. (procedure "_o1015" line 2) (SplitObject unknown line 2) invoked from within _o1015 addr" ("eval" body line 1) invoked from within eval $node addr $args" ("default" arm line 2) invoked from within switch -exact $routingAgent_ { SDV { et ragent [$self create-dsdv-agent $node] SR { self at 0.0 "$node start-dsr" ODV { et 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" invoked from within set node_(0) [$ns_ node]" (file "channel-route.tcl" line 6) invoked from within source.orig channel-route.tcl" ("uplevel" body line 1) invoked from within uplevel source.orig [list $fileName]" invoked from within if [$instance_ is_http_url $fileName] { et buffer [$instance_ read_url $fileName] plevel eval $buffer else { plevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within source channel-route.tcl" (file "multich-tag.tcl" line 124) can anybody help me in rectifying this error. Thanking you Waiting for ur reply Yours sincerely C.Mahendran Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
[ns] help me to solve the mentioned error in NS 2.29
*Hi Dear ALL,'* ** *Can anyone help me to solve the below error.* ** *I have install NS 2.29 on Ubuntu and Also on Windows through Cygwin.* ** *ita85[/home/salam/229/ns-allinone-2.29/ns-2.29]# ./ns scen229/project.tcl *num_nodes is set 100 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Loading connection pattern... couldn't read file "cbr-nodes-test": no such file or directory while executing "source.orig cbr-nodes-test" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source $val(cp)" (file "scen229/project.tcl" line 70) Regards,
[ns] What distribution function suitable for distribute sensor in NS(help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
hi all what random function suitable for distribute sensor for example i want that 30 senor(node) distribute in 50*50 area Uniform random is suitable ? normal is suitable ? or ...? please help me -- Amin Irandoost
Re: [ns] Help me to develop AODV, SAODV implementation/simulation in NS2
Hi Sunil, AODV comes with ns2. You can enable it via your tcl script. If you Google "ns2 aodv" you should get a lot of hits. http://mailman.isi.edu/pipermail/ns-users/2005-July/051230.html might be a start. Claus SuNiL SoNi wrote: > Dear friends, > > I like to develop AODV and SAODV implementation or > simulation using NS2. > > If anybody having any code in NS2 about AODV or SAODV > then please reply me. > > Or if you have any information about same then also > reply me. > > Bye. > > > Unlimited freedom, unlimited storage. Get it now, on > http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ > -- Claus Christmann Graduate Research Assistant Georgia Institute of Technology 270 Ferst Drive Atlanta, GA 30332-0150
[ns] help me to make modification to ns-2.27 files (.cc & .h)
hi to all I tried to run the instruaction "make depend; make" from your web site to make recompile to pi.cc &pi.h(because i modified these files) and i attached the message with this email that i get after running but my problem till now not solved . please help me to solve my problem (make modified) note : please if i need to add new files .cc & .h with new name to ns2 please can you provide me the steps or instructions to do that. thank you ali m
[ns] help me for 802.15.3c mac layer, how to implement directional antenna based protocols
hey hi all...
i m trying to implement a 60 ghz network with directional antyenna and completely changed mac layer structure.can someone provide me some help
--
Abhishek Kr. Agrawal
MTech student
Information System Engg.
Deptt. of Electrical Engg.
IIT Kanpur
Kanpur -- Abhishek Kr. Agrawal MTech student Information System Engg. Deptt. of Electrical Engg. IIT Kanpur Kanpur
[ns] help me to find out packet delivery ratio from trace file of wired-cum-wireless.tcl
hi i m doing gateway discovery method using a sample file of wired-cum-wireless scenareo.but i m unable to find out number of receiving packets from the trace file.plz any body help me to find out total number of received packets in wired nodes.my id: [EMAIL PROTECTED] thanking u . subhra prakash saha
[ns] Help me the files for Dynamic Virtual BackBone Routing Protocl(A hybrid protocol for Adhoc Networks) NS2 code
Hi friends, Please help to get the NS2 code for Dynamic Virtual BackBone Routing Protocl(A hybrid protocol for Adhoc Networks) .The author name is Melvin John ,THE UNIVERISTY IF ADELAIDE,Australia. I didn't get his email id. Please if you have this NS2 code forward it to me. Thank you very much, Thank you, Regards, Tarakapraveen Uppalapati Goud __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/
[ns] Help me to write awk scripts fromTrace File (new format) to find Route Acquisition Time, Average End-to-end delay and Protocol Load
Hi, I have wireless program for three nodes and I am able to generate trace file successfully. Trace file is having new revised format like following. s -t 0.898988 -Hs 0 -Hd -1 -Ni 0 -Nx 5.00 -Ny 2.00 -Nz 0.00 -Ne -1.000 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.255 -Id -1.255 -It message -Il 32 -If 0 -Ii 0 -Iv 32 s -t 1.552488 -Hs 1 -Hd -1 -Ni 1 -Nx 390.00 -Ny 386.00 -Nz 0.00 -Ne -1.000 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 1.255 -Id -1.255 -It tcp -Il 1000 -If 0 -Ii 0 -Iv 32 Now, According to different criteria mentioned in subject line, I want to generate files which can generate Xgraph for above criteria. I need awk scripts to select specific required data from main trace file. So if anybody is having that scripts please help me out. Thanks. Now you can chat without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php