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

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 > Su

Re: [ns] Filtering Columns from output trace file

2006-09-29 Thread Pedro Vale Estrela
EMAIL PROTECTED] > Sent: sexta-feira, 29 de 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

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 instan

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 >

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

2006-09-29 Thread Pedro Vale Estrela
ed scape it but it not solve the problem. If I 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

Re: [ns] BS between HA and MN on Mobile IP simulations

2006-10-03 Thread Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html#_Toc147660119 Pedro Vale Estrela > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Andres Fernando Estupinan Lopez > Sent: terça-feira, 3 de Outubro de 2006 22:48 > To: ns-users@ISI.EDU > S

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 tryi

Re: [ns] problen with traffic generator

2006-10-06 Thread Pedro Vale Estrela
You can also use: set opt(interval) [expr 1 / ($opt(rate) + 0.0)] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Matthias Budde > Sent: quinta-feira, 5 de Outubro de 2006 8:28 > To: ns-users@ISI.EDU > Subject: Re: [ns] problen with traffic genera

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 Sanguanwongtho

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" >

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

2006-10-09 Thread Pedro Vale Estrela
opt(my_delay_s) [expr $opt(my_delay_ms) * 0.001 ] ;# convert to seconds ... $ns make-lan "$TCP_BS $TCPr" 2mb $opt(my_delay_s) LL Queue/DropTail Mac ... Calling format in bash: --- for i in "1 10 100 1000"; do ns my_script.tcl -- -d $

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] Mobile IP

2006-10-11 Thread Pedro Vale Estrela
d are received exactly 1 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. Ped

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

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

2006-10-11 Thread Pedro Vale Estrela
ime to hack to the NS2 code, find 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] 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 PROTECT

Re: [ns] how to add a procedure in a .tcl file and make the requiredchanges in related .cc files?

2006-10-12 Thread Pedro Vale Estrela
Yes, This code seems ok, What are the errors that occur? Try this: $self instvar mac_ $mac_(0) cmd node-change ;# force calling directly the c++ command() and put a breakpoint the command() function in DDD to check what is happening. Pedro Vale Estrela > -Original Mess

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 mod

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] Xgr

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

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

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 sta

Re: [ns] make file error

2006-11-07 Thread Pedro Vale Estrela
"Make ns" > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of kalai arasan > Sent: sábado, 4 de Novembro de 2006 4:36 > To: ns-users@ISI.EDU > Subject: [ns] make file error > > > hi ns-users, > > I got the following error while compiling "make" >

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
y is to generate a lot less 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] 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 &g

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 PROTECT

[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] Mac-802_11 support for cross-layer notification

2006-12-05 Thread Pedro Vale Estrela
The easiest way of doing this is to do via tcl http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667332 Pedro Vale Estrela > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Vinh Pham > Sent: terça-feira, 5 de Dezembro de 200

Re: [ns] accessing queue length in 802.11 MAC

2006-12-06 Thread Pedro Vale Estrela
> I tried to access queue length in MAC. So I wrote > int pkt_num = ((LL *)uptarget_)->ifq()->length(); > > When I run the simulation us gdb, segmentation fault occurs. I shows > that > > Program received signal SIGSEGV, Segmentation fault. > 0x080c3ad4 in Queue::length() (this=0x0) at queue

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,

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 Use " awk ' { if ($6 == ) print } ' " to filter based on certain fields Pedro Vale Estrela > -Original Message- > From: [EMAIL PROTECTED] [mailto:[

Re: [ns] accessing queue length in 802.11 MAC

2006-12-06 Thread Pedro Vale Estrela
> > Thank you very much for your reply. > > > On Wed, 6 Dec 2006 17:07:48 - > "Pedro Vale Estrela" <[EMAIL PROTECTED]> wrote: > > > > > > > > > I tried to access queue length in MAC. So I wrote > > > int pkt_num = ((LL *)

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

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 > > > Hel

Re: [ns] ns-allinone-2.26 installation

2006-12-18 Thread Pedro Vale Estrela
more clear Pedro Vale Estrela <[EMAIL PROTECTED]> wrote: 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@I

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 200

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

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

Re: [ns] debugging

2006-12-20 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 sandesh shenoy > Sent: terça-feira, 19 de Dezembro de 2006 8:57 > To: nsusers > Subject: [ns] debugging > > > Hello, >

Re: [ns] Why is not ns-2 old version ns-allinone.2.1b3 installedcorrectly ?

2006-12-20 Thread Pedro Vale Estrela
lated note, this idea also works backwards; If you are trying to compile old code for old versions of NS (NS-1b6 and friends), You'll get a much better chance if you use earlier versions of GCC, like gcc-2.95." http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667338 Pedro Vale Estrela

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] Start a simulation with a full arp table

2007-01-05 Thread Pedro Vale Estrela
That is pretty much impossible because the arp cache has space only for 1 cached entry. However, it can be possible to disable the arp code altoghether, by making it return immediately with the desired MAC address. Pedro Vale Estrela > -Original Message- > From: [EMAIL PRO

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] error interpretation

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

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 do

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 progr

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] 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 > S

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] 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 t

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

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-

Re: [ns] HMIPv6 extension

2007-01-30 Thread Pedro Vale Estrela
om Columbia university. > > http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html > > 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

Re: [ns] What is error CBK?

