[ns] Check out my Facebook profile

2008-11-12 Thread Sasan Zhalepour
Hi Ns, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Sasan To sign up for Facebook, follow the link below: http

[ns] how to measure the size of received packet

2008-08-04 Thread sasan zhalehpour
CW_) {...}) thx in advance. sasan

[ns] adding a function to change the value of CWmax_ for the backoff procedure

2008-07-12 Thread sasan zhalehpour
hi, i want to add a function in mac802_11.{cc,h} to change the value of CWMax_ in TCL code i mean when ever i invoke it during the execution of TCL code, this function could change the value of CWmax_ Any help will be highly appreciated. regards, sasan

Re: [ns] backoff timer implementation in 802.11

2008-07-04 Thread sasan zhalehpour
start in case the medium was not idle, a > collision would certainly occur. But what you say is also correct. > > 2008/7/4 sasan zhalehpour <[EMAIL PROTECTED]>: > > >> ------ Forwarded message -- >> From: sasan zhalehpour <[EMAIL PROTECTED]> >>

[ns] backoff timer implementation in 802.11

2008-07-03 Thread sasan zhalehpour
-- Forwarded message -- From: sasan zhalehpour <[EMAIL PROTECTED]> Date: Sun, Jun 29, 2008 at 3:46 AM Subject: backoff timer 802.11 To: ns-users@isi.edu hi, i read in ns2.33 in MAC802_11.cc/MAC802_11:: send(...) class ... /* if the medium is not IDLE, then we sta

[ns] backoff timer 802.11

2008-06-28 Thread sasan zhalehpour
hi, i read in ns2.33 in MAC802_11.cc/MAC802_11:: send(...) class ... /* if the medium is not IDLE, then we start the backoff timer */ but as i know backoff timer starts when the channel is idle after expiration of defer timer. please tell if i made a mistake!!! best regards sasan.

[ns] document for MAC 802_11 c++

2008-06-26 Thread sasan zhalehpour
-- Forwarded message -- From: sasan zhalehpour <[EMAIL PROTECTED]> Date: Fri, Jun 20, 2008 at 7:46 PM Subject: document for MAC802.11 c++ To: ns-users@isi.edu hi, does anyone have any documents or files that describe c++ code of MAC802_11.cc and its parameters? best r

[ns] document for MAC 802.11 c++

2008-06-26 Thread sasan zhalehpour
hi, does anyone have any documents or files that describe c++ code of MAC802_11.cc and its parameters? best regards, sasan zhalepour

Re: [ns] Phy to MAC buffer

2007-02-20 Thread Sasan Sahraei
at calculate the "real" incoming traffic? am I correct on this ? Thanks, Sasan > Hi > > There should not be any, at least NS-2 does not introduce anything, as I > know. As PHY receives a packet, it is passed to MAC, then to the upper > layer, and then it is buffered at some

[ns] Phy to MAC buffer

2007-02-19 Thread Sasan Sahraei
Hi, Where can I find / access the buffer between PHY and MAC? Is there any buffer in between MAC and PHY (upwards)? Thanks, Sasan

Re: [ns] Size of the queue in c++ not solved yet Please help and reply

2007-02-02 Thread Sasan Sahraei
open up the core file and see what does the stack tracing say. Maybe there is a bug that you can fix it. Send the stack track and I'd be interested to see it too. Sasan > > Dear all would you kindly help on that > i would like to get the instantanous queue size of packets in my

[ns] Phy to MAC buffer

2007-01-27 Thread Sasan Sahraei
Hi, How can I get access to the buffer between phy and 802.11 MAC (upwards) ? Is there any buffer at all? Thanks, Sasan

[ns] Indoor and outdoor parameters

2006-06-23 Thread Sasan Sahraei
accurate? 2. If so, how can I define path loss and standard deviation to suite for an outdoor simulated environment? Thanks, Sasan

Re: [ns] trace tool for ns2

2006-04-23 Thread Sasan Sahraei
you can get help from totals.pl or other scripts from CMU Monarch project. but might need some modifications relative to your need. Sasan > > I am doing a class project on ns2 - wireless flooding. Is there any > freely available tool to read the trace files? Thanks, > -Anupama >

