[ns] trace file

2011-09-08 Thread jeni martin
Dear all, I wanted to count control packets in the trace file by using awk file, but I don't know which packets are control packet as the most type of packets are cbr from routing layer (RTR).can anyone tell me which kinds of packet are control packet in trace file? Regards,

[ns] counting control packet in trace file

2011-09-08 Thread jeni martin
Dear all, I wanted to count control packets in the trace file by using awk file, but I don't know which packets are control packet as the most type of packets are cbr from routing layer (RTR).can anyone tell me which kinds of packet are control packet in trace file? Regards,

[ns] question regarding AODV

2011-08-19 Thread jeni martin
Hi, I wanted to design a protocol which is based on AODV. although my question is not related to NS. maybe someone can help me.I noticed that AODV uses the combination of broadcast ID and source address to drop repeated request packets.  although the request packet has another field in its

[ns] counting congestion in a node

2010-09-30 Thread jeni martin
Hi   How can i count the number of congestion happened in a node?    

[ns] generating a scenario with cbrgen.tcl

2010-06-16 Thread jeni martin
hi every one,   i want to know how i can generate a scenario which source sends bursty data? i know if i want to have data with constant bit rate, i must write -type cbr in the command, bur for bursty data, what should i write?   thanks in advance

[ns] movement scenario

2010-06-09 Thread jeni martin
hi all,   i want to have some movement in my scenario, but dont know how to write it, my Ns, is n2-2.1b8. if any one has a sample, please send it to me.   thanks a lot

[ns] received threshold

2009-12-13 Thread jeni martin
hi every one,   i have a question about RXThresh_   i know to change the RXThresh_, i should set it in tcl script, but i want to change this set value during simulation, so i try these two steps:   1- in tcl script, i set the value like this: Phy/WirelessPhy set RXThresh_ 3.652e-10   2- in

[ns] change transmission power

2009-12-12 Thread jeni martin
hi all,   i want to change my transmission range, one time i run my scenario with:   Phy/WirelessPhy set Pt_ 0.2818  //250 meter   another time, with   Phy/WirelessPhy set Pt_ 8.5872e-4   //40 meter     but no change in results.   that the other values are fixed: Phy/WirelessPhy set

[ns] sendDown function

