Re: [ns] wireless access point

2009-03-13 Thread Kiran K Chauhan
Hi, Yes NS2 does support that, use ns2.33 version. Sample code given in that is infrs.tcl Kiran On Fri, Mar 13, 2009 at 8:42 AM, mm min...@gmail.com wrote: Hello and thank you very much for all your efforts Could you please tell me if NS2 (version 2.32) can support simulation of

Re: [ns] ns-2 on windows vista

2009-03-13 Thread hakki
Dear Sidney, I have been trying to install ns-2.27 to my machine runs under vista home. Even I have downloaded all the packages of cygwin, I could not install ns-2.27. I installed also hidden packages in cygwin. Moreover, while I have been trying to install ns-2.27, there does not appear a such

[ns] How to get information of a node from an agent?

2009-03-13 Thread Truong Thuy
Dear All, I'm implementing a routing protocol that explores the mobility of a node. From the new agent, I want some information of a node such as speed, location, ... Just wondering how I can use getter methods of Node.c inside my NewAgent.c? Please help. Thanks milllion. -- Regards, Thuy

[ns] How to send a message from one node to another node (i.e. to send an integer value)

2009-03-13 Thread muralikrishna g
hi to all.. i am using ns-2.33, here i have to send a message (i.e. to send an integer value) from one node to another node, is it possible in tcl script itself.. or i have to go for c++ please help me regarding this, by Muralikrishna Gaddam (muralikrishn...@gmail.com)

[ns] How to Drop Packets From a Particular Sender

2009-03-13 Thread muralikrishna g
Hi to all.. i am using ns-2.33, here in my work i have to drop packets from a particular sender, i am planing to drop packets depending on the sender node_id please help me regarding this.. by Muralikrishna Gaddam (muralikrishn...@gmail.com)

Re: [ns] How to send a message from one node to another node (i.e. to send an integer value)

2009-03-13 Thread Sidney Doria
Gaddam, this is the FIRST BASIC step when you learning NS-2. You can find lots of information about this, here: - asking google; - reading NS-2 manual; - tutorials in the NS-2 wiki; - on the book Introduction to Network Simulator NS-2. But we know how difficult are the first steps! So, this

Re: [ns] How to Drop Packets From a Particular Sender

2009-03-13 Thread Mats Folke
Hi! Wouldn't it be kind of dangerous to drop the packet using the first method described? The packet would jsut disappear and the logs would not be consistent. I would recommend using the latter method drop(p) instead. This makes the logging consistent and almost all objects I've come

[ns] TCO flag in trace file

2009-03-13 Thread antonioli
Hi, I'm studing some aspects handover over heterogeneous networks, in particularly the IEEE 802.21. I have already installed ns2 with 802.21 module (from NIST) and simulated some scenarios and found a NCO in trace file. Can tell me significance of the NCO (after -Nw) drop reason? All help or

[ns] Help!!

2009-03-13 Thread vap9999
After I run my tcl, it shows the following error, someone, please, give me a hint why that happened? Thanks so much! --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o107: no target for slot -1 _o107 type: Classifier/Hash/Dest content dump: classifier _o107

Re: [ns] Intrusion Detection in Manet

2009-03-13 Thread Satria Mandala
On Thu, Mar 12, 2009 at 4:43 PM, Satria Mandala thariqsat...@gmail.comwrote: I need to learn intrusion detection in wireless ad-hoc network using ns2. Does any one know how to create some kind of attacks in a node, such as black hole attack, DoS, and etc? regards Thariq Satria

Re: [ns] Neighbor List

2009-03-13 Thread Mustafa Kamal
I think you can look at channel.cc to find the list of neighbours because whenever a new mobile node is entering the channel its keep information in the list. Otherwise if you trying to find out the neighbouring BS then you can check it out from the mip-reg.cc file. Thanks, With Best Regards,

Re: [ns] Range Proble...Again :(

2009-03-13 Thread Mustafa Kamal
Can you set the radius like below [$HA set netif_(0)] set Pt_ 0.03652 [$FA01 set netif_(0)] set Pt_ 0.03652 [$FA02 set netif_(0)] set Pt_ 0.03652 [$FA03 set netif_(0)] set Pt_ 0.03652 You can use this list to set the radius of a node Tx Range   Pt_    100m

[ns] how to send a message(excample-45) from node1 to node2

2009-03-13 Thread muralikrishna g
hi to all.. here i have to send a number from from node1 to node2,.. i know how to send a traffic packet op or cbr, but here i have to send my own number from node1 to node2,.. please help me regarding this by muralikrishna

Re: [ns] How to Drop Packets From a Particular Sender

2009-03-13 Thread Teerawat Issariyakul
Hi Mats, I agree with you. In fact, function drop(p) will check whether the packet is in used before dropping it. But the function drop(p) only exists for an NsObject. Objects not derived from class NsObject may not define this function. If you guys would like to use Packet::free(p), you are

Re: [ns] How to do LEO satellite simulation with many GSL terminals ??

2009-03-13 Thread Tom Henderson
lukman_ha...@yahoo.com wrote: Hi, Does anybody knows how to do LEO satellite simulation with many GSL terminals on the source side and many GSL terminals on the destination side ?? For example if i want to have 3 polar GSL terminal (S1, S2, S3) at the source side and 3 polar GSL