Re: [ns] Trace File - - - which data represent packet id

2006-04-21 Thread Sasan Sahraei
end[packetid] - starts[packetid]) / total_data_packets_received note that it is data packets recieved and do NOT count routed data packets. unless you are counted the delay per flow. Sasan > > Hi, > > I would like to ask regarding trace file. > > I need to calculate "

Re: [ns] Error While Compiling Newly Created Files.....Plz Help

2006-04-19 Thread Sasan
files are not attached, double check please but before looking at anything, do you have header file included when compiling? if so, make sure shared object is accessible when linking, Sasan On 20 Apr 2006 03:14:31 -, syamantak mukherjee < [EMAIL PROTECTED]> wrote: > > > &g

[ns] queston about REQUEST / REPLY - duplicate info

2006-04-19 Thread Sasan Sahraei
? Thanks a lot, Sasan

Re: [ns] R: which trace format is more accurate?

2006-04-19 Thread Sasan Sahraei
ine. all the equipment and environment settings are the same. you might be able to reproduce it easily. Thanks, Sasan > Sasan, > > I see your point. > How much do differ results you got in the two > cases? > By exact same simulation you mean that you simply > changed the &g

[ns] Setting energy model for physical layer

2006-04-16 Thread Sasan Sahraei
. I'll appreciate if someone clear this for me. Thanks, Sasan

Re: [ns] Fwd: What does "h" stand for in trace format

2006-04-15 Thread Sasan Sahraei
check here, you might find the answer: http://k-lug.org/~griswold/NS2/ns2-trace-formats.html Sasan > -- Forwarded message -- > From: Tuhin Kanti Sharma <[EMAIL PROTECTED]> > Date: Apr 15, 2006 7:57 AM > Subject: [ns] What does "h" stand for in

Re: [ns] R: which trace format is more accurate?

2006-04-15 Thread Sasan Sahraei
s is not the correct way to calculate the total sent messages) what do you think? Thanks, Sasan > Sasan, > > both versions of tracefile report the same information. > The > difference only lies in the format (actually, the > new trace format is > somehow more complete).

[ns] which trace format is more accurate?

2006-04-14 Thread Sasan Sahraei
files are accurate? which one should I pick? the version is 2.29. I'll appreciate your advice. Thanks, Sasan

Re: [ns] how can i use the parameters with cbrgent.tcl to change the nombre of streams

2006-04-14 Thread Sasan Sahraei
change mc > > Hello everybody > i wana to chage the nombre of streams for calclating the raio numbre of > paquets received/nombre of paquets send,but i don't undersatnd wich one > i must to change,the seed,the rate,the mc?? > can you help me,please to advance thank you very much > > > --

Re: [ns] Running nam on cygwin

2006-04-14 Thread Sasan Sahraei
in addition, I guess you need to run nam through startup batch file of XWindows simulator, make sure X11 is installed and from bin directory you can run startxwin.bat Sasan > > Hello Tuhin Kanti Sharma, > > You are probably trying to use NS on a linux server with ssh. Am I >

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

Re: [ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread Sasan Sahraei
an initial energy and type of MAC layer pawer consumption) do have a initial fix transmission range am I correct? Sasan > > Hi friends, > What are the values to be set in the TCL file to make > the transmission range 100m. In some mail i got some pointer for this &g

[ns] Energy Model - what is the best measurement?

2006-04-11 Thread Sasan Sahraei
;# Idle Power set val(sleeppower) 2.81838e-4 ;# sleep power set val(transitionpower) 0.0563676;# transition power set val(transitiontime) 0.005;# transition time Thanks, Sasan

[ns] setting distCST_ what is the default value?

2006-04-10 Thread Sasan Sahraei
dependency on the antenna and propagation model settings, am I correct? Thanks, Sasan

Re: [ns] General question about extracted files of ns-allinone and a FC5 issue

