Re: [ns] NS installation (Ubuntu)

2009-01-05 Thread Waleed Tuffaha
I use ns-2.33 on ubuntu 8.04.1 . i remember that i solved these error by installing some packages Try: sudo apt-get install tcl tk libxt-dev On Mon, Jan 5, 2009 at 4:28 AM, Bello Lawal wrote: > > Hello, > > Pls. can some one help me i try to install NS2 in Ubuntu during the > installation it

[ns] Simulation parameters

2009-01-05 Thread Ghada Khoriba
Dear All,   Is there any typical or standard simulation parameters for simulating wireless ad hoc networks in ns2?   Thanks   Ghada

Re: [ns] (A naive solution) how to set different transmit range for different node

2009-01-05 Thread Phenix
Hi All, After hacking threshold.cc, I've known the formula used to calculate receive threshold (ATTENTION: threshold.cc only generates RXThresh_, NOT Pt_). I modified TwoRayGround formula in threshold.cc, as below : Pr * d^4 * L Pt = --

Re: [ns] AWK programms

2009-01-05 Thread Mohammed Abu Hajar
Salam Alikm, About the first point: there are two type of packets ( Data and Control ) packets. control=request+reply messages. Also I am referring you to see the NS-2 manual about Packets in NS-2. About the second: yes packet_id = $41; 41 column. also try study the output trace file to get

[ns] FLOATING POINT EXECPTION

2009-01-05 Thread Diana Benitez
Hello:I am trying to run a XCP protocol example script as follows: - ### XCP EXAMPLE TCLset lrate 0.0 Queue/XCP set tcp_xcp_on 1 Agent/TCP set minrto_ 1 set ns [new Simulator] $ns color 1 Red set tr_f [open out.tr w] set nam_f [open out.nam w] set rec

[ns] FLOATING POINT EXECPTION

2009-01-05 Thread Diana Benitez
Hello: I am trying to run a XCP protocol example script as follows:-### XCP EXAMPLE TCLset lrate 0.0Queue/XCP set tcp_xcp_on 1Agent/TCP set minrto_ 1set ns [new Simulator]$ns color 1 Redset tr_f[open out.tr w]set nam_f [open out.nam

[ns] FW: FLOATING POINT EXCEPTION

2009-01-05 Thread Diana Benitez
From: paraguayita...@hotmail.comto: ns-us...@isi.edusubject: FLOATING POINT EXCEPTIONDate: Mon, 5 Jan 2009 21:13:25 -0500 Hello: I am trying to run a XCP protocol example script as follows: -- ### XCP EXAMPLE TCLset lrate 0.0Queue/XCP set tcp_xcp_o

Re: [ns] AWK programms

2009-01-05 Thread Mohammed Abu Hajar
Hi, About the first point: you need to check your simulation environment and parameters and try to simulate these protocol with simple simulation scenarios. About the second point: because I need to remove the size of the packet header from the received packet, so I need exactly to know how the

Re: [ns] How to get the current simulation time in ns2? Or how to know the remaining time of a timer?

2009-01-05 Thread Mubashir Rehmani
Dear Matt Wood To know the current time in C++ files of ns2, you can use these commands #define CURRENT_TIMEScheduler::instance().clock() cout< > > Dear all, >I want to know the current time in C++ programs. Is there a > function to do this? Or, How can I get the remaining time of a run

[ns] How to get the current simulation time in ns2? Or how to know the remaining time of a timer?

2009-01-05 Thread matt Wood
Dear all, I want to know the current time in C++ programs. Is there a function to do this? Or, How can I get the remaining time of a running timer? In OpNet the function simtime( ) can be used to get the current time. But I can't find the corresponding one in the NS2. Thank you in advance. Be

Re: [ns] how to intall ns-allinone-2.33 and modify all the environment variables on fedora core 9

2009-01-05 Thread souhaj
you have to add this paths (LD_LIBRARY_PATH=/home/ns-allinone/..) to the file .bashsrc this file is on /home/XXX. it is a hidden file... to get it you have to select an option : visualise hidden file from the menu of the window tanixmukherzee wrote: > > how to intall ns-alli

[ns] add a metric to OLSR

2009-01-05 Thread souhaj
Hello I am working now on OLSR protocol...i want to add a new metric to this protocols so i dont know where i do the modification...in which part ??? can you help me PLZ.. thanks.. -- View this message in context: http://www.nabble.com/add-a-metric-to-OLSR-tp21289966p21289966.html Sent