Claus,
Great effort!
Please, we need more volunteers for this effort, especially the users which
are just starting NS2 (as documenting NS2 is an excellent way to learn it!)
Regarding the agent creating, please check this info:
Gnuplot is very powerfull, but has a complex interface.
That's why I've made a gnuplot frontend:
http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652227
that's my recommendation!
--
Xgraph is more basic, but with a simpler interface.
Pedro Vale Estrela
http://tagus.inesc
Good question.
I've not used this patch, so I can't offer much help
(also, while I've put mashinspector to work, I've not entered its details
too much also).
Pedro Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Claus Christmann
Sent:
a) I've put a patch very recently on this list to enable packet coloring in
wireless scnenarios.
b) for nam to show drops, they must be logged in the .nam file. Try to
change the amount of L2 and L3 logging that is being performed.
Pedro Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/
Pedro
Your comments are much appreciated but unfortunately have left me, as
a newcomer to NS2 (as well as C++ and Tcl), as unclear as I was. If
I see. But please be aware that NS2 requires a lot of effort to be able to
do anything. In my case, I've even spend a lot of weeks for even
-1b5).
This package also features NOAH for v2.31, and a common test framework for
all protocols in multiple scenarios.
Any comments and fixes regarding this software, or the associated eTIMIP
research work, are very welcome!!
Best Regards
Pedro Vale Estrela
---
Download link:
http
You need to schedule a tcl proc which:
a) does ping send
b) reschedule itself for 1 second later
this is a simple 4 line TCL proc!
you can also do this in c++ only by using a timer object, for the same
purpose. This will require recompilation and c++ debugging.
Pedro Estrela
I've just posted the solution to the dev list also.
Apply these 2 patches, and set the packet color for wireless exactly as you
do in wired links.
http://tagus.inesc-id.pt/~pestrela/ns2/files/namtrace_precision_time.patch
Hi
Can you please explain in a single email which topics are you asking for
help, instead of sending countless seperated messages??
Pedro Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Brenda Lindsay Williams
Sent: terça-feira, 18 de
Its almost impossible to do it at the same time. Read all my debugging tips
then feel free to ask questions.
Also, use DDD!
http://tagus.inesc-id.pt/~pestrela/ns2/
Pedro Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Elahe Alipour
http://www.google.pt/search?source=ighl=pt-PTq=bash%3A+ns+command+not+foun
dmeta=
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of sparsh attre
Sent: segunda-feira, 10 de Setembro de 2007 13:25
To: ns-users@ISI.EDU
Subject: [ns] installation
Yes, looked at this issue, and the only way to do it in run-time is to use
emulation!
If the movement customization did not require run-time, it would be a simple
problem - the first program would just generate a movement file according to
some parameters.
Pedro Estrela
I have a proc in my page that does this in a very easy way!
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html
Pedro vale estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sérgio Alexandre
Sent: quinta-feira, 7 de Junho de 2007 11:16
Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of landrew
Sent: segunda-feira, 21 de Maio de 2007 2:45
To: ns-users
Subject: [ns] tcl-debugger cannot use command 'w' to watch call stack
hi,everybody
i'am using ns2.31,and i
My upgraded version of FMIP for ns2.31 includes the NOAH agent as well.
http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html#_Toc147660119
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Akhilesh Kumar
Sent: segunda-feira, 9 de Abril de 2007 4:42
Since people constantly fail to report in a useful manner, I've written a
little howto post the user's mailing-list entry in the ns-wiki.
good work. Added links to my otcl and c++ debugging, and How To Ask
Questions The Smart Way
$ns at 0.2 global k; set k 4
$ns at 0.3 glonal k; puts \k=$k\
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Amin Irandoost
Sent: quinta-feira, 22 de Março de 2007 15:18
To: ns-users@ISI.EDU
Subject: [ns] problem with Scheduler(please see
Im not sure, but I think this error can be corrected by applying this patch
that Ive described here:
http://mailman.isi.edu/pipermail/ns-users/2004-September/044531.html
(also see my nest post about FHMIP for ns2.31)
Pedro Vale Estrela
-Original Message-
From: shayma
Have you asked of for the BCMP NS2 code to the authors of this paper?
http://comet.columbia.edu/~zoltan/ist_brain.pdf
one of them is from the same university as you...
Pedro Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Kok-Seng A. Hew
ns2.31 cat ns2.31_fhmip.patch | patch -p1
ns2.31 ./configure --enable-debug
ns2.31 make
ns2.31/tcl/ex/fhmip ../../../ns fhmip_simula.tcl
__again, Please note that I did not test this extension any further__
Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html#_Toc147660119
check:
http://www.isi.edu/nsnam/ns/tutorial/nsnew.html#first
in this part: The int 'off_ping_' will be used to access a packet's ping
header.
Pedro Vale Estrela
-Original Message-
From: Ioakeim Samaras [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 21 de Março de 2007 11:02
To: Pedro
in DDD to check what parts of the code are
actually being executed in the simulation; you'll be surprised if packets
are dropped before your code, before your red classifier is invoked.
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
I' tried to add XY coordinates for wired nodes, but nam doesn't support this
facility.
Instead, I achieve the same result by setting the length of the wired links
via their delay
Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2
-Original Message-
From: [EMAIL PROTECTED
somebody got an working FHMIP extension?
b) Is it necessary to modify simula.tcl or mip-reg.cc use another simulation
scenario, as to avoid this bug?
If yes, please send me the modified code and I'll upgrade it to ns2.31, and
give credit to the person in my NS2 mobility page.
Pedro Vale Estrela
Normally you want to do the opposite: cal otcl in c++ and get the returned
string.
For that you should use the macros in my file ns_utils.cc
http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652229
eg:
TCL_EVALF(%s some_instproc %d, name(), MH_iaddr);
assert(
I've got the same problem, and using this code does not solve the problem
for all cases (in my particular simulation)
Instead, I'm using this with great success:
In C++, at the top of ARPTable::arpresolve , insert this code that requires
#include utils_ns.h (see
Hi,
I've checked your installation manual. It looks great!
Many thanks for the effort of contributing to the ns2 community
documentation; of course that I'll mention your work in my debugging pages!
Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2
http://tagus.inesc
Have you tried this code?
http://lifc.univ-fcomte.fr/~dedu/ns2/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of zhang victor
Sent: quarta-feira, 7 de Março de 2007 3:39
To: ns-users@ISI.EDU
Subject: [ns] help for implementation of the DCCP in NS
Check my page http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html
about my address conversion functions
Pedro Vale Estrela
Type of Addresses that a node can have in NS2 (hAddr, ID, iAddr, Handle)
In NS2, a node can be uniquely identified by several forms
the handle is the otcl
) find any simple TK command that works in your wish version, and try it
in nstk. Does it work?
(I've made nstk in a linux PC, running debian distribution and NS_all_in_one
2.29)
Other users that have successfully installed nstk, please comment on this
topic!
Pedro Vale Estrela
-Original
tried one
script for testing scrollbars in nstk and worked well.
The result is at:
http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png
Thanks for your help.
On 2/7/07, Pedro Vale Estrela [EMAIL PROTECTED] wrote:
Hi
Regarding the nstk, what I've done is to clone the wish.c file from
:drop(p, DROP_RTR_MAC_CALLBACK);
aodv/aodv.cc:drop(p, DROP_RTR_MAC_CALLBACK);
aodv/aodv.cc:drop(p, DROP_RTR_MAC_CALLBACK);
aodv/aodv.cc: drop(p, DROP_RTR_MAC_CALLBACK);
aodv/aodv.cc: dr
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of feel2chat
Sent: quarta-feira, 31 de Janeiro de 2007 16:36
To: ns-users@ISI.EDU
Subject: [ns] (hier-rtg-100.tcl) doesnt run!?
Hi,
Each time I run the script hier-rtg-100.tcl (which
I'm building and maintaining a full mirror of all NS2 mobility code that I'm
aware of. If anyone has comments on this, or more recent versions, please
contact me!
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of - bagioris -
Sent
You can use my otcl debugger facilities to check the state of the internal
otcl variables after this code
http://tagus.inesc-id.pt/~pestrela/ns2
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of daft
Sent: segunda-feira, 29 de
a) Don't call ns trace-all or a similar lines
b) write the trace to /dev/null
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of babak
Sent: quinta-feira, 18 de Janeiro de 2007 10:47
To: ns-users@ISI.EDU
Subject: [ns] How to disable all the trace
Hi ramon
Thanks for this great contribution. This is exactly the kind of useful
documentation contributions that the NS2 simulator community needs.
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ramon Aguero
Sent: segunda-feira
To Joachim: Many thanks for your documentation efforts
To all other NS2 users, especially for the recent ex-beginners:
__Please contribute to the NS2 Wiki__ with your experiences and conclusions.
More info: http://mailman.isi.edu/pipermail/ns-users/2006-June/056015.html
(Comments are inline)
.
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ramzi Tka
Sent: segunda-feira, 8 de Janeiro de 2007 9:50
To: ns-users@ISI.EDU
Subject: [ns] error interpretation
Hi,
let consider the followinf error :
(procedure _o19 line 2
without errors, then you'll know
that you are on the right track.
Pedro Vale Estrela
-Original Message-
From: Ameera AL-Durazi [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 10 de Janeiro de 2007 10:19
To: [EMAIL PROTECTED]
Subject: CIMS/NS-2
Dear Sir,
I am doing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Swalaxmi Pandit
Sent: sexta-feira, 5 de Janeiro de 2007 22:05
To: ns-users@ISI.EDU
Subject: [ns] Doubt regarding running cc program and NAM
Hi,
I am trying to run a sample TCL
Ive colored and clustered the nodes myself, by hand, just for that picture
in my site.
For setting the wired nodes in NAM, the best way is to specify the wired
link latency and orientation. There are lots of examples on the /tcl/ex
directory on how to do it.
Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html#_Toc121548870
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of subramani
Sent: quinta-feira, 4 de Janeiro de 2007 18:09
To: ns list
Subject: [ns] Fwd: segmentation fault in wired cum
This guide has been used successfully many times.
Try
Make nstk
Nstk
-Original Message-
From: sandesh shenoy [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 21 de Dezembro de 2006 10:41
To: nsusers
Cc: [EMAIL PROTECTED]
Subject: [ns] debugger install
Hello,
The first free the memory and doesn't log the drop in the trace file, the
second does both (please confirm if it frees the memory)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of juan manuel gomez garcia
Sent: segunda-feira, 18 de Dezembro de 2006
traces
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Lars Lars
Sent: segunda-feira, 18 de Dezembro de 2006 21:46
To: ns-users@ISI.EDU
Subject: [ns] CBR packet size on 802.11b link
Hi,
I'm sending 1004 Byte CBR packets using
Use older version of your distribution
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Anjali Arora
Sent: quinta-feira, 14 de Dezembro de 2006 13:35
To: ns-users@ISI.EDU
Subject: [ns] ns-allinone-2.26 installation
hello everyone
i have
Sems like a bug in the makefile.
Try:
rm ns2/gen/ns_tcl.o ; make
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of sandesh shenoy
Sent: quinta-feira, 14 de Dezembro de 2006 14:09
To: ns-users@ISI.EDU
Subject: [ns] compile problem
Hello,
Use:
If( ((LL *)uptarget_)-ifq()){
//code if non-null
} else {
// code if null
}
note that a null queue é a node without a queue, NOT an empty queue!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of M. Shen
Sent: quarta-feira, 6
Count the number of sent packets at the agent or router layer
Cat trace.tr | grep ^s | grep AGT | grep source node
Use awk ' { if ($6 == ) print } ' to filter based on certain fields
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
Create your own queue object (derive from exiting queue/droptail) and
redefine the recv() function
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Daniel Dekst
Sent: quinta-feira, 30 de Novembro de 2006 3:02
To: ns-users@ISI.EDU
check
http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html
I've also asked for the code, but without success. Please email the authors
requesting the code, and if you get a response, please post it on the list.
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto
will eventually call your code
at time 0.01
then it calls some more hundreds of events, before it call your second piece
o code at time 0.02
what exactly are you trying to do?
Pedro Vale Estrela
PS: this is a fine material for the NS2 wiki - please contribute !!!
On 12/5/06, G.Chandramowli
The MIP (mobile IP) code in Ns2 has this already implemented using IP-in-IP
tunneling
Pedro Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Peyman Behbahani
Sent: quarta-feira, 15 de Novembro de 2006 11:09
To: ns-users@ISI.EDU
Subject:
traffic (lower the rate for UDP; use lower link speeds for TCP).
For handling the parameters in the command line, I suggest this
http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652228
Pedro Vale Estrela
http://www.isi.edu/nsnam/archive/ns-users/webarch/1999/msg02093.html
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_beginners.html
http://www.geocities.com/tracegraph/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of vitz399
Sent: quarta-feira, 1 de
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Matthias Budde
I am wondering which addresses are reserved in ns-2. I know
that -1 is IP_BROADCAST but what else? I use an Agent that
sends packets to daddr -2. Does anyone know what that stands
Check this
http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652227
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Loreno Oliveira
Sent: terça-feira, 17 de Outubro de 2006 14:40
To: Aco
Cc: NS-Users
Subject: Re: [ns] Xgraph
Check http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging.html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
Of Filippos Kolovos
Sent: sábado, 14 de Outubro de 2006 8:18
To: ns-users@ISI.EDU
Subject: Re: [ns] How do you Debug your
If you pass these between c++ modules by calling TCL procedures, this is
very easy (but slow)
Start by checking this page
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667331
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
Have you asked the original authors for their code?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of wajid mehmood
Sent: quinta-feira, 12 de Outubro de 2006 14:09
To: ns-users@ISI.EDU
Subject: [ns] reproducing the graphical results of EDCA model
hop way
by mobile nmodes.
need to change is ads_lifetime and other question this variable is
measurement in seconds or hops?
Ads_lifetime represents the amount of time, in seconds I believe, that the
beacon is valid. It has nothing to do with multi hops.
Pedro Vale Estrela
http://tagus.inesc
Exactly, that's the way to do it.
I might add that this function makes your life easier
http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652228
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Daniel
why that particular combination
is not working, and contribute your patches to the ns-developers mailing
list!
Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/index_.html
Check how this is done in mobiwan - these nice guys have implemented IPv6
and Mobile IPv6
http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Tubtim Sanguanwongthong
Sent: sábado
http://www.openmash.org/developers/docs/otcl-doc/doc/class.html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Guillermo Biot
Sent: segunda-feira, 9 de Outubro de 2006 11:43
To: Ns Users
Subject: [ns] what is the meaning of $self next
Hi,
:
---
for i in 1 10 100 1000; do
ns my_script.tcl -- -d $i
done
Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bilal AbuQadous
Sent: sábado, 7 de Outubro de 2006 23:05
To: ns-users
Inside my recv() function I do like this without problems:
// clone the current packet and change some fields
Packet* new_p = clone_pkt(p);
hdr_ip*new_iph = hdr_ip::access(new_p);
new_iph-daddr() = ...;
new_iph-saddr() = addr();
Re-download the .tar.gz
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of khushali shah
Sent: quarta-feira, 4 de Outubro de 2006 12:11
To: ns-users@ISI.EDU
Subject: [ns] REGEDING TO INSTALLATION OF NS-2.29 ON FEDORACORE-4
hi
i am trying to
Check Why can I not place unmatched braces in Tcl comments?
http://wiki.tcl.tk/462
And http://phaseit.net/claird/comp.lang.tcl/fmm.html
And http://mini.net/tcl/1669.html
If this helps you, contribute and put this info in the ns2 wiki
Regards
Pedro Vale etsrela
-Original Message-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: quinta-feira, 28 de Setembro de 2006 9:44
To: ns-users@ISI.EDU
Subject: [ns] A router (gateway) between two ad hoc networks
Hello,
I am trying to implement a router
Try
cat trace.tr | awk ' { print $2 $6 $8 } '
PS: Good subjects, as in this case, will get you the answers!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Aleksandar Smolovic
Sent: sexta-feira, 29 de Setembro de 2006 16:11
To: NS-Users
Setembro de 2006 16:50
To: [EMAIL PROTECTED]
Subject: Re: [ns] Filtering Columns from output trace file
Thank you.
How to make delimiter between columns in new file. It should be done
during
creation of new file?
- Original Message -
From: Pedro Vale Estrela [EMAIL PROTECTED
Ahh, the ever challenging TCL syntax...
a) Check Frequently Made Mistakes in Tcl
http://phaseit.net/claird/comp.lang.tcl/fmm.html
b) try like this:
proc record {} {
puts stderr recording
global sink f0 ;# changed line
set ns [Simulator instance]
set
.
Instead, Try this:
#$ns link-lossmodel $em $n(0) $n(1)
$ns link-lossmodel $em $n(1) $n(2)
#$ns link-lossmodel $em $n(2) $n(3)
pedro vale estrela
http://tagus.inesc-id.pt/~pestrela/ns2/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Abdul Jabbar
change for something
like sink$i I have errors on attach-agent command.
This example below don't works for me...
Any clue?
On 9/29/06, Pedro Vale Estrela [EMAIL PROTECTED] wrote:
Ahh, the ever challenging TCL syntax...
a) Check Frequently Made Mistakes in Tcl
http://phaseit.net/claird
Until I take the time to re-test the installation procedure of my own
debugger utilities in lastest ns2.29,
here are some detailed tips by paul craven (thanks to him):
-Original Message-
From: paul [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 23 de Maio de 2006 20:03
To: [EMAIL
a) in tcl/lib/ns-delfault.tcl, add
Session/RTP::debug_ set 0
then recompile ns2
then, in your script, use
Session/RTP::debug_ set 1 ;# can also be ON
to enable debugging
b) you need to upgrade your script in the part that you define the UDP port
in use of the agents
Use
set link12 [$ns simplex-link $n1 $n2 512Kb 0ms DropTail]
(it has a missing space char nect to [)
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of fafou
Sent: terça-feira, 5 de Setembro de 2006 16:24
To: ns-users@ISI.EDU
a) It hasn't the function names for the NS proc (as it has for tcl procs)
Is ns2 stuff compiled for debugging? (-g gcc option)?
b) use DDD and valgrind
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging.html#_Toc122255042
Pedro Estrela
-Original Message-
From: [EMAIL PROTECTED]
: Re: [ns] Problem with the queue command
Thank you for repliying but the space char before [ is only missing in the
mail I wrote and not in the source file.
So, the problem persists.
Thanks
Pedro Vale Estrela wrote:
Use
set link12 [$ns simplex-link $n1 $n2 512Kb 0ms
the debugger.
If you don't already know, I have a modification to enable debugging inside
the TKCon console
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging2.html
I'm forwarding this patch to the ns-developers list
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto
only after you are sure what is that reset-state code about!
Pedro Vale Estrela
Alex Triffitt wrote:
I am wanting to put a node into a idle/sleeping state where it will not
listen for transmitted packets and to all intense and purposes is not
participating in the MANET i've created
use
$udapp set rate_ 1Mb
pedro Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sandeep
Sent: quarta-feira, 30 de Agosto de 2006 7:47
To: ns-users@ISI.EDU
Subject: [ns] why does the code below doesn't work as expected
Hi
In
with the solution
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Albalas F (AT)
Sent: terça-feira, 29 de Agosto de 2006 22:48
To: ns-users@ISI.EDU
Subject: [ns] change the CBR bit rate
Hi all,
How can I change
://mailman.isi.edu/pipermail/ns-developers/2006-August/002377.html
Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging2.html)
When you find the bug, please make a patch and report in the ns-developers
mailing list
Regards
Pedro Vale Estrela
Hello,
The Link Failure code from Marc Greis' Tutorial works fine for me.
However, when I use almost the exact same
Check this code that I'm using to set the power based on the circular
distance in meters:
Usage:
set coverage [CellCoverage 1 1 $MAX_X $MAX_Y $OVERLAP]
set power [SetPt $coverage]
Phy/WirelessPhy set Pt_ $power
$ns node-config -rxPower $power -txPower $power
.
...
In my ns2_shared_procs.tcl utils tcl file, I introduce procs for all
possible conversions of each form, using the procs handle2iaddr,
handle2haddr, handle2id, etc.
http://tagus.inesc-id.pt/~pestrela/ns2/files/ns2_shared_procs.tcl
Feel free to ask further questions if necessary
Pedro Vale Estrela
, _o158, etc
(http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging2.html)
If this helps you, please contribute the description of the problem and the
solution, in your own words, to the NS2 wiki.
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
http://mailman.isi.edu/pipermail/ns-users/2006-January/053450.html
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667331
http://www.cse.msu.edu/~wangbo1/ns2/nshowto5.html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Xiaolin Cheng
/06 2:07 PM, Pedro Vale Estrela [EMAIL PROTECTED] wrote:
The problem is that the packets that you are sending to A3 have an
incorrect
port address.
When you use
$ns connect $a1 $a2
then automatically all normal control packets sent by a1 have the
destination port of a2;
as a1
This seems to be a Makefile problem that manifests itself in windows
(and which in linux would compile fine)
I such is the case, i suggest you make your working NS2 tree in c:\ns2,
instead of something like
C:\documentes and settigs\user\my documents\etc etc etc\ns2
-Original
This looks to be equivalent to a segmentation fault
Run NS2 inside a debugger like DDD to debug it
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Brad Montgomery
Sent: quarta-feira, 21 de Junho de 2006 23:46
To: ns-users@ISI.EDU
Subject: [ns]
985
...
DSDV_Agent::forwardPacket (Packet * p)
...
target_-recv(p, (Handler *)0); //line 168
...
Particular thanks to Pedro Vale Estrela, who's help was invaluable.
Paul Vincent Craven
Search for the /mobility/scene direcotories in your NS2 tree, and put the
example alosnside it, eg:
Snenario files in /ns2/tcl/ex/mobility/scene
Put the script in /ns2/tcl/ex/mydir/
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
But this doesn't work. Uptarget_ gives me an NsObject instead of a LL
object...
try casting it to an c++ LL object. Mind that this will only be a quick fix
to see if it works - its terrible programming !
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto
it to the NS2 wiki pages!
Pedro Vale Estrela
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Tyler Ross
Sent: quinta-feira, 8 de Junho de 2006 16:43
To: Eduardo J. Ortega
Cc: ns-users@ISI.EDU
Subject: Re: [ns] two equal UDP CBR flows in droptail
How need to take the time to learn a real debugger like DDD. Make a small
test program yourself in C, 10 lines are sufficient, then debug in inside
DDD to learn the debugerr
http://heather.cs.ucdavis.edu/~matloff/ddd.html
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging.html#_Toc122255042
contribute, someday we'll be able to have
something similar to this wiki, for example:
http://developer.valvesoftware.com/wiki/Category:Programming
http://developer.valvesoftware.com/wiki/Compiling_under_Linux
Comments?
Pedro Vale Estrela
-Original Message-
From: Ilyes Gouta [mailto
1 - 100 of 130 matches
Mail list logo