Re: [ns] how to get node_id in classifier.cc in wired network simulation

2009-03-17 Thread Mohammed Abu Hajar
I think you should put it in the implementation code of the designated protocol you need to modify it. Mohammed ABuHajar From: muralikrishna g To: Mohammed Abu Hajar Sent: Tuesday, March 17, 2009 8:36:11 AM Subject: Re: [ns] how to get node_id in

Re: [ns] how to get node_id in classifier.cc in wired network simulation

2009-03-16 Thread Mohammed Abu Hajar
I advice you to implement some simple scenarios with smaller number of nodes also try to analaysis the output file. In wireless environment there are multi node working. All the best, Mohammed AbuHajar From: muralikrishna g To: Mohammed Abu Hajar Sent

Re: [ns] how to get node_id in classifier.cc in wired network simulation

2009-03-16 Thread Mohammed Abu Hajar
use net_id.dump(), this is the code used by the trace mechanism From: muralikrishna g To: NS-mail Sent: Monday, March 16, 2009 11:23:16 AM Subject: [ns] how to get node_id in classifier.cc in wired network simulation hi to all.. i am in need to have node_i

Re: [ns] plot offered load vs. throughput

2009-02-03 Thread Mohammed Abu Hajar
t and...) before starting with your own application. With Best Wishes, Mohammed AbuHajar From: Camilla Fiorese To: Mohammed Abu Hajar Sent: Tuesday, February 3, 2009 6:53:41 PM Subject: Re: plot offered load vs. throughput Dear Mohammed, Thank you for the a

Re: [ns] plot offered load vs. throughput

2009-02-02 Thread Mohammed Abu Hajar
Dear Camilla, Yes, there are a tool called Trace graph http://www.tracegraph.com./used for plotting, but form my experience I advise you to plot your graph using Mathlab program, its effiecient and better, All graphs you had seen in papers are graphed be Matlab software. All the Best, Mohamm

Re: [ns] ns2 environment variables settings in .bashrc file

2009-01-25 Thread Mohammed Abu Hajar
I advice you to work in pure linux operating system. Mohammed AbuHajar From: Arslan Munir To: ns-users@ISI.EDU Sent: Sunday, January 25, 2009 4:41:42 PM Subject: [ns] ns2 environment variables settings in .bashrc file Hi all, I have installed ns2-allinone

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

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] i need help

2008-04-11 Thread Mohammed Abu Hajar
There is a lot of tutorial through the internet you can read it. Regards Mohammed AbuHajar mohamed saad <[EMAIL PROTECTED]> wrote: salam alikom can you help me to run asimulator NS2 i use it first i has written aprogram in text editor and save it as "ex1.tcl" but when i run it by typing "ns ex

Re: [ns] trace files

2007-12-04 Thread Mohammed Abu Hajar
r If I get somthing relevant to your work I will provide you as soon as possible. Regards, Mohammed AbuHajar - Original Message From: suryowibowo.adi <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]> Sent: Wednesday, December 5, 2007 12:36:25 AM Subject: re: trace

[ns] Wireless Communication Books

2007-12-03 Thread Mohammed Abu Hajar
I am searching for electrnics book for the following, if any one have its good to send me B. P. Lathi: Modern Digital and Analog Communication Systems 3/e, Oxford University Press 1998. William Stalling: Wireless Communications and Networks, "Digital Communications: Fundamentals and Ap

Re: [ns] Fwd: help me fix this trace

2007-12-01 Thread Mohammed Abu Hajar
other soultion.. Regards, Mohammed AbuHajar MSc Computer Science University of Northern Virginia - Original Message From: adi suryo wibowo <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]>; NS2 Sent: Saturday, December 1, 2007 12:19:46 AM Subject: Fwd: help me fi

Re: [ns] Re : Yes Sir

2007-11-29 Thread Mohammed Abu Hajar
ane <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2007 8:43:35 PM Subject: Re : Yes Sir Hi, file is attached awk -f fil2.awk out.tr > out2.xgr Thanks - Message d'origine De : Mohammed Abu Hajar <[EMAIL PROTECTED]> À

Re: [ns] help : error

2007-11-28 Thread Mohammed Abu Hajar
Yes Sir, Try to execute the command awk -f f0.awk out.tr > t0.xgr on linux command line prompt including the tcl file, I face this problem previous and solve it later like this Mohammed AbuHajar - Original Message From: loussayef marouane <[EMAIL PROTECTED]> To: ns-users@ISI.EDU Sen

[ns] Yes there is

2007-11-23 Thread Mohammed Abu Hajar
. Regards Mohammed AbuHajar - Original Message From: Nabila khedimi <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2007 3:30:00 PM Subject: RE: OK CBR generator method Thank you very much for your help, your scripts are very

Re: [ns] OK CBR generator method