2006-04-09 Thread Sasan Sahraei
nything else, I leave the practice / risk to you, Sasan > > Hi to all, > I wish to know if in a wrongly built installation of ns-allinone, the > extracted files may conflicts with other system's files. In few words, may > during the installation process some or more files are spr

Re: [ns] error on running nam

2006-04-08 Thread Sasan Sahraei
if you are running cygwin you don't need to set DISPLAY if you are loging into a unix based environmen through i.e. exceed, then you can set DISPLAY to :0.0 Sasan > > > > > > I am using ns-allinone-2.29 on windows XP SP-2.I have set DISPLAY > environment variable a

Re: [ns] What this code means?

2006-04-07 Thread Sasan Sahraei
rate is what you define in the traffic pattern file. or alternatively in the CBR settings. otherwise you can add more traces in the relevant routing algorithm and look at the receive or send rate. will this help? Sasan > Thank you Sasan! > Just one more question: how can I see t

[ns] segmentation fault in TORA

2006-04-06 Thread Sasan Sahraei
Hi All, I am experiencing segmentation fault when using TORA. have anybody seen this before? I appreciate any advice. Thanks, Sasan

Re: [ns] What this code means?

2006-04-06 Thread Sasan Sahraei
) double CSThresh_; // carrier sense threshold (W) double CPThresh_; // capture threshold (db) double Pt_; // transmitted signal power (W) hope this helps, Sasan > > Hi everybody! > I`m doing some tests with an old version of ns-2 (ns

Re: [ns] dsr protocol core dumed

2006-04-05 Thread Sasan Sahraei
make sure you are using CMU priority queue (instead of PriQueue) set val(ifq)CMUPriQueue this is required only for DSR Sasan > > hi all > Please can any bidy help me my problem during the > runinng of the dsr protocol it give a segmentation > fault (core dumed) an

Re: [ns] Question about xgraph

2006-04-05 Thread Sasan Sahraei
If this is cygwin, you caninstall X11 and then you can find it under /usr/X11R6/bin/xgraph Sasan > > Hi all, > I have a trouble with xgraph now. When I run an example from the following > website http://www.isi.edu/nsnam/ns/tutorial/, example 4 about how to > Create > Outpu

[ns] Has anybody experienced problem with DSR?

2006-04-05 Thread Sasan Sahraei
'm not sure how exactly to resolve this. Have anybody seen this before? any help would be appreciated? In general, has anyone simualted DSR with complex environment settings with no problem? Thanks a lot, Sasan

[ns] DSDV in inifite loop with certain physical layer threshold - help

2006-04-04 Thread Sasan Sahraei
ll be appreciated. Thanks, Sasan

Re: [ns] NS hangs with certain physical layer settings

2006-04-02 Thread Sasan
queued packets? your opinion will be appreciated, Thanks, Sasan On 4/2/06, Martin Jacobsson <[EMAIL PROTECTED]> wrote: > > > Hi Sasan Sahraei, > > On Sun, 2006-04-02 at 04:53 +0100, Sasan Sahraei wrote: > > Hi All, > > > > When I set the physical layer paramet

[ns] NS hangs with certain physical layer settings

2006-04-01 Thread Sasan Sahraei
rect for AODV). Any opinions will be appreciated. Thanks, Sasan

[ns] Two questions - Node id and path optimality calculation

2006-03-29 Thread Sasan Sahraei
hops between two nodes at a point of time, but I don't know (from the trace) how to see the number of times a packet has been travered in order to perform a comparison. Does anyone know any good way to do this? Thanks, Sasan

[ns] Multiple Propagation Models

2006-03-26 Thread Sasan Sahraei
way to do this from .tcl? similar to wireless-shadowing-vis-test.tcl Thanks, Sasan

Re: [ns] urgent help routing overhead with dsdv gave me 1

2006-03-22 Thread Sasan Sahraei
how can you calculate "total number of delivered packets to destinations". are you talking about packets delivered successfuly? how do you calculate that? S. > > I would say that overhead should be calculated by determining the ration > of: > > Total number of routing packets used to discover

[ns] ABR Implementation for NS-2

