Re: [ns] HOW [EMAIL PROTECTED] - a new/custom (routing) agent - Who knowssomething?

2007-11-21 Thread Pedro Vale Estrela
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:

Re: [ns] regarding xgraph and gnuplot

2007-11-19 Thread Pedro Vale Estrela
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

Re: [ns] oTcl debugging: MASH inspector causes segmentation fault

2007-11-15 Thread Pedro Vale Estrela
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:

Re: [ns] Visualization of data pkt movements in nam for wirelessscenarios

2007-11-15 Thread Pedro Vale Estrela
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/

Re: [ns] Visualization of data pkt movements in nam forwirelessscenarios

2007-11-15 Thread Pedro Vale Estrela
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

[ns] [ANNOUNCE] [NS2] Announcing IST-CIMS IP micro-mobility suite for NS2-2.31

2007-11-12 Thread Pedro Vale Estrela
-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

Re: [ns] a loop or a start and stop methods

2007-11-08 Thread Pedro Vale Estrela
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

Re: [ns] How to colour nam simulations??

2007-11-07 Thread Pedro Vale 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

Re: [ns] need tcl script showing voice codec implementation

2007-09-18 Thread Pedro Vale Estrela
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

[ns] FW: gdb debugger

2007-09-17 Thread Pedro Vale Estrela
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

Re: [ns] installation problem

2007-09-10 Thread Pedro Vale Estrela
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

Re: [ns] Movement of nodes should be modifiable during runtime of an ns-2 simulation

2007-08-22 Thread Pedro Vale Estrela
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

Re: [ns] hierarchical addressing and number of nodes

2007-06-11 Thread Pedro Vale 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

Re: [ns] tcl-debugger cannot use command 'w' to watch call stack

2007-05-20 Thread Pedro Vale Estrela
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

[ns] NOAH: wrong node routing agent!

2007-04-09 Thread Pedro Vale Estrela
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

Re: [ns] compilation of .cc file

2007-04-09 Thread Pedro Vale Estrela
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

Re: [ns] problem with Scheduler(please see this code and tell memistake)

2007-03-22 Thread Pedro Vale Estrela
$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

Re: [ns] FHMIP - anyone got the FHMIP extension to work? (coded by Robert Hsieh)

2007-03-22 Thread Pedro Vale Estrela
I’m not sure, but I think this error can be corrected by applying this patch that I’ve 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

Re: [ns] Protocol

2007-03-22 Thread Pedro Vale Estrela
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

[ns] PRELIMINARY FHMIP upgraded for ns2.31

2007-03-22 Thread Pedro Vale Estrela
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

Re: [ns] Error in Object!!

2007-03-21 Thread Pedro Vale Estrela
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

Re: [ns] No data transmission at all! Can you help me?

2007-03-21 Thread Pedro Vale Estrela
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

Re: [ns] ns/nam: respresentation problem when definingposition-fixed nodes (NEW question)

2007-03-21 Thread Pedro Vale Estrela
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

[ns] FHMIP - anyone got the FHMIP extension to work? (coded by Robert Hsieh)

2007-03-21 Thread Pedro Vale Estrela
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

Re: [ns] Please help me

2007-03-20 Thread 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(

Re: [ns] Disable ARP

2007-03-20 Thread Pedro Vale Estrela
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

Re: [ns] [NS-2] The most recent tcl-debug manual

2007-03-19 Thread Pedro Vale Estrela
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

Re: [ns] help for implementation of the DCCP in NS

2007-03-08 Thread Pedro Vale Estrela
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

Re: [ns] flooding.tcl (hierarchical network)

2007-03-08 Thread Pedro Vale Estrela
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

Re: [ns] MASH Inspector (nstk?) problems

2007-02-07 Thread Pedro Vale Estrela
) 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

Re: [ns] MASH Inspector (nstk?) problems

2007-02-07 Thread Pedro Vale Estrela
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

Re: [ns] What is error CBK?