2009-12-06 Thread jeni martin
hi all,   could any one tell me what does excatly this peice of code in wireless-phy.cc in SendDown function do? doese it send packet with specified Pt_? can i change Pt_ in this function, to control the transmission power during simulation?     /*    *  Stamp the packet with the interface

[ns] how to change transmission power

2009-12-06 Thread jeni martin
hi guys   To change transmission power i did as following but no change:   1- add a field in hdr_cmn like double txpwr to save desired transmission power for every packet.   2- add this code in sendDown function in wireless-phy.cc to transmit packet as desired Pt_:       Pt_ =

[ns] problem in compiling the changed-Code

2009-12-05 Thread jeni martin
; double ts_arr_; // Required by Marker of JOBS   //Monarch extn begins nsaddr_t prev_hop_;     // IP addr of forwarding hop nsaddr_t next_hop_; // next hop for this packet int      addr_type_;    // type of next_hop_ addr nsaddr_t last_hop_;     // for tracing on multi-user channels  // jeni martin

[ns] transmission power for 500 meter

2009-12-04 Thread jeni martin
hi all,     which value i must get Pt_ to have transmission rate equal to 500 meter? i read somewhere if Pt_ = 0.2818, then the transmission range will be 250 meter.   thanks in advance.

[ns] running ns+set enviroment variable

2009-12-02 Thread jeni martin
hi all,   i have some question, (sorry for silly questions, i'm new with ns): 1-why we need to set enviroment variables to execute ns?   2- for simulating, most of the time we run the following command:   ns examle.tcl   but in another protocol that the tcl file is, admr.tcl    ,   it's command

[ns] power control

2009-11-28 Thread jeni martin
hi,   i have question, anyone knows how to do power control in ns2, what's the procedures,?   thanks

[ns] control topology

2009-11-27 Thread jeni martin
hi   i need some code for control topology that have power control or transmission range control mechanism, can anyone send me?

[ns] change transmission range

2009-11-25 Thread jeni martin
hi all,   i had a question, can we change the transmission range during simulation? i don't mean in .tcl file, i mean in .cc file, i want a node in a condition, increase it's range, like :   if(fwd_state) {   increase the transmission range;   }   how can do it in code??

[ns] changing range

2009-11-23 Thread jeni martin
hi all, i want to change a protocol which when it receives a spesific packet, it increases it's range, and sends data with increased range, and after a while reduce it's range, how can i write code to change the range?   regards

[ns] changing Range in NS

2009-11-23 Thread jeni martin
Hi all, I am writing code in NS which all node are set to have 250 m.In some conditions it is needed to change nodes' range from 250 to 500 m when a node receives a specific packet. I wonder if anybody knows how I can change the range ? cheers

[ns] installing problem

2009-10-30 Thread jeni martin
when i want to install ns-2.1b8-mcast, i typed ./configure every thing seems to be ok! and it gives me : creating makefile creating autoconf.h and something else the problem is when i type make or make all, it gives me: for i in indep-utils/cmu-scen-gen/setdest indeputils/webtrace-conv/dec

[ns] installing Ns

2009-10-29 Thread jeni martin
hi all, i tried to install ns on redhat 7.2, it's ok with tcl8.3.2 but when i try to install tk8.3.2, it gives me along list of warnings and errors, end with: /root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:1398: 'objptr' undeclared (first use in this function)

[ns] running a protocol in NS

2009-10-25 Thread jeni martin
hi  I am a new user for NS,strived hardly so that I could just fix NS(ns-2.1b8-mcast) to run and now get stuck in running ADMR.I dont know how I should apply it in NS and which steps I gotta do to run. i just test these 3 commands from http://www.monarch.cs.rice.edu/ftp/multicast/README  

[ns] ns installing problem

2009-10-24 Thread jeni martin
hi all, i want to install ns-2.1b8-mcast on slackware 10. the install file is in the allinone folder, so i need to go to allinone folder for running command ./install. after istalling, it gives me a message to set path, you must put /root/Desktop/tcl.tk8.3.2/ns-2.1b8/allinone/tcl 8.3.2/library

[ns] add ADMR in NS

2009-10-24 Thread jeni martin
hi mates,I m wondering if anybody knows how I could add ADMR into NS(allinone Version),thanks in advance

[ns] tcl_library environment variable after installing NS-2.1b8

2009-10-23 Thread jeni martin
hi all, it's my first time that install Ns-2.1b8, on slackware 10. after istalling it, i got two messages:   one of them was ( i couldn't saw the first message, because i couln't define my mouse in slackware10)   you must put /root/Desktop/tcl.tk8.3.2/ns-2.1b8/allinone/tcl 8.3.2/library in to

[ns] NS- Installation

2009-10-22 Thread jeni martin
hi guys,the ns I've got it is not NS-allinOne;and I have to use tcl 8.3.2 Otcl 8.3.2. anybody get results throughly,could tell me where should I put tcl otcl,and what is the installation process? tnx

[ns] Error : ./install: line179 : cd: ./tcl8.3.2/unix: nosuch file or directory

2009-10-21 Thread jeni martin
 hi guys,I installed slackware 10 and keep trying runnig NS,but I faced the following error: ./install: line179 : cd: ./tcl8.3.2/unix: nosuch file or directory,/install: line 186: ./configure : no such file or directory tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns

[ns] which Distribution?????? for NS-2.1b8

2009-10-21 Thread jeni martin
hi guys,anybody could tell me which version and Distribution of Linux shall I install so that I can compile install NS?I tried two distribution,but still there are errors, thanks

[ns] run ADMR please

2009-10-04 Thread jeni martin
hi all,   can anyone check the ADMR code for me and tell me that it has bugs or not? i took this code from : http://www.monarch.cs.rice.edu/multicast_extensions.html   it contains the tcl file too.

[ns] how to get ADMR source code in NS?

2009-09-28 Thread jeni martin
hi all,   i need the source code of ADMR in ns that it doesn't have bug, could any one send me or give me an address to take it? i really need this for my simulation comparison, best regards