[ns] transfering dat from mac to network layer

2006-04-13 Thread samad abdul
Dear users, I want to transfer information from mac layer to network layer in NS2 simulatiion. Please help me regarding this. Regards. abdulsamad.s CSE,MNNIT INDIA

[ns] FW: Re: installing ns-2.29

2006-04-13 Thread Sergio Torassa
Thank you Gilles I followed your guide and the installation succeded However I still have problems installing xgraph This is the log dialog.c: In function `make_msg_box': dialog.c:780: warning: passing arg 2 of `getline' from incompatible pointer type dialog.c:780: error: too few arguments to

[ns] setdest aborts in ns-allinone-2.28 due to Version variable issue?

2006-04-13 Thread kashif
Dear ns users, I am running ns-allinone-2.28 successfully on my RedHat Linux 9.0 PC. But when I ran ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test It aborts at: void Node::RandomSpeed() { /* original version */ if (VERSION == 1) { speed = uniform() * MAXSPE

[ns] How Acces Antenna by Node?

2006-04-13 Thread Michele Grandi
Hi, I'm implementing a fully working script about directional antenna in ns-2. The last thing that I have to do is an antennas' switching logic. The problem is: I have a pointer to a Node (MobileNode *Node) and therefore i can use the node functions (for example: Node->getLoc(&X, &Y, &Z);) How C

[ns] ALOHA in ns2

2006-04-13 Thread Kapil Suchdeo
Hi all, Can anybody help me how packet retranmission is done in ns2 for ALOHA protocol. -- Er. Kapil Suchdeo 93032-07702

[ns] R: Re: Set address to ns node

2006-04-13 Thread Marco Fiore
If I got it right, what you are trying to do is to perform a per-packet distributed queue managament between two nodes which are not directly linked. I think there could be a way to do that in ns-2 (you could use the getNodeById() function to obtain access to the node, and then look into its q

[ns] number of bits received at a node for each fid?

2006-04-13 Thread Gilles Bertrand
Dear Ns-users, I am looking for a solution that would allow me to dynamically monitor the number of bits received at a node for a certain flow id . For the moment I am using the variables of a queue monitor (parrivals_ , barrivals ...) but it is not accurate enough, as I need to have this info

Re: [ns] Bandwidth of wireless channel

2006-04-13 Thread Vinod
Dear Daniel, Thanx for your reply. Actually, my problem involves calculating the effective bandwidth of a wireless node (more specifically in a MANET). I guess the bandwidth_ variable of MAC or Phy layers dont give this value. I am using the default parameters given in the AODV implementation

Re: [ns] Bandwidth of wireless channel

2006-04-13 Thread Daniel Mahrenholz
Vinod schrieb: > Actually, my problem involves calculating the effective bandwidth of a > wireless node (more specifically in a MANET). I guess the bandwidth_ > variable of MAC or Phy layers dont give this value. > > I am using the default parameters given in the AODV implementation. > > To put

Re: [ns] number of bits received at a node for each fid?

2006-04-13 Thread Gilles Bertrand
please, don't take my previous e-mail into account. I have found a solution: the object flow monitor (http://www.isi.edu/nsnam/ns/doc/node288.html) is exactly what I need. regards, Gilles 2006/4/13, Gilles Bertrand <[EMAIL PROTECTED]>: > > Dear Ns-users, > > I am looking for a solution that wou

[ns] the nombre of paquets don't change despite of the mobility

2006-04-13 Thread www triste
Hello everybody I have a problem that makes some days I am blocks. I achieved several scripts of mobility in order to draw the curve: number of packets received / number of packets gave out according to the mobility. I generated several scripts with. / setdest,with variable M between 10 and 100.

Re: [ns] setdest aborts in ns-allinone-2.28 due to Version variable issue?

2006-04-13 Thread Sasan Sahraei
use setdest version 2 by setdest -v 2 have a look at make-scen-steadystate.csh as an example Sasan > > Dear ns users, > > I am running ns-allinone-2.28 successfully on my > RedHat Linux 9.0 PC. But when I ran > > ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > > scen-20-test > > I

[ns] Lost Packets

2006-04-13 Thread Bow-Nan Cheng
Hi, I'm writing a routing protocol and have been racking my brains on what could possibly be happening to these packets. Everything else seems to be working ok, but when i send these particular packets (ORP_RREP), the receiver does not seem to be receiving them. I put printf statements upon every

[ns] help with understanding AODV

2006-04-13 Thread Sita S. Krishnakumar
Hello, I would like help on understanding how AODV computes routes in the following scenario: Node A wants to send a packet to Node B (Both are stationary to begin with). Packets are broadcast and the next hop is based on the route that was decided. Node B finally receives the packet. Now if Node

[ns] nam: permission denied

2006-04-13 Thread Sergio Torassa
Trying to run ns over examples given in ns-allinone-2.29\ns-2.29\ns-tutorial\examples the following error appears $ ./ns ./ns-tutorial/examples/example1b.tcl ns: finish: couldn't execute "nam": permission denied while executing "exec nam out.nam &" (procedure "finish" line 7) invoked

[ns] FW: Re: nam: permission denied

2006-04-13 Thread Sergio Torassa
Thank you for the hint, but I try to use nam as the same user as when I installed it. more strange: if I launch nam form the prompt it runs well. The problem appears only when a tcl script launches it sergio >From: "Miguel Sepulcre" <[EMAIL PROTECTED]> >To: "Sergio Torassa" <[EMAIL PROTECTED]

[ns] changing header info after rqueue.deque in aodv

2006-04-13 Thread Cenker Demir
Dear ns users, I am using ns-allinone-2.28 for cygwin on XP-SP2. I am working on a new routing approach with an additional metric for AODV. My routing decision is based on another metric which I can get only after receiving a route reply. When a packet is put into queue in rt_resolve(.), I d

[ns] Setting variables in C++ using Tcl

2006-04-13 Thread Shruti Gorappa
I would like to set values in a packet header using Tcl. For example, set the packetSize_ variable in the Ping header (found in ns-allinone-2.29/ns-2.29/ns-tutorial/examples). However, when I set packetSize_ in Tcl, it does not change the default value. The tcl/lib/ns-default.tcl file has the

[ns] installing ns-2.29 on fedora core 4

2006-04-13 Thread mscs061
hi i want to install ns-2.29.2 all in one package on fedora core four but it always give me error or the other kindly help me out = mostly it give error that taclcl failed kindly help me out and tell me is this due to corrupt download ?? secondly can u plz list the steps to

Re: [ns] Setting variables in C++ using Tcl

2006-04-13 Thread Shruti Gorappa
Oops. I know what the problem is. The set command does work. However, the value is not changed until the constructor completes execution. Shruti Gorappa wrote: > I would like to set values in a packet header using Tcl. For example, > set the packetSize_ variable in the Ping header (found in >

Re: [ns] installing ns-2.29 on fedora core 4

2006-04-13 Thread Cenker Demir
Hi, If any of the packages in an allinone distribution causes a problem, try to install it individually. Try to be careful with the configure and Makelife files, you "might" need to change them, too, after installing a package alone. Once I had to install ns-2.28 and ns-2.29 to rad hat 3.0 6

[ns] how to install random-waypoint model in ns-2.27

2006-04-13 Thread www triste
Hello everybody I want to installing random-waypoint model in ns-2.27 or ns-2.29,how can i do to install it? please help me,thanks - Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez

[ns] can anyone help me in some code expalin:)

2006-04-13 Thread 刘巍
Hi ,my ns friends: I am quite confused by some code in wireless-phy.cc,it is: double begin_adjust_time = MIN(channel_idle_time_, temp); double finish_adjust_time = MIN(channel_idle_time_, NOW+txtime); double gap_adjust_time = finish_adjust_time - begin_adjust_time; if (gap_ad

[ns] how to edit mip.h, mip.cc mip-reg.cc

2006-04-13 Thread Nauman Afzal
Hi all, I have made a simulation of MIP depicting the following scenario, 1x MN, 1x HA, 2 x FAs and off course two wired nodes. The MN moves from HA to the two FAs and handoffs twice. I have plotted the performance parameters on a graph and observed that during handoff there is sharp decr

Re: [ns] transfering dat from mac to network layer

2006-04-13 Thread Saurabh Sinha
Hi samad I'm also working on the MAC layer, so if u can be some what more specific then i may be able to help you. Like what exactly you want to know and by network layer you mean the network interface layer?? On 4/13/06, samad abdul <[EMAIL PROTECTED]> wrote: > > > Dear users, >I