2007-02-01 Thread Pedro Vale Estrela
: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

Re: [ns] (hier-rtg-100.tcl) doesnt run!?

2007-02-01 Thread Pedro Vale Estrela
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

Re: [ns] HMIPv6 extension

2007-01-29 Thread Pedro Vale Estrela
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

Re: [ns] node entry?

2007-01-29 Thread Pedro Vale Estrela
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

Re: [ns] How to disable all the trace outputs

2007-01-18 Thread Pedro Vale Estrela
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

Re: [ns] Multi-interface support howto

2007-01-16 Thread Pedro Vale Estrela
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

Re: [ns] NS tutorial update proposal

2007-01-16 Thread Pedro Vale Estrela
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)

Re: [ns] error interpretation

2007-01-10 Thread Pedro Vale Estrela
. 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

Re: [ns] CIMS/NS-2

2007-01-10 Thread Pedro Vale Estrela
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

Re: [ns] Doubt regarding running cc program and NAM

2007-01-10 Thread Pedro Vale Estrela
-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

Re: [ns] Fwd: segmentation fault in wired cum wireless scenario usingaodv+ help

2007-01-10 Thread Pedro Vale Estrela
I’ve 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

Re: [ns] Fwd: segmentation fault in wired cum wireless scenario usingaodv+ help

2007-01-05 Thread 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

Re: [ns] debugger install

2006-12-21 Thread Pedro Vale Estrela
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,

Re: [ns] a simple question

2006-12-18 Thread Pedro Vale Estrela
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

Re: [ns] CBR packet size on 802.11b link

2006-12-18 Thread Pedro Vale Estrela
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

Re: [ns] ns-allinone-2.26 installation

2006-12-14 Thread Pedro Vale Estrela
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

Re: [ns] compile problem

2006-12-14 Thread Pedro Vale Estrela
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,

Re: [ns] accessing queue length in 802.11 MAC

2006-12-06 Thread Pedro Vale Estrela
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

Re: [ns] How to measure overhead with ns2?

2006-12-06 Thread Pedro Vale Estrela
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

Re: [ns] recall a procedure every time that a packet arrives

2006-12-05 Thread Pedro Vale Estrela
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

Re: [ns] HMIPv6 extentions

2006-12-05 Thread Pedro Vale Estrela
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

[ns] FW: How does the control comes back from C++ to OTcl ?

2006-12-05 Thread Pedro Vale Estrela
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

Re: [ns] TCP or transport layer Tunneling

2006-11-15 Thread Pedro Vale Estrela
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:

Re: [ns] Simulating channel Hopping in ns2

2006-11-15 Thread Pedro Vale Estrela
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

Re: [ns] Script for parsing output trace file

2006-11-02 Thread 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

Re: [ns] reserved node addresses

2006-11-02 Thread Pedro Vale Estrela
-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

Re: [ns] Xgraph basic question

2006-10-18 Thread Pedro Vale Estrela
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

Re: [ns] How do you Debug your Codes?

2006-10-18 Thread Pedro Vale Estrela
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

Re: [ns] how can we echange variable between layer???

2006-10-12 Thread Pedro Vale Estrela
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

Re: [ns] reproducing the graphical results of EDCA model

2006-10-12 Thread Pedro Vale Estrela
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

Re: [ns] Mobile IP

2006-10-11 Thread Pedro Vale Estrela
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

Re: [ns] Multiple source files

2006-10-11 Thread Pedro Vale Estrela
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

Re: [ns] no reply yet: CBQ for wireless nodes

2006-10-11 Thread Pedro Vale Estrela
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

Re: [ns] IPv6 support in NS-2

2006-10-09 Thread Pedro Vale Estrela
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

Re: [ns] what is the meaning of $self next

2006-10-09 Thread Pedro Vale Estrela
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,

Re: [ns] How to change the parameters during the simulation to save thetime

2006-10-09 Thread Pedro Vale Estrela
: --- 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

