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,
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,
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 h
Hi
How can i count the number of congestion happened in a node?
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
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
--- On Thu, 4/22/10, jeni martin wrote:
hi all,
i want to add an energy model to my scenario, could anyone tell me how to add
it?
is it enough to add these???
set opt(energymodel) EnergyModel ;
set opt(initialenergy) 1000
but it dosen't work f
hi all,
i want to generate a movemement scenario for my simulation, so i install NS,
and after that, go to the directory ~ns/indep-utils/cmu-scen-gen/setdest and
run "make".
after running this, it gives me "make: nothing to be done for 'all'. "
i try to generate an example by writing the
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 wirele
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 CPThr
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_ = h
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 a
char
src_rt_valid; 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
chan
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.
hi all,
i try to install ns-2.1b8-mcast , but when i write make command after
./configure, i encounter this error:
config.status : autoconfig.h is unchanged
make : ***Warning : File 'Makefile.in' has modification time in the
future (2004-01-13:01:59 > 2003-07-12 18:48:28.037888)
Makefile.in is
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 to
hi,
i have question, anyone knows how to do power control in ns2, what's the
procedures,?
thanks
hi
i need some code for control topology that have power control or transmission
range control mechanism, can anyone send me?
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??
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
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
hi all,
how can i understand the format of out.tr?
the trace.cc of protocol that i use, is revised,
an example of one line of it, is:
r 2.684885398 _10_ ADM --- 1 ADMR 29 M [2000 0 2C 800]
[11:255 -1:255 254 0] 44->-1 (-1) Ms [-32769- <0> #1]
hi everyone,
i installed ns-2.1b8-mcast on RedHat7, it seems that i installed correctly (i
run one of the ns examples)
then i try to run ADMR protocol, i try the command from README
(http://www.monarch.cs.rice.edu/ftp/multicast/README)
./ns scripts/run.tcl -x 1200 -y 800 -nn 100 -stop 900 -t
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
indep
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)
/root/.gnome-desktop/ns/tk
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
./n
hi mates,I m wondering if anybody knows how I could add ADMR into NS(allinone
Version),thanks in advance
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
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 y
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
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
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 proje
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.
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
34 matches
Mail list logo