[ns] cannot enable debug symbols

2011-07-07 Thread Lupe Krops
Hi, I'm using cygwin and ns2.34. I have followed the procedure listed below, however, I couldn't get debug symbols to be enabled. Do I miss smth? 1. modify install file and set --enable symbols in build tcl8.4.18 section  ./configure --enable-gcc --enable-symbols --disable-shared

[ns] Simulation stops with no errors reported

2011-05-12 Thread Lupe Krops
Hi, I 'm using ns2.34 and simulating a DoS attack which is implemented with a timer that when expired it broadcasts a packet. The attack rate is 10 ms. I have created 50 random topologies with 100 nodes and simulate the DoS attack (using 10 nodes) starting at 120sec and continue the attack

[ns] Can I run multiple instances of ns2 at the same time?

2011-04-12 Thread Lupe Krops
Hi, Is it possible to run multiple instances of ns2.34 on cygwin at the same time? Do I need to setup any configurations?  I want to run a different simulation script on each instance... Thank you. Regards, Lup.

[ns] Cannot execute set statement at time

2011-02-10 Thread Lupe Krops
Hi, I'm having a problem when trying to execute in tcl the set command at a specific time. Following I'm listing the concept of what I'm trying to achieve set var_value 8 $ns at 100 set var_value 10 $ns at 100 puts \Value is $var_value \ When the above code is executed i get value = 8

[ns] resume not called, queue overflow

2010-11-09 Thread Lupe Krops
Dear all, I'm having a problem with a queue overflow in ns-2.34 and need help to solve it. I'm simulatiing a wireless network with a Queue/DropTail/Priqueue with 50 packets maximum queue length. In the network there is a malicious node that launches a DoS attack by broadcasting a sendRequest

[ns] Nodes are on a different frequency but can still communicate?

2010-09-14 Thread Lupe Krops
Dear all,   I'm trying to test the following scenario and I would appreciate your feedback.   I have three wireless nodes in a row, 0, 1 and 2. Each node supports multiple interfaces, but for this scenario the nodes are configured with one interface communicating over 802.15.4. A cbr connection

[ns] How to implement multiple antennas on a SINGLE protocol stack?

2010-08-24 Thread Lupe Krops
Dear all, Has anyone managed to implement multiple antennas on ns2 using a single protocol stack? I'm trying to implement a protocol where each node has a protocol stack linked to multiple antennas to communicate over a 802.15.4 channel only. I found Ramon's Calvo paper but unfortunately

[ns] How to switch to a new frequency

2010-07-20 Thread Lupe Krops
Dear all, I 'm simulating a wireless network with AODV. Is it possible to instruct some of the nodes during simulation time to use a different frequency? When some nodes receive a command, I need them to change the frequency they are using and switch to a new frequency. Can you give me some

[ns] Cannot access physical layer from aodv

2010-07-14 Thread Lupe Krops
Dear all, I'm trying to access the physical layer from the aodv agent. So I need to include the wireless-phy.h in the aodv.h. However, it gives me the following compilation errors when i #include wireless-phy.h: In file included from ./aodv/aodv.h:48, from aodv/aodv_logs.cc:31:

[ns] How to cause packet drop due to attack

2010-07-12 Thread Lupe Krops
Dear all, I need to simulate a malicious node that launch an attack and causes packet drop on nodes using 802.15.4. I have implemented a denial of service attack in AODV using a timer. When the timer expires after a time_interval, the malicious node broadcasts a RREQ packet and reschedules

[ns] Help needed on Multiple interface support in 802.15.4

2010-03-29 Thread Lupe Krops
Dear all, I'm trying to implement multiple interface support for 802.15.4 networks using Ramon's Calvo guide (http://personales.unican.es/aguerocr/files/ucMultiIfacesSupport.pdf). Their work concerns 802.11 networks, so I need to make the appropriate changes to include 802.15.4 networks. In

[ns] ns-2.34 installation problem

2010-03-05 Thread Lupe Krops
Hi to everyone, I'm trying to install ns-allinone-2.34 on win xp. I have installed the full package of cygwin v. 1.7.1. When I tried to ./install the ns-2.34 it gave me the message the Package gcc is not present on your system (also cannot find xorg-x11-base and xfree86-base). I found a post