Re: [ns] sending packets

2006-10-09 Thread Pedro Vale Estrela
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: [ns] REGEDING TO INSTALLATION OF NS-2.29 ON FEDORACORE-4

2006-10-04 Thread Pedro Vale Estrela
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

Re: [ns] Urgent reply needed

2006-09-29 Thread Pedro Vale Estrela
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-

Re: [ns] A router (gateway) between two ad hoc networks

2006-09-29 Thread Pedro Vale Estrela
-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

Re: [ns] Filtering Columns from output trace file

2006-09-29 Thread Pedro Vale Estrela
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

Re: [ns] Filtering Columns from output trace file

2006-09-29 Thread Pedro Vale Estrela
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

Re: [ns] LossMonitor - can't read, no such variable

2006-09-29 Thread Pedro Vale Estrela
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

Re: [ns] trouble with error model over wired links

2006-09-29 Thread Pedro Vale Estrela
. 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

Re: [ns] LossMonitor - can't read, no such variable

2006-09-29 Thread Pedro Vale Estrela
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

[ns] FW: NS-2 2.29.3 and otcl debugger page

2006-09-19 Thread Pedro Vale Estrela
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

Re: [ns] RTP under NS2

2006-09-06 Thread Pedro Vale Estrela
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

Re: [ns] Problem with the queue command

2006-09-06 Thread Pedro Vale Estrela
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

Re: [ns] Issues debugginf ns-2.29

2006-09-06 Thread Pedro Vale Estrela
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

2006-09-06 Thread Pedro Vale Estrela
: 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

Re: [ns] [bug] tcl-debugger segfaults when printing stack ('w') FIXED

2006-09-05 Thread Pedro Vale Estrela
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

Re: [ns] idle/sleep state

2006-09-04 Thread Pedro Vale Estrela
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

Re: [ns] why does the code below doesn't work as expected

2006-08-30 Thread Pedro Vale Estrela
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

Re: [ns] change the CBR bit rate

2006-08-30 Thread Pedro Vale Estrela
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

[ns] Application/Traffic/CBR set interval + setpacketsize - undocumented behaviour explained

2006-08-30 Thread Pedro Vale Estrela
://mailman.isi.edu/pipermail/ns-developers/2006-August/002377.html Pedro Vale Estrela

Re: [ns] rtmodel-at down seems to do nothing

2006-08-28 Thread 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

Re: [ns] Transmission and Interference Range

2006-07-13 Thread Pedro Vale Estrela
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

Re: [ns] Finding Node ID

2006-07-03 Thread Pedro Vale Estrela
. ... 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

Re: [ns] Multiple connections to a single agent

2006-07-03 Thread 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

Re: [ns] Help on obtaining the location info of a mobile node within inC++ code of routing protocol

2006-07-03 Thread Pedro Vale Estrela
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

Re: [ns] Multiple connections to a single agent

2006-07-03 Thread Pedro Vale Estrela
/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

Re: [ns] [help] error: input line too long

2006-06-22 Thread Pedro Vale Estrela
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

Re: [ns] Bus error

2006-06-21 Thread Pedro Vale Estrela
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]

Re: [ns] Getting data from wireless base station to cross to wiredstation FIXED

2006-06-20 Thread Pedro Vale Estrela
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

Re: [ns] simple-wireless.tcl is not running on ns2.28

2006-06-14 Thread Pedro Vale Estrela
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

Re: [ns] Clearing a queue at a node in ns-2

2006-06-14 Thread Pedro Vale Estrela
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

Re: [ns] two equal UDP CBR flows in droptail queue get different bandwidths?

2006-06-08 Thread Pedro Vale Estrela
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

Re: [ns] C++ debug in NS2

2006-06-06 Thread Pedro Vale Estrela
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

[ns] CONTRIBUTING TO NS2 WIKI (was: RE: C++ debug in NS2)

2006-06-06 Thread Pedro Vale Estrela
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   2   >