2006-03-20 Thread Sasan Sahraei
> Hi All, > > Is there any ABR implementation for NS-2 available? Has anyone used this > algorithm recently? > > Thanks, > Sasan >

Re: [ns] Problem runing wireless examples

2006-03-14 Thread Sasan Sahraei
where is the error message? this looks working for you now. please check if you have the trace file generated Sasan > > hi all, > first of all am using Cygwin & ns-2.29 all-in-one .. am trying to run the > wireless examples associated in this link "simple-wireless.tcl&qu

Re: [ns] problem executing wireless examples[uegent]

2006-03-13 Thread Sasan Sahraei
Its not a bug, your path to the script files needs to be modified, make sure your script is pointing to the correct location of the traffic pattern or movement scenario files. you can also modify the path and use the path exclusively. Sasan > >   > hi all > i m facing following ty

Re: [ns] Help: Setdest Command

2006-03-13 Thread Sasan Sahraei
one thing you can do is to delete any (object files) .o files from setdest directory and run make again. this will definitly generate the binary for you. > > Hi, > > I would like to ask regarding "setdest" command. In the tutorial it says > that: > > In order to compile the revised setdest.cc

[ns] Simulating using TORA fails

2006-03-12 Thread Sasan Sahraei
e line 23) invoked from within "$ns_ node" ("for" body line 2) invoked from within "for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] #$node_($i) random-motion 0 ;# disable random motion }" (file "wireless1.tcl" line 112) Thanks, Sasan

Re: [ns] I am seeing 0 overhead - why?

2006-03-12 Thread Sasan Sahraei
Thanks for help, even if I set the rate to 4, I don't get any overhead. Is there any example that can produce and overhead? I am not doubting my script, as it might not be correct. Thanks, Sasan > Hi > > 1) -mc means max no.of connections established at any time. As you are &

Re: [ns] core dumed with running setdest command

2006-03-10 Thread Sasan Sahraei
me traces in the method "RandomSpeed" at the very begining and see if you get the value of speed rigth. at least this was the case for me. Sasan > > Dear > iam running the setdest command to gerate a new > scenarios as below > ./setdest -n 50 -p 2.0 -s10.0 -t 200 -x 5

[ns] I am seeing 0 overhead - why?

2006-03-09 Thread Sasan Sahraei
ot; -type cbr -nn "$MAXNODES" -seed $seed -mc 1 -rate "$pps" any idea why I get 0 overhead? another question is the value for -mc, I am not sure 1 is correct. what should I use? I need connection between all nodes (obviously) but only two of the 50 are actually communicating. Thanks for help, Sasan

[ns] Table to keep minimum number of hops - fixed or variable?

2006-03-03 Thread Sasan Sahraei
my opinion, it does not make sense for it to be fixed as the nodes are roaming. Any opinions? Thanks, Sasan

Re: [ns] number of hops ???????

2006-03-03 Thread Sasan
objects in the trace and refer to the documents to see what type of agent you are using, as they generate different traces. Sasan On 3/3/06, hamdi benmessaoud <[EMAIL PROTECTED]> wrote: > > > hi ALL , > I want to calculate the number of hops in my network > I get 3 replies f

[ns] propagation model

2006-03-02 Thread Sasan Sahraei
All, Is it possible to support multiple propagation model? is this a good design choice as if the d become > or < cross-over distance , it would make a possibillity of more packet processing by MAC layer? If so, how could it be done when configuring a node in Tcl? Thanks, S.

Re: [ns] path&run scripts

2006-03-02 Thread Sasan
Alexandra, are you saying that you get to trouble when running the .tcl script? it depends on the shell you are running this from. you might need to include path to ns using either of the set, setenv, etc i.e. setenv PATH $PATH: or PATH=$PATH: export PATH have I understood your question rig

Re: [ns] How to get the position of node in Tcl (NS2 Command)?

2006-03-02 Thread Sasan
new CMU trace provide -Nx, -Ny and -Nz in the trace file Sasan On 3/2/06, Mohammed Alchaita <[EMAIL PROTECTED]> wrote: > > > > > I need to get the location of node (X and Y) in NS2. any help please? > > Regards > > > > Mhmd. > > > > -- P