2007-02-01 Thread Pedro Vale Estrela
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:drop(p, DROP_RTR_MAC_CALLBACK); aodv/aodv.cc: drop(p, DROP_RTR_MAC_CALLBACK); aodv/aodv.cc: dr Pedro Vale Estrela >

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

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

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

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

2007-02-07 Thread Pedro Vale Estrela
the way, I 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

[ns] combined wireless and wired nodes in the same simulated topolgy

2007-02-28 Thread Pedro Vale Estrela
ation http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html d) install my otcl debugging utilities, then find the tcl proc that gives the error (in the initialization), then find a way to ignore the offending node in the LS routing initialization (should be node M1, I think) Pedro Vale Es

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 i

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" i

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> ht

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 http://tagus.inesc-id.pt/~pes

Re: [ns] Disable ARP

2007-03-21 Thread Pedro Vale Estrela
s happens for every forwarded packet), it could be done in C++ only, of course. Pedro Vale Estrela Note 1: this only happens after one has major experience hacking otcl code! > -Original Message- > From: Ahmad Khayyat [mailto:[EMAIL PROTECTED] > Sent: quarta-feira, 21 de Mar

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-fei

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

2007-03-21 Thread Pedro Vale Estrela
t, add breakpoints 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]

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- &

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

2007-03-21 Thread Pedro Vale Estrela
7;ll upgrade it to ns2.31, and give credit to the person in my NS2 mobility page. Pedro Vale Estrela

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(ple

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
le is located in /tcl/ex/fhmip 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://tag

[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:

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] improvement request to website/mailing list: add "posting rules" to mailing list page

2007-05-07 Thread Pedro Vale Estrela
Hi! This message is 100% right. Please forward it to the ns-developers mailing list! Pedro Vale Estrela > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Timo Reimann > Sent: domingo, 6 de Maio de 2007 17:45 > To: ns-users@ISI.EDU

Re: [ns] Where to get Debugger for NS2 (ns-29-3, tcl8.4.11)?

2007-05-20 Thread Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Timo Reimann > Sent: sexta-feira, 18 de Maio de 2007 13:01 > To: ns-users@ISI.EDU > Subject: Re: [ns] Where to get Debugger for NS2 (ns-29-3, tcl8.4.11)? > >

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 >

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 J

Re: [ns] Replying Etiquette

2007-08-20 Thread Pedro Vale Estrela
ALWAYS Use reply all! Always search before asking a new question. Suggested reading for all users: http://www.catb.org/~esr/faqs/smart-questions.html > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Teerawat Issariyakul > Sent: sábado, 18 de Ag

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 http://tagus.inesc-id.pt/

Re: [ns] installation problem

2007-09-10 Thread Pedro Vale Estrela
http://www.google.pt/search?source=ig&hl=pt-PT&q=bash%3A+ns+command+not+foun d&meta= > -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] installat

Re: [ns] About patches added to ns-2

2007-09-14 Thread Pedro Vale Estrela
You can ignore these, which are the compressed test suites results. Just make NS2 compile and run without errors > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Ghada Al-Mashaqbeh > Sent: sexta-feira, 14 de Setembro de 2007 15:08 > To: ns-users@IS

[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] 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] open wiki access

2007-11-02 Thread Pedro Vale Estrela
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Tom Henderson > Sent: quinta-feira, 1 de Novembro de 2007 5:59 > To: ns list > Subject: [ns] open wiki access > > > All, > I think I've reached the point where I've tired of cleaning out the > spam/

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 http://tagus.inesc-id.pt/~pestrela/ns2/files/namtrace_wireless_colors.pat

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 http://tagus.

Re: [ns] Different version of NS in same Linux OS

2007-11-09 Thread Pedro Vale Estrela
No Just install the allinone is a different directory. _With experience_, is actually pretty trivial to use several ns2 versions using a single allinone > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Livian Zah > Sent: sexta-feira, 9 de Novembro

[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] 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 p

Re: [ns] Seg Faults

2007-11-19 Thread Pedro Vale Estrela
I've encountered this problem previously. Somewhere in NS2 an exit or abort function is being called, and no error is displayed. Solution: a) in config.h undefined exit() and abort(); b) redirect both to a macro called my_abort() which records the file and line number where it is called; c) c

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 htt

Re: [ns] Are there any documents for multi-channel assignment with single radio

2007-11-20 Thread Pedro Vale Estrela
> > Please add any insight you gained into the ns2 wiki > (http://nsnam.isi.edu/nsnam/index.php/Main_Page) so that others can > learn about and from your work. > > CLaus > Hi claus, Great thing that you are doing for NS2 - definitely, what the NS2 wiki needs is the persons that are aided in

Re: [ns] About callback from C++ code to OTcl (Brian LIU)

2007-11-21 Thread Pedro Vale Estrela
Solved. You must use global variables to acces them inside the "doLETJOIN" instproc. Also, I recommend you to follow my tutorial, and learn how to simplify the code for debugging... for instance, the C++ part is only causing confusion on the debugging process. See below how I've done without dep

[ns] WSN research: open positions for PhD students at INESC-ID, Lisboa, Portugal

2007-11-21 Thread Pedro Vale Estrela
I'm forwarding this announcement open in my research institute Pedro Estrela - Dear all INESC-ID (http://www.inesc-id.pt) is offering 2 (TWO) temporary scholarships (12 months max) for PhD students who wish to join the institute's Wireless Sensor Networks research team. This scholarshi

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: http://tagus.inesc-id.pt/~pestrela/ns2/ns2_beginners.html#_Toc128

  1   2   >