[ns] classifier- how to get current tcl object and make new new fuctionality

2009-03-11 Thread muralikrishna g
hi users.. here i have to provide a special functionality to a node.. so i am getting the node id.. in classifier class i have to compare the node id with current tcl object how to get the current tcl object id and compare it with the particular node to provide special functionality

Re: [ns] starting Cygwin in windows vista

2009-03-11 Thread hakki
Hi, I dowloaded all the packages in cygwin also `xinit`, however, while I have been trying to install ns-2, it gives a such error Xfree86 package is not installed. I have never seen Xfree86 packages in setup of cygwin, I downloaded all the packages. What do you offer? best hakki trihedraldoc

Re: [ns] Energy consumption for mobile nodes notreceiving/transmitting

2009-03-11 Thread Rodrigo Palucci Pantoni
Hi Mubashir, This node state that Salvo mentionde is called Sleep mode for the wireless node (defined in the specifications) ? Thank you - Original Message - From: Mubashir Rehmani mshrehm...@gmail.com To: Salvo Danilo Giuffrida giuffsa...@gmail.com Cc: ns-users ns-users@ISI.EDU

[ns] How to get incoming packets source and destination address

2009-03-11 Thread muralikrishna g
hi to all... i am working with network simulator ns-2.33, here at an intermediate node i have to know the incoming packets source and destination address. how to get this please help me thank you

[ns] Need help to use Rayleigh fading in ZigBee

2009-03-11 Thread pratiti bhadra
Hi all, How can I use rayleigh fading model in ZigBee stack. Tworayground radio propagation model used in ZigBee/IEEE 802.15.4 . Can I use rayleigh fading propagation model instead of tworayground. How can I change it. -- With best regards, Pratiti

[ns] segmenation fault for more than 20 nodes in OLSR

2009-03-11 Thread Syed Md. Ashraful Karim
Hi I modified the UM-OLSR protocol to add some security elements. it works fine until the number nodes crosses 20. with more nodes i am getting a segmentation fault. can anybody help me , why segmentation fault may occur? help with some causes and remedies.  how can i debug it? i think the

Re: [ns] How to get incoming packets source and destination address

2009-03-11 Thread obaid abbasi
Hello, In the receive recv(Packet* p, Handler*) function of agent You can easily access the IP header of a packet. hdr_ip* iph = hdr_ip::access(p); You can get source ( iph-src_.addr_) and destination (iph-dst_.addr_) address. Regards, Ubaid Abbasi INRIA-CNRS Lab (LaBRI) University Of

[ns] Scheduler: Event UID not valid!

2009-03-11 Thread Spyros Marinis
Hi all! I use ns-2.33 and I am running a simulation for wireless sctp. However the simulation stops at the very beginning, and it shows: Scheduler: Event UID not valid! I have read some older posts here about this, but they are all, as well as the proposed solutions, for older versions of ns,

[ns] ns problem

2009-03-11 Thread ali bala
hi i wrote a simple example and run at ns but i see this: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---     _o18: no target for slot -1     _o18 type: Classifier/Hash/Dest content dump: classifier _o18     0 offset     0 shift     2147483647 mask     1

Re: [ns] Scheduler: Event UID not valid!

2009-03-11 Thread Sidney Doria
A good answer is here: http://web.syr.edu/~dchen02/FAQ.txt QUESTION 1. Sidney Doria UFCG / BRAZIl 2009/3/11 Spyros Marinis spyros_...@yahoo.gr: Hi all! I use ns-2.33 and I am running a simulation for wireless sctp. However the simulation stops at the very beginning, and it shows:

[ns] M ulti Channel Multi interface 802.11

2009-03-11 Thread Kiran K Chauhan
Hello Friends, Did anyone try the Notebook:multi channel multi interface for NS2? I could make the changes in file and do propoer installation ut while running the example file twoflows2channel.tcl it gives error as: num_nodes is set 4 INITIALIZE THE LIST xListHead INITIALIZE THE LIST

Re: [ns] starting Cygwin in windows vista

2009-03-11 Thread hakki
Thanks for everyting, I downloaded them however, while I have been installing ns-2 I faced an error message such that tclcl-1.15 make failed. And I don't know how can I solve this. best hakki trihedraldoc wrote: I don't think you did download all packages otherwise Xfree86 libraries

[ns] Res: Scheduler: Event UID not valid!

2009-03-11 Thread Helber Wagner
Hi, Take a look at this post: http://mailman.isi.edu/pipermail/ns-users/2006-May/055823.html Hope it helps, ___ Helber Wagner da Silva MSc. Student in Applied Informatics University of Fortaleza - Ceará - Brazil URL: http://www.nr2.ufpr.br/~helber

Re: [ns] Re s: Scheduler: Event UID not valid!

2009-03-11 Thread martini.spy
Thanks for your reply! I have already read that post, though, and I think that my problem is indicated by: 1. You are using timers. When a timer is scheduled again without the previous schedule expiring - Trace which timer is scheduled and when it will expire. But how can I find which timer

[ns] the function generating a node in NS2.33

2009-03-11 Thread Nadine Chen
Hi all, Do you know please where can I find the function that generates the node in NS2.33? Thank you.

Re: [ns] the function generating a node in NS2.33

2009-03-11 Thread Mubashir Rehmani
Hi Nadine, The objects of nodes are created in Node.cc, present in the common folder of ns2. http://rp.lip6.fr/ns-doc/ns226-doc/html/node_8cc-source.htm http://rp.lip6.fr/ns-doc/ns226-doc/html/node_8h.htm Regards Mubashir Husain Rehmani www-npa.lip6.fr/~rehmani

[ns] Fwd: ns-2.31 and Gnutellasim

2009-03-11 Thread negin fathoalahnejad
-- Forwarded message -- From: negin fathoalahnejad neg...@gmail.com Date: Wed, Mar 11, 2009 at 5:57 PM Subject: ns-2.31 and Gnutellasim To: ns-users@isi.edu Hello, I am trying to add gnutellasim to ns-2.31. Does anybody have an idea about the possible changes I have to do

Re: [ns] ns problem

2009-03-11 Thread Teerawat Issariyakul
Hi, Basically, you are accessing the slot -1 which does not exist. I posted the details at http://t-issariyakul.blogspot.com/2009/03/no-slot-error-for-classifiers.html For more information about Classifiers, see Chapter 6 in the following book from Springer: T. Issaraiyakul and E. Hossain,

[ns] a special function required in queue

2009-03-11 Thread muralikrishna g
hi to all users... now i am working with ns-2.33, here i required is that, keeping a threshold level to queue and if the threshold level is reached i have to intimate the upstream node.. how to do it.. please help me as early as possible i am in need.. thank you all by Muralikrishna Gaddam

[ns] Please Help - wireless nodes - packets dropping problem when more than one agent is attached

2009-03-11 Thread chekhov_neo
Hi, I'm new to ns2. I've been trying to simulate a wireless scenario in which a mobile node sends data to another mobile node. I attached two udp agents with node0 with cbr traffic for both of them. Then i attached two null agents to node1 to receive the data. Both the agents are started at the