Re: [ns] Problem with handoff between 802.11 and UMTS

2006-03-02 Thread Sasan Sahraei
UMTS air interface is CDMA based, is this supported by NS-2? I doubt it S. > > > Dear all: > > I patched ns-eurane-111.diff.gz(UMTS) for clean ns-2.28. > Then I want to see how a mobile node handoff from 802.11 to UMTS (on > sctp). > But I am not familiar with UMTS system .So I have no idea to

Re: [ns] how to calculate the overhead ?

2006-03-02 Thread Sasan
number of times a single packet has been forwarded, and you can take it from there Sasan On 3/2/06, hamdi benmessaoud <[EMAIL PROTECTED]> wrote: > > > Hi, > > We want to calculate the overhead in NS version 2.29 (with Tcl) in order > to compar the routing protocols used

Re: [ns] CBR over TCP ?

2006-03-01 Thread Sasan Sahraei
ce of TCP and UDP under some scenarios, which kind of application > should I attach? > > Regards, > Kai > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Sasan > Sent: Monday, February 27, 2006 10:03 AM > To: alaeddine abd

Re: [ns] Compiling error NS-2 on Solaris 9

2006-03-01 Thread Sasan Sahraei
what do you think? the compiler is g++ Thanks, Sasan > > On Mon, 27 Feb 2006 19:39:04 - (GMT), Sasan Sahraei wrote >> I get the following when compiling on Solaris 9. Which header should >> I replace? Any comments? idea? will be very appreciated. > > I got similar pro

Re: [ns] using awk with Aodv

2006-02-28 Thread Sasan
you can simply write the awk script , its only a single line i.e. awk / $1 == `s`/ {print $n} trace file n = column representing the receive/dropped or send packet. actually it could need some modifications. On 2/27/06, Emanuele Vecchio <[EMAIL PROTECTED]> wrote: > > > On Mon, 27 Feb 2006 23:0

Re: [ns] wireless2.tcl example in Marc Geis' tutorial

2006-02-27 Thread Sasan
change "../mobility/scene/scen-3-test" in the script to point to the exact location of the scenario file S. On 2/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I tried this example and I got the follwoing error: >

[ns] Compiling error NS-2 on Solaris 9

2006-02-27 Thread Sasan Sahraei
2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `ns' Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems Thanks, Sasan

Re: [ns] is there a methode to calculate number of hops to a route ?

2006-02-27 Thread Sasan Sahraei
Use $ns_ new-trace and then from the trace file -Pf represents the number of hops. S. > > > > hi all , > we want to calculate number of hops in a route , in ns .Is ther a > methode to do this with tcl in ns ? > > Please is there any one to do this ? > > THANK u in advance > > > >

Re: [ns] CBR over TCP ?

2006-02-27 Thread Sasan
TCP has its own estimation of stable link and suitable time to send the packet, so usually it is avoided. at least it is the case with me. S. On 2/27/06, alaeddine abdallah <[EMAIL PROTECTED]> wrote: > > > Hi, > > In my knowledge in NS, we use UDP to simulate CBR traffic since it is a > Consta

Re: [ns] How to calculate the no.of data packets dropped

2006-02-26 Thread Sasan Sahraei
Hi event type = d will represent the dropped packet Sasan > > Hi > I am simulating a modified AODV protocol on NS2. I used trace-all in my > tcl file. Now, I want to calculate the no.of data packets dropped in the > simulation. I am using cbr traffic on UDP connection (traff

[ns] Number of connections with 50 nodes

2006-02-26 Thread Sasan Sahraei
resent multiple hops in a route. Thanks, Sasan

[ns] Number of connections

2006-02-22 Thread Sasan Sahraei
? This could be a variable rate, but I want to know how to I determine this max to have a proper simulated traffic pattern. This is the -mc parameter that I should pass to cbrgen.tcl Thanks, Sasan

[ns] ABR implementation in ns-2

2006-02-21 Thread Sasan Sahraei
Hi, Where can I get the implementation of ABR for ns-2. Thanks, S.