2007-11-21 Thread Mohammed Abu Hajar
me search about that. Regards. Mohammed AbuHajar - Original Message From: Nabila khedimi <[EMAIL PROTECTED]> To: Mohammed Abu Hajar <[EMAIL PROTECTED]>; ns-users@isi.edu Sent: Wednesday, November 21, 2007 8:48:28 PM Subject: RE: OK just to your knowledge, no problem arises f

Re: [ns] trace using Perl

2007-11-19 Thread Mohammed Abu Hajar
Hi, What do you need to achieve? what is your purpose with perl code? Why do you not using awk or bash scripts, or tracegraph utility. Cheers, Mohammed AbuHajar - Original Message From: alberto de barros <[EMAIL PROTECTED]> To: ns ns-users Sent: Monday, November 19, 2007 6:22:14 PM

Re: [ns] Traffic generation in a proc

2007-11-19 Thread Mohammed Abu Hajar
Hi ns user, Try to wirte the cbr traffic without procedure to show it is correct or not. Like # Traffic Source 1: Mobile node1->node3, flowid=1 set udp1 [new Agent/UDP] $ns_ attach-agent $node_(1) $udp1 $udp1 set class_ 1 $udp1 set fid_ 1 set cbr1 [new Application/Traffic/CBR] $cbr1 attach-agent

Re: [ns] video streaming over wireless

2007-11-14 Thread Mohammed Abu Hajar
See this PDF file, may help you www.stanford.edu/~bgirod/pdfs/Zhu_Girod_EUSIPCO_07.pdf http://hpds.ee.ncku.edu.tw/~smallko/ns2/Evalvid_in_NS2.htm Regards, Mohammed AbuHajar Gloria <[EMAIL PROTECTED]> wrote: Hello, Did any one know how to simulate video streaming over wireless n

Re: [ns] why not response!!!!

2007-11-14 Thread Mohammed Abu Hajar
from my c++ file. thanks again Mohammed Abu Hajar <[EMAIL PROTECTED]> a écrit :Creating random traffic-pattern for wireless scenarios Random traffic connections of TCP and CBR (Constant Bit Rate) can be setup between mobile nodes using a traffic scenario generator script. This tr

Re: [ns] why not response!!!!

2007-11-14 Thread Mohammed Abu Hajar
Creating random traffic-pattern for wireless scenarios Random traffic connections of TCP and CBR (Constant Bit Rate) can be setup between mobile nodes using a traffic scenario generator script. This traffic generator script is available under ~/ns-2.28/indep-utils/cmu-scen-gen and is cal

Re: [ns] why not response!!!!

2007-11-14 Thread Mohammed Abu Hajar
Creating random traffic-pattern for wireless scenarios Random traffic connections of TCP and CBR (Constant Bit Rate) can be setup between mobile nodes using a traffic scenario generator script. This traffic generator script is available under ~/ns-2.28/indep-utils/cmu-scen-gen and is call

Re: [ns] help ! for increase communication rage to 1600 m

2007-08-08 Thread Mohammed Abu Hajar
See the following two web sites for related information: http://hpds.ee.ncku.edu.tw/~smallko/ns2/range_en.htm http://140.116.72.80/~smallko/ns2/11b.htm Mohammed AbuHajar Phitsanu Eamsomboon <[EMAIL PROTECTED]> wrote: My name is Phitsanu from Thailand , I use ns-2 for to do

Re: [ns] CMU Mobility trace error

2007-08-02 Thread Mohammed Abu Hajar
- Make sure you are define path well - recomplie the ns-2 or make new instalation = I use this script to generate secenario file Bash script for generate scenarios make-scenario.sh #!/bin/bash dest_dir="movement" if [ -d $dest_di

Re: [ns] tcl scripts for calcualting

2007-08-02 Thread Mohammed Abu Hajar
Scripts for Getting Results Main script for running the complete simulation run-dsr.sh #!/bin/bash for i in 20 do for j in 120 do clear rm temp.tr rm trace2.nam ./ns compare.tcl -scen movement/scen-50-$j -tfc tra

Re: [ns] Require Awk script for Old Trace Format File

2007-08-01 Thread Mohammed Abu Hajar
nths for simulating 720 files L I ‘ll be grateful to you for ur kind support. Thanks & Regards, - From: Mohammed Abu Hajar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 12:38 PM To: Sofia Iqbal Khanzada Cc: NS_2 Mailing List Subject: Re: [ns] Req

Re: [ns] Require Awk script for Old Trace Format File

2007-08-01 Thread Mohammed Abu Hajar
nths for simulating 720 files L I ‘ll be grateful to you for ur kind support. Thanks & Regards, - From: Mohammed Abu Hajar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 12:38 PM To: Sofia Iqbal Khanzada Cc: NS_2 Mailing List Subject: Re: [ns] Req

Re: [ns] jitter NRL PDF throughput end to end delay

2007-08-01 Thread Mohammed Abu Hajar
ng two networks and want to take NRL as parameter... SO pls tell me which value(larger or smaller) of NRL is better. Thanks.. Regards, Manpreet. On Wed, 18 Jul 2007 Mohammed Abu Hajar wrote : >About Normalized Routing Load (NRL) it is > It is the number of routing packet required to be sen

Re: [ns] Simulation error

2007-08-01 Thread Mohammed Abu Hajar
This problem happen with me also, I advice you to save your trace file into free partition or large free disk space. Mohammed AbuHajar Leonard Tracy <[EMAIL PROTECTED]> wrote: First I should have mentioned that I'm running NS 2.31 on Ubuntu 7.04 The error appears to be more than just w

Re: [ns] Require Awk script for Old Trace Format File

2007-08-01 Thread Mohammed Abu Hajar
Tools and Scripts for Getting Results AWK script to measure send, receive, routing and drop packets. Packet delivery ratio, routing overhead, normalize routing load, average end to end delay. parameters.awk BEGIN { sends=0; recvs=0; routing_packets=0.

Re: [ns] How to calculate packet loss ratio in ns-2

2007-07-29 Thread Mohammed Abu Hajar
7/4/07, Mohammed Abu Hajar <[EMAIL PROTECTED]> wrote: Hi ns-users, How to calculate packet loss ratio in ns-2 trace file ? what its equation? Regards - Don't be flakey. Get Yahoo! Mail for Mobile and always stay con

Re: [ns] how to get node id in classifier

2007-07-18 Thread Mohammed Abu Hajar
on it appears in. ) 2007/7/19, Mohammed Abu Hajar : > Try this: > > printf("net_id = %d",net_id.getNSAddr_t()); > > Mohammed AbuHajar > > rubenjy wrote: > > > when i use the code in classifier.cc > printf("net_id = %s",net_id.dump()); > &g

Re: [ns] how to get node id in classifier

2007-07-18 Thread Mohammed Abu Hajar
through net_id.dump() in other words use: printf("net_id = %s",net_id.dump()); rubenjy <[EMAIL PROTECTED]> wrote: hello, i want to get node id in classifier.cc i don't know how to get node id. so i include node.h and write code (follow) Node* tempnode; int ttmp; if (tempnode){ ttmp=tem

Re: [ns] jitter NRL PDF throughput end to end delay

2007-07-18 Thread Mohammed Abu Hajar
15 Jul 2007 Mohammed Abu Hajar wrote : >Yes, plz see the following awk scripts that calcualate the >following > 6.1 Performance Metrics Used > 6.3.1 Routing Overhead > 6.3.2 Normalize Routing Load > 6.3.3 Packet Delivery Fraction > 6.3.4 Average End to End delay > 6.3.5 Jitte

[ns] jitter NRL PDF throughput end to end delay

2007-07-15 Thread Mohammed Abu Hajar
Yes, plz see the following awk scripts that calcualate the following 6.1 Performance Metrics Used 6.3.1 Routing Overhead 6.3.2Normalize Routing Load 6.3.3Packet Delivery Fraction 6.3.4Average End to End delay 6.3.5 Jitter 6.3.6 Drop Packets 6.3.7

[ns] Is there any difference between drop packet and packet loss

2007-07-08 Thread Mohammed Abu Hajar
Hello ns-users, Is there any difference between drop packet and packet loss? Thanks - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.

[ns] plot offered load vs. throughput

2007-07-04 Thread Mohammed Abu Hajar
Hi ns-users, I want to plot the relation between offered load and throughput ? , but before that how can I generate offered load in kb/s? Regards - Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.

[ns] How to calculate packet loss ratio in ns-2

2007-07-04 Thread Mohammed Abu Hajar
Hi ns-users, How to calculate packet loss ratio in ns-2 trace file ? what its equation? Regards - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.

[ns] Ssendfailure Error message DSR

2007-06-28 Thread Mohammed Abu Hajar
Hello ns users, I am doing simulations using DSR routing protocol. The simulation time is 900 s, but the simulations never finishs ometimes, it appears a fail message like the following: SSendFailure 2177. _5_ -XX- 5:0 44:0 5->4 1 2 2 3 [|5 4 7 6 12 44] Can any one tell me where th

[ns] What 's mean by this? In DSRAgent.cc File

2007-05-17 Thread Mohammed Abu Hajar
What 's mean by this? if (srh->flow_header()) handleFlowForwarding(p); else if (!srh->num_addrs()) handleDefaultForwarding(p); Thanks in advance - Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.

[ns] What is the purpose of these functions written in DSRAgent.cc file

2007-05-17 Thread Mohammed Abu Hajar
Hi all, What is the purpose of these functions written in DSRAgent.cc file: 1- processFlowARS(const Packet *packet) 2- tap ( const Packet *packet) 3- diff_subnet(ID dest, ID myid) Regards - Now that's room service! Choose from over 1

[ns] How print the sending node that send the message. DSRAgent ?

2007-05-15 Thread Mohammed Abu Hajar
Hello All, To print the current executing node in DSRAgent.cc file I use node_id.dump() , But how to print the sending node that send the message. Thanks - Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.

[ns] printing route cache

2007-05-12 Thread Mohammed Abu Hajar
Hello all, I want to printing the route cache of dsr protocol for each node , If any one do that before Thanks - The fish are biting. Get more visitors on your site using Yahoo! Search Marketing.

[ns] printing route cache

2007-05-12 Thread Mohammed Abu Hajar
Hello all, I want to print the route cache table of dsr protocol, have any one do that before? Thanks - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

[ns] RREQ DSRAgent

2007-05-10 Thread Mohammed Abu Hajar
Hi all, I'd like to ask what is the name of the first function that initialize Route Request message in DSRAgent.cc file. Thanks - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos.

[ns] print routing table

2007-05-10 Thread Mohammed Abu Hajar
Hello all ns-users, I'd like to print the routing table for each node ,I am using DSR protocol,so is there a ready function that print the routing table? Also I want to add a field in the RREQ , RREP messages of DSR protocol , Which struct or class that handle this structure. Thank

Re: [ns] error while executing qaodv routing protocol

2007-05-01 Thread Mohammed Abu Hajar
Yes I am now working also at providing AODV QoS extensions , I am face this error , so make sure that you define and put your defined function in the correct place. *.h file for define variables - *.cc for implementation code . also you can trace your code by using pintf statement like : p

[ns] Tracing code

2007-04-30 Thread Mohammed Abu Hajar
Dear NS-Users, How can I do tracing for my code execution in ns-2 simulator, like in c language , i was press on F7 key and trace my c code line by line , so how can I do this. Regards to all - Ahhh...imagining that irresistible "new car" smell?

[ns] NS-2 currently does not include ?

2007-04-19 Thread Mohammed Abu Hajar
Hi ns-2 users, What this statement mean " NS-2 currently does not include and consider node statistics during simulation runtime (dynamic node updates). Thanks - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! A

[ns] Similarity & Differece Between DSR & AODV

2007-04-19 Thread Mohammed Abu Hajar
Hi all ns-users, Can any one tell me what exactly are the similarity and differences between DSR and AODV ad hoc routing protcool. Any possible help is appreciated Thanks - Ahhh...imagining that irresistible "new car" smell?

[ns] Adding QoS extensions to DSR Protocol

2007-04-18 Thread Mohammed Abu Hajar
Hello all, I want to take the QoS Model that already implemented on AODV protocol and put it on DSR protocol (in other words, adding some QoS extension to DSR protocol). after that I will do a modification on DSR protocol already implement and do a simulation for DSR with QoS & without Qo

[ns] Adding QoS to DSR Protocol

2007-04-18 Thread Mohammed Abu Hajar
Hello all, I want to take the QoS Model that already implemented on AODV protocol and put it on DSR protocol (in other words, adding some QoS extension to DSR protocol). after that I will do a modification on DSR protocol already implement and do a simulation for DSR with QoS & without Qo

Re: [ns] Lucents WaveLAN propagation model

2007-04-18 Thread Mohammed Abu Hajar
ts related to this point. please see the attach file to see my figures Regards Daniel Mahrenholz <[EMAIL PROTECTED]> wrote: Mohammed Abu Hajar schrieb: > How can I implement(write) Lucent’s WaveLAN propagation model in ns-2 tcl > script file?, is it like: > set opt(prop) Pr

[ns] how to computer the Transmission range

2007-04-13 Thread Mohammed Abu Hajar
Hi All, Is there any utility in NS-2 that compute the transmission range of a wireless node like in glomosim simulator you type at the command line: radio_range config.in it's gives the range in m like 375m. Thanks - Ahhh...imagining that irresi

[ns] Lucents WaveLAN propagation model

2007-04-13 Thread Mohammed Abu Hajar
Dear all ns-users, How can I implement(write) Lucent’s WaveLAN propagation model in ns-2 tcl script file?, is it like: set opt(prop) Propagaion/TwoRayGround, or set opt(prop) Propagaion/FreeSpace, or set opt(prop) Propagaion/Shadowing. My Regards to all.

[ns] Need iNSpect tool

2007-04-12 Thread Mohammed Abu Hajar
hello sir, I want iNSpect tool for my research, how can I get it? Regards - Don't get soaked. Take a quick peak at the forecast with theYahoo! Search weather shortcut.