[ns] Help with modify_p function in RED

2015-07-08 Thread Keerthi M

Could someone please help me understand the modify_p function in code for
RED. Why is this function called after calculate_p_new

Keerthi


[ns] help to implement ENFAT-AODV protocol

2015-05-10 Thread israe iken

i have to implement enfat-aodv protocol using aodv packets,so i should add
the backup route. pllz tell me what does this function must contain


[ns] Help to add new protocol in ns2

2015-04-25 Thread israe iken

Hi every body
I have to implement  enfat-aodv protocol in ns2 for that i should add some
fonctions in files aodv.h and aodv.cc the thing that i don't know how to do

this is the example i'm working in, please help me and thanks in advance.



*set ns [new Simulator]*

*# Create a nam trace datafile.*

*set namfile [open AODV_final.nam w]*

*set Time [open time.tr http://time.tr w]*

*#This Block Is For Congestion Window Trace file. Here 5 sample trace file*

*set cwnd1 [open cwnd1.tr http://cwnd1.tr w]*

*set cwnd2 [open cwnd2.tr http://cwnd2.tr w]*

*set cwnd3 [open cwnd3.tr http://cwnd3.tr w]*

*set cwnd4 [open cwnd4.tr http://cwnd4.tr w]*

*set cwnd5 [open cwnd5.tr http://cwnd5.tr w]*

*#This Block Is For Bandwidth Calculation Trace file. Here 5 sample trace
file*

*set b1 [open b1.tr http://b1.tr w]*

*set b2 [open b2.tr http://b2.tr w]*

*set b3 [open b3.tr http://b3.tr w]*

*set b4 [open b4.tr http://b4.tr w]*

*set b5 [open b5.tr http://b5.tr w]*

*$ns namtrace-all $namfile*

*# - Setup wireless environment. *

*set wireless_tracefile [open AODV_final.trace w]*

*set topography [new Topography]*

*$ns trace-all $wireless_tracefile*

*$ns namtrace-all-wireless $namfile 3000  1600 *

*$topography load_flatgrid 3000  1600*

*#TN means Total number of  wireless node*

*global TN*

*set TN 21*

*set god_ [create-god $TN]*

*#global node setting*

*$ns node-config -adhocRouting AODV \*

* -llType LL \*

* -macType Mac/802_11\*

* -ifqLen 50 \*

* -ifqType Queue/DropTail/PriQueue \*

* -antType Antenna/OmniAntenna \*

* -propType Propagation/TwoRayGround \*

* -phyType Phy/WirelessPhy \*

* -channel [new Channel/WirelessChannel] \*

* -topoInstance $topography \*

* -agentTrace ON \*

* -routerTrace ON \*

* -macTrace ON \*

* -movementTrace ON*

*# Create wireless nodes.*

*#I have used few loop and to set in  diffrent position i have use few
defined value*

*#Here X and Y is the axix*

*set x1 150*

*set y1 150*

*set x2 150*

*set y2 250*

*set x3 150*

*set y3 350*

*set x4 150*

*set y4 450*

*set x5 350*

*set y5 150*

*set x6 350*

*set y6 250*

*set x7 350*

*set y7 350*

*set x8 350*

*set y8 450*

*set x9 550*

*set y9 150*

*set x10 550*

*set y10 250*

*set x11 550*

*set y11 350*

*set x12 550*

*set y12 450*

*set x13 750*

*set y13 150*

*set x14 750*

*set y14 250*

*set x15 750*

*set y15 350*

*set x16 750*

*set y16 450*

*set x17 950*

*set y17 150*

*set x18 950*

*set y18 250*

*set x19 950*
*set y19 350*

*set x20 950*

*set y20 450*

*set x21 1100*
*set y21 300*

*#Setting node position block*

*for {set i 0} {$i  $TN} {incr i} {*

*set node($i) [$ns node]*

*$node($i) random-motion 0*

*$ns at 0.0 $node($i) label Node_($i)*

*$ns initial_node_pos $node($i) 50.00*

*}*

*for {set j 0} {$j  $TN} {incr j} {*

* set Tcp($j) [new Agent/TCP]*

*$ns attach-agent $node($j) $Tcp($j)*

*$ns color 1 black*

*$Tcp($j) set fid_ $j*

*$Tcp($j) set packetSize_ 512*

*$Tcp($j) set window_ 20*

*$Tcp($j) set windowInit_ 1*

*$Tcp($j) set maxcwnd_ 0*

*#Set TCPSink*

*set TcpSink($j) [new Agent/TCPSink]*

*$ns attach-agent $node($j) $TcpSink($j)*

*$TcpSink($j) set packetSize_ 210*

*#Set Trafic Source*



*set Ftp($j) [new Application/FTP]*

*$Ftp($j) attach-agent $Tcp($j)*

*$Ftp($j) set maxpkts_ 2048*

*}*





* for {set j1 0} {$j1  $TN} {incr j1 21} {*

* incr x1 0*

* incr y1 150*

* $node($j1) set X_ $x1*

* $node($j1) set Y_ $y1*

*$node($j1) set Z_ 0*

* $node($j1) color green*

*$ns at 0.00 $node($j1) setdest $x1 $y1 0.00*



* }*



* for {set j2 1} {$j2  $TN} {incr j2 21} {*

* incr x2 0*

* incr y2 140*

* $node($j2) set X_ $x2*

* $node($j2) set Y_ $y2*

*$node($j2) set Z_ 0*

* $node($j2) color blue*

*$ns at 0.00 $node($j2) setdest $x2 $y2 0.00*

* }*




* for {set j3 2} {$j3  $TN} {incr j3 21} {*

* incr x3 0*

* incr y3 140*

* $node($j3) set X_ $x3*

* $node($j3) set Y_ $y3*

*$node($j3) set Z_ 0*

* $node($j3) color red*

*$ns at 0.00 $node($j3) setdest $x3 $y3 0.00*

* }*



* for {set j4 3} {$j4  $TN} {incr j4 21} {*

* incr x4 0*

* incr y4 150*

* $node($j4) set X_ $x4*

* $node($j4) set Y_ $y4*

*$node($j4) set Z_ 0*

* $node($j4) color blue*

*$ns at 0.00 $node($j4) setdest $x4 $y4 0.00*

* }*






* for {set j5 4} {$j5  $TN} {incr j5 21} {*

* incr x5 0*

* incr y5 140*

* $node($j5) set X_ $x5*

* $node($j5) set Y_ $y5*

*$node($j5) set Z_ 0*

* $node($j5) color black*

*$ns at 0.00 $node($j5) setdest $x5 $y5 0.00*

* }*



* for {set j6 5} {$j6  $TN} {incr j6 21} {*

* incr x6 0*

* incr y6 150*

* 

Re: [ns] Help to add new protocol in ns2

2015-04-25 Thread knudfl

 @ israe iken
 enfat-aodv

The text you show looks like a simulation file, AODV_final.tcl, which you
can get here
http://www.28im.com/cpp/a3714481.html
... There is one typo in AODV_final.tcl. I have uploaded the edited file
as AODV_final-1.tcl.txt.
Link 
https://drive.google.com/file/d/0B7S255p3kFXNY1owekgtXzNxREU/view?usp=sharing

About ENFAT-AODV : There is some code here ...
http://www.academia.edu/7706617/wireless_sensor_network_report_on_implementation_of_ENFANT-AODV_on_TOSSIM
→ →  And you can download the report as `Final_stage3_2.doc´, to get the
code.
** I have no idea if the code is usable in ns2.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Help-to-add-new-protocol-in-ns2-tp29941p29943.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] help to understand the code of all AODV protocole files

2015-03-25 Thread israe iken

i tryed hardly to understand it but it's so difficult and complicated
.please reply me becuase i need it soon.where can i found my question and
the replies.and also I am  beginner in ns2, and i want to learn it quickly
because i need it in my project.
 so i want to guide me what topics must i start reading? and i want to know
the steps to run any example in ns2 under windows 7 .
 i want to know how to run aodv and enfat-aodv, and show how it work in ns2
,because my project is to adjust some feauters in aodv and enfat-aodv
protocol.
please help me and reply me soon because i need it quickly.
thanks very much.
thanks very much.


[ns] help needed to add a Mac framework in ns-2 for wsns

2014-12-22 Thread saira arif











hi

i am working to add a MAC framework in ns-2 with following properties

1) i need to make a cluster with two types of nodes( types in terms of 
priority, 1 is transmitter and other is transceiver) and a sink node 
2)on sink and source nodes i need to configure PNRG (pseudo random number 
generator strategy) and nodes need to share their seed value, node ID etc with 
sink so that sink can schedule transmission schedule for nodes. how to make it 
work on ns-2 ?


 i am attaching my paper please suggest how to start coding for it in ns-2.

Regards










  

[ns] Help please--Strict Priority Queuing Implementation in NS-2

2014-10-17 Thread i kok

I need help doing priority queue in ns 2.35, I have 4 type traffic data
packet, and want to classify them it s priorty like this link..
http://mpls-tp.com/priority_queue/#comments


thanks..


[ns] Help request in compilation a source code

2014-06-10 Thread Johnny Shahin

Dears,

I try compile the source code for Directional MAC, but I encountered a
problem says:
/home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h:
In function 'EnergyModel* em()':
/home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h:143:34:
error: 'node' was not declared in this scope
  EnergyModel* em() { return node()-energy_model(); }
  ^
/home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h: At
global scope:
/home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h:145:2:
error: 'friend' used outside of class
  friend class Sleep_Timer;
  ^
/home/johnnysh/Desktop/ns-allinone-2.35/ns-2.35/mac/wireless-phy.h:147:1:
error: expected declaration before '}' token
 };
 ^
make[2]: *** [libdirectional_mac_la-directional_mac.lo] Error 1
make[2]: Leaving directory `/home/johnnysh/Downloads/directionalMac/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/johnnysh/Downloads/directionalMac/src'
make: *** [all-recursive] Error 1

Please help as soon as possible
Thank you

-- 
Johnny Shahin
Computer and Telecommunication Engineer



[ns] Help in ns2 project

2014-05-22 Thread mohammad_w2000

Hi there,
A friend of mine who wants to develop a project in ns-2 for money. He would 
appreciate any serious help. 
Please contact me if you can help.
Thank you






[ns] Help friends (S.O.S)

2014-02-21 Thread Magdy Fares

Please my friends,
I have a big problem in implementing my new algorithm using NS2.
I
 am using a wire-based network, and I want to generate a large number of
 nodes to simulate the real life, but I do not know how to generate 
these huge number of nodes.
I have read in one paper that we can use 
topological data obtained from Lumeta project, but I do not now how to 
get these topologies.

Pleasse, I need help from all of you.
Thanks in advance

Magdy


[ns] help regarding mannnasim and leach protocol for sensor networks

2014-01-29 Thread saurabh mittal

anybody there to tell whether mannasim is compulsory to be used or it is 
optional for simulation of sensor networks using ns2.34
Also I would like to expect help from ns2 users about how to make my leach 
protocol work for ns2.34

 
Saurabh Mittal


[ns] Help needed please

2014-01-15 Thread Uche Kingsley

Hi,

I'm new to ns2 and I really need help.

What I want to achieve using the ns2 is to add tags to each packets with
different priorities (high or low). When the nodes forwards the packets to
the intermediate node, the intermediate node will have a kinda filter
algorithm which will filter the packets and forward the packets with high
priority to the sink. In this case, the data in the high priority packet
will not be lost. Also plotting the graph showing the packets dropped and
throughput achieved. The nodes would be arranged like n0,n1,n2 connected to
n3(intermediated node) and n3 connected to n4(sink). Main aim is to achieve
fairness and conserve energy as well,

Thanks


[ns] Help my friends....

2014-01-10 Thread Magdy Fares

How are you all?

Please my friends, I need your urgent help, since I am developing a new 
algorithm to defend against DDoS attacks. And I need to create a large number 
of nodes to simulate real network world.

And I read in one papers that they use Topological data developed by Lumeta 
Corporation.

So please I want to know how to get these topological data and how could I use 
it in NS2.

Please friends, waiting for your important reply.

Thanks in advance.

Eng. Magdy


[ns] Help friends !!!

2014-01-04 Thread Magdy Fares

Hi,
I am working in a wire-based topology, and I need each node in the topology to 
has a unique 16 bits ID.

Actually I have a huge number of nodes in my topology. And I will use this 16 
bits ID in future work. Is there any way to do this in NS2.


Many thanks in advance

Eng. Magdy


Re: [ns] Help friends !!!

2014-01-04 Thread jose nmrd

Hi, 
there is a unique node ID generated by NS2 for the nodes during their creation. 
it's an int. and since  a short int is 16 bits, an int is 32 bits, and a long 
int is 64 bits. i suppose by acceding the class Node in the c++ hierarchy and 
setting the int nodeid_ member as short int nodeid_, you will get what u 
want (NS2 will generate the id as short int (16 bits)). of course you have to 
recompile...

 Date: Sat, 4 Jan 2014 12:32:41 -0800
 From: mfare...@yahoo.com
 To: ns-users@ISI.EDU
 Subject: [ns] Help friends !!!
 
 
 Hi,
 I am working in a wire-based topology, and I need each node in the topology 
 to has a unique 16 bits ID.
 
 Actually I have a huge number of nodes in my topology. And I will use this 16 
 bits ID in future work. Is there any way to do this in NS2.
 
 
 Many thanks in advance
 
 Eng. Magdy
  


[ns] Help my friends

2013-11-03 Thread Magdy Fares

Please, i implemented a new technique for filtering packets in a wired-based 
network. And I want to test the efficiency of this technique by measuring the 
no. of false positive and false negative as you know.

And to do that, I need a huge number of nodes in the simulation.

So the question is: How could I create this huge no. of nodes in the simulation?
Am I should create them manually, node by node, which will be a big problem to 
create this huge no.
Or, is there another way in NS2 to do this for me?

Please, waiting for your important reply.

Eng. Magdy Fadel


Re: [ns] help about Evalvid

2013-08-22 Thread suneel23

Can i have information about Evalvid-SCTP tool it is cited in my papers  but
its sourcecode or toolsis not avaliable to me if any one has please provide
methe deatils



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/help-about-Evalvid-tp10609p27532.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] help- AODV protocol

2013-07-08 Thread shalom

Hey!


I think this link can be useful
http://mailman.isi.edu/pipermail/ns-users/2011-September/071004.html

Hope it will help!



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/help-AODV-protocol-tp27095p27265.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] help-neighbor table

2013-06-06 Thread Vimala Jose

Hi everyone,
  I am trying to implement detection of RREQ packet dropper. For that, I
need to store all the neighbors of each node in the network. I have found
that we got a neighbor table already in AODV. I am able to print it. But
what I want is, to store that table along with a new field in it called
FLAG . Whenever a node 'A' receives a route request or RREP from a node
'B', B must update in its neighbor table , the flag corresponding to 'A' as
1. For this, how can I retrieve from the existing neighbor table and how
can I add a new field to that neighbor table. If anyone knows about this,
please help me. It was really urgent for my project.


Regards,
  Sony


[ns] Help-Neighbor table

2013-06-06 Thread Vimala Jose

Hi,

I am trying to implement detection of RREQ packet dropper. For that, I need
to store all the neighbors of each node in the network.  I have found that
we got a neighbor table already in AODV. I am able to print it. But what I
want is, to store that table along with a new field in it called FLAG .
Whenever a node 'A' receives a route request or RREP from a node 'B', B
must update in its neighbor table , the flag corresponding to 'A' as 1.
For this, how can I invoke the existing neighbor table  at recvRequest()
function in AODV and how can I add a new field to that neighbor table. If
you have any suggestion about this, please help me. It was really urgent
for my project.


Regards,
  Sony


Re: [ns] Help-Neighbor table

2013-06-06 Thread duachuot30_4

I think i can help you
1) in file aodv_rtable.h: you can add FLAG field to neighbor table:
class AODV_Neighbor {
   //some code... 
   // 
double  nb_expire;  // ALLOWED_HELLO_LOSS *
HELLO_INTERVAL
booleanFLAG;   //New field: FLAG
};
2) in recvRequest() function (aodv.cc):
puts some code like:
AODV::recvRequest(Packet *p){
   //some code ...
   //.
   AODV_Neighbor *nb; 
   nb = nb_lookup(ch-prev_hop_);
  if(nb != 0) { 
  nb-FLAG = 1;
  }
  //.
}



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Help-Neighbor-table-tp27086p27088.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] help- AODV protocol

2013-06-06 Thread Gomathi Rajamanickam

Hi,
I am working in AODV protocol. How to count no of neighbor nodes for
each node in aodv.  please, can anyone help me.

Regards
   Gomathi


[ns] help-to create a table for maintaining neighbor list

2013-05-28 Thread Gomathi Rajamanickam

Sir,
 I am an M.tech student. Your posts are very much helpful for a beginner
like me in NS2. As a part of my project,I have to maintain all the neighbor
nodes of all nodes in the network. Since I have to maintain neighbor node
corresponding to each node, I gave a two dimensional array for that. I am
working in AODV protocol. Whenever the insert function of recvHello() is
called my function add() will also be called. But it is showing errors.
Sir, is it possible to give two dimensional arrays with type nsaddr_t in
NS2? Could you please help me to solve this problem? Thanks for your
valuable time.

Regards, Sony


Re: [ns] Help for send H.264 video via NS 2

2013-05-23 Thread Srinivas Kanakala

visit www.csestudent.co for help on NS2  

On Thursday, March 22, 2012 8:06:59 AM UTC+5:30, suci wrote:


 hi all, i've final project about crosslayer in ns-2.29 use h.264/AVC video
 I am also new to myevalvid. I tried to use this in cygwin in windows, it is
 working fine. xvid, MP4BOX, mp4trace are available only in exe format
 but when i use etmp4 with this command 
   $./etmp4.exe sd_foreman_0 rd_foreman_0 modified.st foreman_qcif.mp4
 foreman_qcife
 come to be error

   **etmp4.exe has encountered a problem and needs to close.  We are sorry
 for the inconvenience.
  

  

 but before that, i've done the command

  $./mp4trace -f -s 192.168.0.2 12346 foreman_qcif.mp4  modified.st

   

  **Track 1: VideoH.264  - 176x144 pixel,391 samples, 00:00:13.033

 Track 2: Hint RTP - 391 samples, 00:00:13.033

  

 in modified.st only have I and P layer

  

 what could be the problem here?

  

 suci ramadona

 politeknik caltex riau

 Indonesia

  



Re: [ns] Help for send H.264 video via NS 2

2013-05-23 Thread Srinivas Kanakala

visit www.csestudent.com forhelp on NS2 

On Thursday, May 2, 2013 3:04:41 PM UTC+5:30, Suneel Kumar Kareti wrote:

 CAn any one help me?

 On Thursday, March 22, 2012 3:36:59 AM UTC+1, suci wrote:


 hi all, i've final project about crosslayer in ns-2.29 use h.264/AVC video
 I am also new to myevalvid. I tried to use this in cygwin in windows, it 
 is
 working fine. xvid, MP4BOX, mp4trace are available only in exe format
 but when i use etmp4 with this command 
   $./etmp4.exe sd_foreman_0 rd_foreman_0 modified.st foreman_qcif.mp4
 foreman_qcife
 come to be error

   **etmp4.exe has encountered a problem and needs to close.  We are sorry
 for the inconvenience.
  

  

 but before that, i've done the command

  $./mp4trace -f -s 192.168.0.2 12346 foreman_qcif.mp4  modified.st

   

  **Track 1: VideoH.264  - 176x144 pixel,391 samples, 00:00:13.033

 Track 2: Hint RTP - 391 samples, 00:00:13.033

  

 in modified.st only have I and P layer

  

 what could be the problem here?

  

 suci ramadona

 politeknik caltex riau

 Indonesia

  



[ns] help my friends

2013-05-15 Thread Magdy Fares

please my fiends,
How could i read a field from each packet as they passes through each node in 
the simulation,
where could i add a function to do this

please help
Magdy Fadel


[ns] help for awk script

2013-04-23 Thread Khadijeh Arabi

Hi all
How can write awk script for get energy consumption of aodv?
Thanks


[ns] help regarding ns2; from application extended class thread function

2013-04-01 Thread Usama Iqbal

Hello sir, and hope that this mail finds u in best of health
i need your help regarding ns-2.33; i am doing a project which i want to
simulate on ns2.
It is over-layered application stack, in which data is read from file in
thread function,
and after manipulation in extra added classes forwards its packet to
NS2-application layer, from which it is send to
agent- aodv- and then to next node, this works fine for some packets but
then it gives me scheduler going backwards
in time
PLZ help me, i need that urgently


[ns] Help for project work

2013-03-21 Thread Vidya S

hi sir,

How to drop packets for certain period?


[ns] Help for SYN and Smurf attack

2013-03-21 Thread Vidya S

Hi...

I want codes to implement SYN and SMURF attack.

Regards,
vidya


[ns] help me

2013-02-14 Thread masood jan

i install ns 2.35 and the patches of the followoing protocols
zone routing protocol ,location aid routing and power aware routing

-- 
*MASOODJAN
MSCE FROM IQRA UNIVERSITY
BSIT FROM PESHAWAR UNIVERSITY
DISTRICT/TEHSIL CHARSADDA *


[ns] help me sir

2013-02-13 Thread masood jan

i need the patch of the following protocols
zone routing protocol , location aid routing and power aware routing

-- 
*MASOODJAN
MSCE FROM IQRA UNIVERSITY
BSIT FROM PESHAWAR UNIVERSITY
DISTRICT/TEHSIL CHARSADDA *


[ns] help me

2013-02-13 Thread masood jan

  i install ns2.35 in ubuntu i need the following protocols patches
zone routing protocol , location aid routing and power aware routing
thank in advance
*MASOODJAN
MSCE FROM IQRA UNIVERSITY
BSIT FROM PESHAWAR UNIVERSITY
DISTRICT/TEHSIL CHARSADDA *


Re: [ns] Help Needed regarding the BackOff

2012-12-24 Thread Sai Bhyravajosyula

On Monday, December 24, 2012, Sai Bhyravajosyula sbhyr...@asu.edu wrote:
 Hi All
 I am modifying backoff Algorithm
 I have a simple network of 3 parallel flows . THe flow in the middle
scenario.
 I tried to increase the fairness by tweaking the backoff.
 Now i need to see whether the transmitter is backing off or not.
 I need to know is there any way to check whether node has been backed off
in transmission or not.
 Please help me
 Thanks


 --
 Bhyravajosyula Sai Vishnu Kiran
 MS in Computer Science
 mail-id:  sbhyr...@asu.edu


-- 
Bhyravajosyula Sai Vishnu Kiran
MS in Computer Science
mail-id:  sbhyr...@asu.edu


Re: [ns] help for IPsec implementation in NS2

2012-12-06 Thread smile

Hi sir, 
did you find a solution for your problem, I am facing the same problem.
Thx in advance for sharing us a solution .



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/help-for-IPsec-implementation-in-NS2-tp9831p25888.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] [help]Required the basic code of IAMR for NS2

2012-11-15 Thread maco

 Hi ,everyone
 who can provide source code of IAMR for NS2,IAMR means Interference Aware 
Multipath Routing Protocol for
Wireless Sensor Networks that can run in ns-2.34 or ns-2,35.
 Thanks for your help!

 Best regards,


   maco











[ns] [help]Required the source code of IAMVD for NS2

2012-11-14 Thread maco

 Hi ,everyone
 who can provide source code of IAMVD for NS2,IAMVD means 
Interference-Aware Multipath routing for Video Delivery that can run in ns-2.34 
or ns-2,35.
 Thanks for your help!

 Best regards,


   maco








[ns] help for IPsec implementation in NS2

2012-11-07 Thread mehdi abbasi




Hello Dear Friends

I need to use of IPSec protocol (with IKE or MOBIKE) in my simulation model in 
the NS-2.32. Where can I find the code for this protocol? and guidance me to 
add this Protocol in the NS-2.32 Simulator.
I have urgent need for this protocol.
please help me
regards...


[ns] [help]Required the source code of IAMVD for NS2

2012-11-07 Thread maco

 Hi ,everyone
 who can provide source code of IAMVD for NS2,IAMVD means 
Interference-Aware Multipath routing for Video Delivery that can run in ns-2.34 
or ns-2,35.
 Thanks for your help!

 Best regards,


   maco





[ns] [help]Required the source code of IAMVD for NS2

2012-11-05 Thread maco

 Hi ,everyone
 who can provide source code of IAMVD for NS2,IAMVD means 
Interference-Aware Multipath routing for Video Delivery that can run in ns-2.34 
or ns-2,35.
 Thanks for your help!

 Best regards,


maco 


[ns] help with errormodule

2012-10-24 Thread Rocío R


Hi,
what's the difference between errormodel and errormodule?
I find an example with the code:
set emod [$lossylink_ errormodule]
set errmodel [new ErrorModel/Periodic]
$errmodel unit pkt
$errmodel set offset_ 10
$errmodel set period_ $interval
$ns at $changetime $errmodel set period_ 1
$emod insert $errmodel
$emod bind $errmodel 0

but I can't find what means insert and bind. 
Where can I look for those commands?

Thaks everyone.

Rocío

  


[ns] help with tracing

2012-10-18 Thread Rocío R








Hi everyone:

I need some help with tracing, because I don't know where to look for commands 
for tracing flows.
I found in some slides that use makeflowmon command, but, it isn't in the ns2 
manual.
Where can I find the documentation from this command and those related with 
this?

Thaks for all.

Rocío.

  


Re: [ns] help with PSM

2012-10-14 Thread ammar masri

I am trying to simulate the IEEE Power Saving Mode (PSM). I found an add on
to the ns2.33 that simulates this protocol.It works fine when all nodes are
wireless. However, if the AP is wired-connected to another node, it fails.
I found out that the ARPing is not working. Neither the wired node nor the
wireless node can send to each other. I tried to update the ARP table of
each node, but I failed. I am using Ubuntu 10.04.
Can any one help me with solving this problem? Thank you in advance.



-- 
Mohamed Ammar Al Masri
Electrical and Computer Engineering
Schulich School of Engineering
University of Calgary
2500 University Drive, NW
Calgary, AB
Canada T2N 1N4


[ns] Help .. Error running wireless protocols in ns2.

2012-10-13 Thread Marllus Lustosa

Em 13/10/12 21:00, ns-users-requ...@isi.edu escreveu:

Hi, Vivek!

Please, post your script file .tcl.

 Message: 1
 Date: Sat, 13 Oct 2012 10:25:56 +0530
 From: vivek arya 1viveka...@gmail.com
 Subject: [ns] Help .. Error running wireless protocols in ns2.
 To: ns-users@isi.edu
 Message-ID:
   cahp5+uzy4wfzu6pbt3urwbxznw1xh+nkolyb-yfwkr_5m+p...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 I get the following error in terminal when i execute my file..

 ns dsdv-example.tcl
 num_nodes is set 3
 invalid command name -macType
 while executing
 -macType $val(mac) \
 -ifqType $val(ifq) \
 -ifqLen $val(ifqlen) \
 -antType $val(ant) \
 -propType $val(prop) \
 -phyType $val(netif) \
 -chann...
 (file dsdv-example.tcl line 39)

 what is this error.. can anybody help..
 Google did not help..
 Thnx in advance


 --

 Message: 2
 Date: Sat, 13 Oct 2012 03:06:28 -0700 (PDT)
 From: sukhalid sukha...@gmail.com
 Subject: [ns]  How to patch GPSR routing protocol to ns-2.35
 To: ns-users@isi.edu
 Message-ID: 34541231.p...@talk.nabble.com
 Content-Type: text/plain; charset=us-ascii


 Hi,
 I have patched GPSR to ns-2.35 using keliu' code. It works fine with given
 tcl file. I need to move nodes according to mine own mobility scenario and
 compare them to AODV protocol.
 I have two problems
 1. I don't understand what this command in gpsr.tcl file means

 proc gpsr-create-mobile-node { id args } {
   .   
 if [info exists opt(energy)] {
   $node addenergymodel [new $opt(energy) $node 10 0.5 0.2]}
   .

 What are these figures (0.5, 0.2), are these energy consumed in reception
 and transmission or some thing else.

 Secondly I want move mobile node created using proc defined in gpsr.tcl file
 according to my own mobility plan e.g.

 $ns_ at 0. $node_(0) setdest 144.816950690450 20.073824649527
 0.324133202939
 $ns_ at 0. $node_(1) setdest 93.957720171475 192.140808646867
 1.452613500562
 $ns_ at 12.158688172971 $node_(23) setdest 113.137798368154 39.443538618334
 0.902003496971
 $ns_ at 14.805074599534 $node_(2) setdest 152.227654369397 20.766089279052
 1.742469780423

 But when I run simulation it gives error like this:

 Load complete...
 Starting Simulation...
 ns: _o18 setdest 144.816950690450 20.073824649527 0.324133202939:
 (_o18 cmd line 1)
 invoked from within
 _o18 cmd setdest 144.816950690450 20.073824649527 0.324133202939
 invoked from within
 catch $self cmd $args ret
 invoked from within
 if [catch $self cmd $args ret] {
 set cls [$self info class]
 global errorInfo
 set savedInfo $errorInfo
 error error when calling class $cls: $args $...
 (procedure _o18 line 2)
 (SplitObject unknown line 2)
 invoked from within
 _o18 setdest 144.816950690450 20.073824649527 0.324133202939

 Urgent help is needed please







Re: [ns] Help .. Error running wireless protocols in ns2.

2012-10-13 Thread metagoth


Here is the code..

# Define options
set val(chan)   Channel/WirelessChannel;# channel type
set val(prop)   Propagation/TwoRayGround   ;# radio-propagation
model
set val(netif)  Phy/WirelessPhy;# network interface type
set val(mac)Mac/802_11 ;# MAC type
set val(ifq)Queue/DropTail/PriQueue;# interface queue type
set val(ll) LL ;# link layer type
set val(ant)Antenna/OmniAntenna;# antenna model
set val(ifqlen) 50 ;# max packet in ifq
set val(nn) 3  ;# number of mobilenodes
set val(rp) DSDV   ;# routing protocol
set val(x)  500;# X dimension of topography
set val(y)  400;# Y dimension of topography 
 
set val(stop)   150;# time of simulation end

set ns[new Simulator]
set tracefd   [open simple.tr w]
set windowVsTime2 [open win.tr w] 
set namtrace  [open simwrls.nam w]

$ns trace-all $tracefd
$ns namtrace-all-wireless $namtrace $val(x) $val(y)

# set up topography object
set topo   [new Topography]

$topo load_flatgrid $val(x) $val(y)

create-god $val(nn)

#
#  Create nn mobilenodes [$val(nn)] and attach them to the channel. 
#

# configure the nodes
$ns node-config -adhocRouting $val(rp) \
 -llType $val(ll) \
 -macType $val(mac) \
 -ifqType $val(ifq) \
 -ifqLen $val(ifqlen) \
 -antType $val(ant) \
 -propType $val(prop) \
 -phyType $val(netif) \
 -channelType $val(chan) \
 -topoInstance $topo \
 -agentTrace ON \
 -routerTrace ON \
 -macTrace OFF \
 -movementTrace ON
 
for {set i 0} {$i  $val(nn) } { incr i } {
set node_($i) [$ns node]
}

# Provide initial location of mobilenodes
$node_(0) set X_ 5.0
$node_(0) set Y_ 5.0
$node_(0) set Z_ 0.0

$node_(1) set X_ 490.0
$node_(1) set Y_ 285.0
$node_(1) set Z_ 0.0

$node_(2) set X_ 150.0
$node_(2) set Y_ 240.0
$node_(2) set Z_ 0.0

# Generation of movements
$ns at 10.0 $node_(0) setdest 250.0 250.0 3.0
$ns at 15.0 $node_(1) setdest 45.0 285.0 5.0
$ns at 110.0 $node_(0) setdest 480.0 300.0 5.0 

# Set a TCP connection between node_(0) and node_(1)
set tcp [new Agent/TCP/Newreno]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node_(0) $tcp
$ns attach-agent $node_(1) $sink
$ns connect $tcp $sink
set ftp [new Application/FTP]
$ftp attach-agent $tcp
$ns at 10.0 $ftp start 

# Printing the window size
proc plotWindow {tcpSource file} {
global ns
set time 0.01
set now [$ns now]
set cwnd [$tcpSource set cwnd_]
puts $file $now $cwnd
$ns at [expr $now+$time] plotWindow $tcpSource $file }
$ns at 10.1 plotWindow $tcp $windowVsTime2  

# Define node initial position in nam
for {set i 0} {$i  $val(nn)} { incr i } {
# 30 defines the node size for nam
$ns initial_node_pos $node_($i) 30
}

# Telling nodes when the simulation ends
for {set i 0} {$i  $val(nn) } { incr i } {
$ns at $val(stop) $node_($i) reset;
}

# ending nam and the simulation 
$ns at $val(stop) $ns nam-end-wireless $val(stop)
$ns at $val(stop) stop
$ns at 150.01 puts \end simulation\ ; $ns halt
proc stop {} {
global ns tracefd namtrace
$ns flush-trace
close $tracefd
close $namtrace
}

$ns run

Thnx mate
-- 
View this message in context: 
http://old.nabble.com/Help-..-Error-running-wireless-protocols-in-ns2.-tp34552799p34553135.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Help .. Error running wireless protocols in ns2.

2012-10-12 Thread vivek arya

I get the following error in terminal when i execute my file..

ns dsdv-example.tcl
num_nodes is set 3
invalid command name -macType
while executing
-macType $val(mac) \
-ifqType $val(ifq) \
-ifqLen $val(ifqlen) \
-antType $val(ant) \
-propType $val(prop) \
-phyType $val(netif) \
-chann...
(file dsdv-example.tcl line 39)

what is this error.. can anybody help..
Google did not help..
Thnx in advance


[ns] help....about co-ordinates of node in NAM (NS-2) ?

2012-07-19 Thread mhuy_1708


who can help me about how to define co-ordinate of node in NAM ?

I really need to your help?
 thank everyone alot !!!
-- 
View this message in context: 
http://old.nabble.com/helpabout-co-ordinates-of-node-in-NAM-%28NS-2%29---tp34183700p34183700.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] help-handoff value

2012-07-03 Thread zmezm 14

hi all please help out with this , i read somewhere that this is the way to 
calculate the handoff value calculated the time manually by looking from the 
received packet timestamps , is this the right way or not ???
  Handoff duration =  the delay between last successful reception  packet from 
BS1 and first successful packet from BS2.  
and if it is , how can i find these  packet in the tracefile  out put 

with many thanks 



Re: [ns] help needed in installing sensorsim on fedora 8 with any version of ns2

2012-07-01 Thread Engineer ilyas

thank you sir,
 i am currently using fedora 8 and i want to install 'SENSORSIM' using
any of the 2.29, 2.27 or 2.26.

prayers,
ilyas

On 7/1/12, zmezm 14 zmez...@yahoo.com wrote:
 what ns-2 version you want to install ?
 am using ubuntu and you can install almost any version of ns-2

 --- On Sun, 7/1/12, Engineer ilyas il...@cecos.edu.pk wrote:

 From: Engineer ilyas il...@cecos.edu.pk
 Subject: [ns] help needed in installing sensorsim on fedora 8 with any
 version of ns2
 To: ns-users@ISI.EDU
 Date: Sunday, July 1, 2012, 12:25 PM


 dear users,
  i despeately need some help nstalling sensorsim on fedora 8 with any
 version of ns2.

 i already have tried fedora 9 , 16, 14, 6 and 10 with almost every
 version of ns2. but no success so far..

 a help in this regard will be enormous for me...

 thank you,, prayers

 --
 Engr ilyas
 Electrical Engineering Department,
 CECOS University of IT and Emerging Sciences,
 Phase 6 Hayatabad Peshawar
 Email: il...@cecos.edu.pk
 Phone: ++92-91-5860291-3




-- 
Engr ilyas
Electrical Engineering Department,
CECOS University of IT and Emerging Sciences,
Phase 6 Hayatabad Peshawar
Email: il...@cecos.edu.pk
Phone: ++92-91-5860291-3



[ns] help needed in installing sensorsim on fedora 8 with any version of ns2

2012-06-30 Thread Engineer ilyas

dear users,
 i despeately need some help nstalling sensorsim on fedora 8 with any
version of ns2.

i already have tried fedora 9 , 16, 14, 6 and 10 with almost every
version of ns2. but no success so far..

a help in this regard will be enormous for me...

thank you,, prayers

-- 
Engr ilyas
Electrical Engineering Department,
CECOS University of IT and Emerging Sciences,
Phase 6 Hayatabad Peshawar
Email: il...@cecos.edu.pk
Phone: ++92-91-5860291-3



[ns] Help Regarding construction of star, mesh, grid, ring topologies in ns-2 for wireless networks

2012-06-19 Thread india 2005

hi friends,
  plz tell me how to construct star,mesh,grid,ring topologies in ns-2
for wireless networks.
ok byee



[ns] help required

2012-06-18 Thread manonmani maligachar

Hi All,


How can i send user defined data payload between two nodes in NS2?

How can I display the contents at the receiver node?

Please reply to me as soon as possible.

Regards
manonmani


[ns] Help me

2012-06-14 Thread Manjula Raja

Hello any one!

Can any one provide me TCL script to run DSR and AODV routing protocls.
Our students are studying Adhoc wireless Networks as part of their
curriculum
I would like to provide them i.e my fellow college the TCL script of these
two protocols , so that they can have practical ( simulation) idea of these
two protocols and also brief note on how to analyse the trace files from
these two protocols. Eagerly waiting for the reply

-- 
**R.Manjula
Sr.Lecturer, Dept of ECE
BITM, Bellary
Karnataka.
*


Re: [ns] Help me

2012-06-14 Thread Manjula Raja

:

 Hello any one!

 Can any one provide me TCL script to run DSR and AODV routing protocls.
 Our students are studying Adhoc wireless Networks as part of their
 curriculum
 I would like to provide them i.e my fellow college the TCL script of these
 two protocols , so that they can have practical ( simulation) idea of these
 two protocols and also brief note on how to analyse the trace files from
 these two protocols



 .

*Also from where can i get TCL script for location aided routing protocol
to implement in NS2*

Eagerly waiting for the reply

 --
 **R.Manjula
 Sr.Lecturer, Dept of ECE
 BITM, Bellary
 Karnataka.
 *




-- 
**R.Manjula
Sr.Lecturer, Dept of ECE
BITM, Bellary
Karnataka.

Current Status:

Research Scholar
Dept of EECE
IIT Kharagpur
Cell:08900479328
**


[ns] help : changes needed for implementing a new application in NS2

2012-05-30 Thread taghrid Mazloum


Hello,

I implement a new application in NS2 but I have an error.
I want to know the changes needed for this implementation.


The message was :
 
invalid command name Application/Vgrid
while executing
Application/Vgrid create _o50 
invoked from within
catch $className create $o $args msg
invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
(procedure new line 3)
invoked from within
new Application/Vgrid
invoked from within
set vehicle [new Application/Vgrid]
(file v2g_2.tcl line 98)
  


[ns] ns help for agent advertisement

2012-05-30 Thread monika singh

hey guys m trying to implement wormhole attack  for tat i need to
advertise the false address of a node so tat another node could think
tat node a is my neighbour. so is there anyone who could help me or it
would be better if u could give me the code of wormhole attack
Monika Singh
M.tech(KNIT)



[ns] Help in Reading output file GT-ITM

2012-05-23 Thread Zakia Khalfallah


Dear all,
i need to comment the output file (alternative format) generated by 
GT-ITM.(example of 4 nodes below)I can't see the direct link between vertices . 
Also , i didn't understand the utility and meaning of the first bloc (VERTICES, 
u v w x y z). In EDGES bloc, does lenght refer to number of hops ?
Any comments that can help me please ?
Thank you and good luckZak

GRAPH (#nodes #edges id uu vv ww xx yy zz):
4 8 geo(0,{4,4,3,0.500,0.000,0.000}) 4 

VERTICES (index name u v w x y z):
0 0 1 2 
1 1 3 3  
2 2 0 0 
3 3 0 3 

EDGES (from-node to-node length a b):
0 3 1 0 
0 2 2 0 
0 1 2 0 
2 3 3 0 
//




  


[ns] help in blackholeaodvtcl code

2012-05-22 Thread monika singh

hi guys i m working on the blackhole attack on aodv n i m getting
following error please help me
invalid coomand name Agent/rtProto/blackholeAODV 
 while executing
 Agent/rtProto/blackholeAODV instproc init args {
 $self next $args
 
 }
 please guys pls help me
-- 
Monika Singh
M.tech(KNIT)



[ns] help in installing ns2

2012-05-22 Thread jusme


Hi,

I am using ns2 on cygwin in Win XP. I had finish installing cygwin and ns2,
and done a validate test.

But there is this error:
 validate overall report: some tests failed:
 ./test-all-webtraf ./test-all-simultaneous
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME

How can i solve it please help me.

And i try to run a ns simple.tcl, an error came out:
% ns simple.tcl
warning: using backward compatibility mode
error when calling class OldSim: simple.tcl

Anyone can please help me, i have try lots of ways for 2days but yet to
solve it. I need to use ns2 urgently.

Thank You so much.
-- 
View this message in context: 
http://old.nabble.com/help-in-installing-ns2-tp33891103p33891103.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] HELP invalid use of incomplete type ‘const struct Packet’ IN IP.HF FILE

2012-05-18 Thread Engineer ilyas

-- Forwarded message --
From: Engineer ilyas il...@cecos.edu.pk
Date: Wed, 16 May 2012 15:19:33 +0500
Subject: HELP invalid use of incomplete type ‘const struct Packet’ IN IP.HF FILE
To: ns-users-requ...@isi.edu

kINDLY , IF SOME ONE CAN BE OF HELP IN REMOVING THE ABOVE ERROR
,MENTIONED IN THE EMAIL SUBJECT..

THANK YOU,,

PRAYERS,

Engr ilyas
Electrical Engineering Department,
CECOS University of IT and Emerging Sciences,
Phase 6 Hayatabad Peshawar
Email: il...@cecos.edu.pk
Phone: ++92-91-5860291-3



-- 
Engr ilyas
Electrical Engineering Department,
CECOS University of IT and Emerging Sciences,
Phase 6 Hayatabad Peshawar
Email: il...@cecos.edu.pk
Phone: ++92-91-5860291-3



[ns] HELP , in unknown type name class

2012-05-18 Thread Engineer ilyas

Dear users,

I am again and again getting same 'error',, 
unknown type name class .
 in scheduler.h header file.   I have included this header file to
create packet header for new protocol ...

   any help,, hint may encourage me to work faster...

thank you in advance..
Engr ilyas
Electrical Engineering Department,
CECOS University of IT and Emerging Sciences,
Phase 6 Hayatabad Peshawar
Email: il...@cecos.edu.pk
Phone: ++92-91-5860291-3



[ns] Help needed!!

2012-04-17 Thread manonmani maligachar

Hi all,

1.I have to use 802.16 in ns2.34. I followed the link from one of the site,
but is'nt working.
Please help me how to make 802.16 work.

2.I also have plotted a graph between to nodes which shows the lost (packet
dropped). Now how can i see packets dropped + packets sent = total packets.

3.I have simulated the VANET, but  have take RSU as one of the node, I feel
the RSU functionality should be different from the rest of the nodes. I
need some suggestions on this.

Regards
Manonmani


[ns] help on 802.16

2012-04-16 Thread manonmani maligachar

Hi all,

Can anyone tell me how to use 802.16 in ns2.34.

Thanks in advance.

Regards


[ns] NS Help- SOAR

2012-04-14 Thread Pallavi Agashe

Hi,
 I am working on comparison of 2 routing protocols one of which is
chosen to be an opportunistic routing protocol. I need source code of SOAR
or MORE for ns2. I have ns-2.34
Thanks!!


[ns] help in the fixed routing protocol

2012-04-09 Thread Abinaya Ulagapa

hello,
i ve been trying to implent a routing agent with manually configured
routing table as mentioned in
http://www.winlab.rutgers.edu/~zhibinwu/html/Routing_Agent.html#Agent
I have made all the changes required and also created an routing table
file,but i am not able to input it to the code.I get the error :


[ns] help with Implementation of a routing agent with manually configured routing table (Static Routing)

2012-04-09 Thread Abinaya Ulagapa

Hello,I have been trying to implement a routing agent with manually
configured routing table (Static Routing) as mentioned in
http://www.winlab.rutgers.edu/~zhibinwu/html/Routing_Agent.html#Agent. I
have created a routing table manually but I am unable to input it to the
the script.I get the following error.Kindly help me with how to input the
routing table file.

Starting Simulation...
FIXRT: configure routing table file open failed!
Segmentation fault

Thank you,
Abinaya


[ns] [Help] Implementing a Steiner Tree for a multicast routing protocol

2012-04-02 Thread Manaswi Saha

Hello everyone,

I am trying to develop a multicast routing protocol for wireless mesh
networks.

I am using a Steiner tree algorithm for constructing the multicast tree.

I am not sure how to implement this routing tree algorithm in ns2 and store
the same in the routing tables.

I have gone through AODV code. It makes use of route requests and reply
packets for doing the same and stores the precursor nodes in the packets..
and then updates the table.

In my problem, I trying to implement a shared multicast tree. How do I
achieve that?

Can anyone guide me through the process.

Thank you.

Regards,
Manaswi Saha


[ns] Help ! No receiving packet between APs

2012-03-29 Thread Sam Naz

Hi,
Currently i'm simulating an extended service set with only 2 APs. However, in 
my output, the APs only send the packet and could not receive the packet from 
one another. 

This is example of my output:
s 0.00065 _2_ MAC  --- 0 BCN 72 [0  2 0] 
s 0.001800167 _0_ MAC  --- 0 BCN 72 [0  0 0] 
s 0.10025 _2_ MAC  --- 0 BCN 72 [0  2 0] 
s 0.101440167 _0_ MAC  --- 0 BCN 72 [0  0 0] 
s 0.20035 _2_ MAC  --- 0 BCN 72 [0  2 0] 
s 0.201380167 _0_ MAC  --- 0 BCN 72 [0  0 0] 


The rest of the output look like this.

Thanks in advance.


[ns] Help from people working on WSN in NS2

2012-03-28 Thread Munivenkatesh K

Hello All,

I need a sample program for WSN in NS2. Can any one tell me the default
transmission range of a sensor node and how to put a node in sleep mode and
again to wake up the node.

-- 
Thanks  Regards,

Venky


[ns] Help for send H.264 video via NS 2

2012-03-21 Thread suci

hi all, i've final project about crosslayer in ns-2.29 use h.264/AVC video
I am also new to myevalvid. I tried to use this in cygwin in windows, it is
working fine. xvid, MP4BOX, mp4trace are available only in exe format
but when i use etmp4 with this command 
  $./etmp4.exe sd_foreman_0 rd_foreman_0 modified.st foreman_qcif.mp4
foreman_qcife
come to be error

  **etmp4.exe has encountered a problem and needs to close.  We are sorry
for the inconvenience.
 

 

but before that, i've done the command

 $./mp4trace -f -s 192.168.0.2 12346 foreman_qcif.mp4  modified.st

  

 **Track 1: VideoH.264  - 176x144 pixel,391 samples, 00:00:13.033

Track 2: Hint RTP - 391 samples, 00:00:13.033

 

in modified.st only have I and P layer

 

what could be the problem here?

 

suci ramadona

politeknik caltex riau

Indonesia

 



[ns] Help required

2012-03-06 Thread manonmani maligachar

Hi all,
 How can I integrate IEEE 802.11p in NS-2.35?
 How can I set up VANET environment in NS-2.35?
 How can I go about streaming in VANET?


Regards
Manonmani


[ns] help regarding beeadhoc

2012-03-01 Thread sachin dahiya

hi all

i want to test some parametrs for adhoc network using beeadhoc
protocol. can any body suggest me that how the beeadhoc routing
protocol can be installed in ns-2.33.
beeadhoc files are available for experimentation.


sachin



Re: [ns] help needed in performance comparison of AODV, DSR and DSDV routing protocol

2012-02-27 Thread G.Manjusha


Hello Ankur,
I am doing my B.Tech final year project on “Performance comparison of AODV
and DSR using NS-2.34″.
Can you help me with the tcl script for this…?? 
this is my e-mail id- gudurr...@gmail.com

I’d be grateful to you if you can help me…!! 
Thanks in advance…. :) 


ankur goyal wrote:
 
 
 Hi All,
 
 I have written a tcl script and an awk script to evaluate the performance
 of
 AODV, DSR and DSDV protocols in terms of average delay and total number of
 packets received and dropped. But i am getting very absurd results when i
 run my script to extract the data.
 
 My results are as follow:
 
 for DSR:
 
   Generated Packets = 46904 PACKETS
   Received Packets = 1227 PACKETS
   Total Dropped Packets = 12443
   e2e delay = 3.911883
 
 for AODV:
 
   Generated Packets = 12362 PACKETS
   Received Packets = 3221 PACKETS
   Total Dropped Packets = 9105
   e2e delay = 0.007428
 
 I believe that there is something wrong in my script which i am not able
 to
 figure out.
 
 So can anyone provide me a tcl script for AODV, DSR and DSDV protocols
 such
 that all the required data are extracted from trace files in TCL scripts
 only rather than using AWK script separately.
 
 Eagerly waiting for a quick reply as i need it urgently.
 
 Thanks  Regards,
 Ankur
 
 

-- 
View this message in context: 
http://old.nabble.com/help-needed-in-performance-comparison-of-AODV%2C-DSR-and-DSDV-routing-protocol-tp29588901p33398994.html
Sent from the ns-users mailing list archive at Nabble.com.




[ns] help me on upstream label asssignment

2012-02-08 Thread prabin


Can anyone help me on upstream label assignment on mpls multicast networks?
By default data driven mode is enabled but even if i use enable-data-driven
then upstream label assignment is not working.
-- 
View this message in context: 
http://old.nabble.com/help-me-on-upstream-label-asssignment-tp33290782p33290782.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] help me on upstream label assignment on mpls

2012-02-08 Thread prabin maharjan


hello


I' doing upstream label assignment in mpls multicast network and when i use 
enable-data-driven instead of enable-control-driven then i got following 
output. In the following output, the incoming label has incomplete values. If 
anyone has idea about upstream label assignment, then can you please suggest me?


FEC PHB LIBptr AltanativePath
2 -1 0 -1
4 -1 1 -1
7 -1 2 -1

___LIB dump___ [node: 1]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 2 0 -1
1: -1 -1 4 0 -1
2: -1 -1 4 999 -1

--) ___ERB dump___ [node: 1] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 2] (--
-
FEC PHB LIBptr AltanativePath
1 -1 0 -1
3 -1 1 -1

___LIB dump___ [node: 2]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 1 0 -1
1: -1 -1 3 0 -1

--) ___ERB dump___ [node: 2] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 3] (--
-
FEC PHB LIBptr AltanativePath
2 -1 0 -1
4 -1 1 -1
6 -1 2 -1
7 -1 3 -1

___LIB dump___ [node: 3]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 2 0 -1
1: -1 -1 4 0 -1
2: -1 -1 6 0 -1
3: 4 999 6 0 -1

--) ___ERB dump___ [node: 3] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 4] (--
-
FEC PHB LIBptr AltanativePath
1 -1 0 -1
3 -1 1 -1
5 -1 2 -1
7 -1 3 -1

___LIB dump___ [node: 4]
-

# iIface iLabel oIface oLabel LIBptr
0: -1 -1 1 0 -1
1: -1 -1 3 0 -1
2: -1 -1 5 0 -1
3: 1 999 3 999 -1

--) ___ERB dump___ [node: 4] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 5] (--
-
FEC PHB LIBptr AltanativePath
4 -1 0 -1
6 -1 1 -1

___LIB dump___ [node: 5]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 4 0 -1
1: -1 -1 6 0 -1

--) ___ERB dump___ [node: 5] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 6] (--
-
FEC PHB LIBptr AltanativePath
3 -1 0 -1
5 -1 1 -1

___LIB dump___ [node: 6]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 3 0 -1
1: -1 -1 5 0 -1

--) ___ERB dump___ [node: 6] (--
-
FEC LSPid LIBptr  

[ns] help me on packet combining

2012-02-02 Thread prabin maharjan


hello

I'm new to ns2 and i'm searching the code on piggybacking the two packets in 
multicast networks. While sending the packets, two packets will be piggyback or 
merge up to the certain nodes and the original packet has to extract again and 
send it to the respective nodes. If it is possible, then can you please help me.


Thanking in advance



With Regards
Prabin

[ns] help required

2012-01-22 Thread manonmani maligachar

Hi all,

Can anybody tell how to obtain the coordinates of the node movements from
nam.

On Sun, Jan 22, 2012 at 4:28 AM, shoaib saleem shoaib.sal...@it-sudparis.eu
 wrote:


 Hi again ,

 ok what you can do is that the code which i wrote earlier , you can modify
 it a bit as follow

 *1. include Packet *p in the following function in aodv.h*

 void  rt_print(nsaddr_t node_id, Packet *p);

 *2.  In  aodv.cc   , in  **void  AODV::rt_print(nsaddr_t id, Packet* p ) *
include the following structure

 struct hdr_cmn *ch = HDR_CMN(p);

 *include ch -ptype() in the following line *

 fprintf (dumpFile,  NODE: %it %.4lft %it %it %it %it %it %.4lft %d \n,
 id, CURRENT_TIME, rt-rt_dst, rt-rt_nexthop, rt-rt_hops,
 rt-rt_seqno, rt-rt_expire, rt-rt_flags,*ch-ptype()*);

 *3.  Putrt_print(index,p);after the following lines in aodv.cc*

 if (ch-ptype() != PT_TCP  ch-ptype() != PT_ACK) {
 ch-size() += IP_HDR_LEN;

 }
 * rt_print(index,p);*
 *
 *
 *
 *
 *
 *
 *4.  Now make clean , make , sudo make install *
 *
 *
 *run your tcl script. you will have a rtable.txt file  with the following
 information. In ns-2.xx/common/packet.h file you have all types of packet
 defined in ns 2. Like for example, *
 *PT_TCP = 0 , PT_ AODV = 38 , PT_ACK = 5 . In rtable.txt , you have info
 about each node like in the first line , we have Node 0, sending 1st (1)
 PT_TCP packet = 0 at 13 sec .  Similary there two other packets PT_AODV =
 38 and PT_ACK = 5 . *

  NODE: 0  t 13.t 1t 0t 255t 0t 0t 0.t 0 n

  NODE: 0   t 19.t 1t 0t 255t 0t 0t 0.t 0 n

  NODE: 2   t 28.0059t 0t 0t 1t 14t 1t 38.0059t 38 n

  NODE: 0   t 31.t 2t 2t 1t 6t 1t 34.0012t 0 n
  NODE: 0   t 31.t 1t 0t 255t 0t 0t 0.t 0 n

  NODE: 0   t 34.5030t 2t 2t 1t 10t 1t 44.5030t 38 n
  NODE: 0   t 34.5030t 1t 0t 255t 0t 0t 0.t 38 n

  NODE: 0   t 39.0149t 2t 2t 1t 10t 1t 44.5030t 38 n
  NODE: 0   t 39.0149t 1t 2t 2t 6t 1t 49.0149t 38 n

 ..
 ..
 ..
 ..
 ..
 ..
 ..
  NODE: 1t 149.9275t 0t 0t 1t 48t 1t 159.9153t 5
  NODE: 0t 149.9293t 2t 2t 1t 60t 1t 150.5402t 0
  NODE: 0t 149.9293t 1t 1t 1t 34t 1t 159.9172t 0
  NODE: 0t 149.9315t 2t 2t 1t 60t 1t 150.5402t 0
  NODE: 0t 149.9315t 1t 1t 1t 34t 1t 159.9293t 0
  NODE: 1t 149.9414t 2t 0t 2t 60t 1t 150.5243t 5
  NODE: 1t 149.9414t 0t 0t 1t 48t 1t 159.9275t 5
  NODE: 1t 149.9513t 2t 0t 2t 60t 1t 150.5243t 5
  NODE: 1t 149.9513t 0t 0t 1t 48t 1t 159.9414t 5
  NODE: 1t 149.9614t 2t 0t 2t 60t 1t 150.5243t 5
  NODE: 1t 149.9614t 0t 0t 1t 48t 1t 159.9513t 5
  NODE: 0t 149.9632t 2t 2t 1t 60t 1t 150.5402t 0

 I hope this will help you a little to understand your problem

 Regards
 -- Forwarded message --
 From: Fatima Kader kader.el...@gmail.com
 Date: Sat, Jan 21, 2012 at 9:18 PM
 Subject:
 To: shoaib saleem shoaib.sal...@it-sudparis.eu


 ok sir, i have understand you, but i need all this information for another
 pupose, so i want each node calculate the number of data received from
 another node, and count another packet also, that's why i want to define an
 activity table independant and maintained by each node
 thanks in advance



 --
 [image: http://www.etudinfo.com/image/logo-ecole/telecom-sudparis.jpg]
 Muhammad Shoaib SALEEM
 PhD Student
 Wireless Networks  Multimedia Services Department
 Institut Télécom - Télécom SudParis
 9 Rue Charles Fourier 91011 Evry, France.
 Office: +33 1 60 76 43 91
 https://sites.google.com/site/shoaibsal/

 https://sites.google.com/site/shoaibsal/



[ns] help instal fedora11 with vmware

2012-01-13 Thread Fatma LOUATI

hi,
I need help to instal fedora11 with vmware on winXP
can any one point me where to find the required version of fedora
thkx


[ns] help in MIPv6 tcl script running.

2012-01-08 Thread mehdi abbasi

hello, when i tried running my mobile ipv6 tcl script, i got this error: 
invalid command name Agent/Mipv6/MN while executing Agent/Mipv6/MN set 
bs_forwarding_   0 does anyone know what the problem could be.I attached 
mobiwan successfully.
please help me


Re: [ns] Help for simulating 802.11a data rates

2012-01-06 Thread sahoo jagruti

Hi,

phy-wireless802.11Ext.h provides only four modulation schemes : BPSK (1/2), 
QPSK (1/2), QAM16(1/2), QAM64(3/4). However, you can add the rest data rates 
such as BPSK(3/4), QPSK(3/4), QAM16(3/4) and QAM64(2/3) in modulation_table 
with their respective parameters.

Thanks

Jagruti



 From: ns-users-requ...@isi.edu ns-users-requ...@isi.edu
To: ns-users@ISI.EDU 
Sent: Wednesday, January 4, 2012 9:00 AM
Subject: Ns-users Digest, Vol 97, Issue 3
 
Send Ns-users mailing list submissions to
    ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
    ns-users-requ...@isi.edu

You can reach the person managing the list at
    ns-users-ow...@isi.edu

When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...


Today's Topics:

   1. Help for simulating 802.11a data rates (Zubiya ..)
   2. invalid commend name Agent/myevalsvc_sink (Olfa ben Rhayem)
   3. Re: Ns-users Digest, Vol 97, Issue 2 (Usama Iqbal)
   4. Regarding Snoop (Pranav goyal)
   5. TACPS 2012 Call for Papers (Jaime Lloret Mauri)


--

Message: 1
Date: Tue, 3 Jan 2012 10:01:51 +0500
From: Zubiya .. zubi...@gmail.com
Subject: [ns] Help for simulating 802.11a data rates
To: ns-users@isi.edu
Message-ID:
    canpl_b856k6g0fsr5wfvnhrdoxsms8errbqjm-vizbtzwmx...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Hi,
Can anyone help me about simulating data rates of 802.11a with their
respective modulation schemes (BPSK, QPSK, QAM)
There are patches available e.g. 802.11Ext and dei80211mr but the
information about them is not enough.
802.11Ext provides limited coding schemes and it has skipped BPSK3/4,
QPSK3/4, 16QAM3/4.
dei80211mr documentation is not available.

Thanks in advance



-- 
Regards


--

Message: 2
Date: Tue, 3 Jan 2012 17:09:50 +0100
From: Olfa ben Rhayem olfa.benrha...@gmail.com
Subject: [ns] invalid commend name Agent/myevalsvc_sink
To: ns-users@isi.edu
Message-ID:
    CAJgB+MB2MRjdHg-JT-AehGvr=izzp69muvukyn_asisz8fu...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

hello,

plese i have an error when i try to simulate a transmission video
invalid commend name Agent/myevalsvc_sink.
thought that the file myevalsvc_Sink still existing under 
ns-2.29/myviodeo 

please look at the jointe  pice  and help me :((

-- 
Bien Cordialement
Ben Rhaiem OLFA.
Etudiante Mast?re Informatique et Multim?dia (I2M).
---

--

Message: 3
Date: Tue, 3 Jan 2012 21:40:38 +0500
From: Usama Iqbal usamaiqbala...@gmail.com
Subject: Re: [ns] Ns-users Digest, Vol 97, Issue 2
To: ns-users@isi.edu
Message-ID:
    cao_8z+or_et3njzrzgkw4c3u4_tzdgbvpoawrocexpdj9b4...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

hello everyone
when i want to display something in UDPAGENT::recv function with CBR over
udp;
i never see this function being called...howver trace file is very much ok
mine steps are
1: some printf in UDPagent::recv in udp.cc
2:make
3:run tcl file(two node with cbr over udp)
observation that i got are trace file very much ok. but printf not
displayed here
..
plz help me thanks in advance


--

Message: 4
Date: Tue, 3 Jan 2012 23:19:38 +0530
From: Pranav goyal pranavgoyal40...@gmail.com
Subject: [ns] Regarding Snoop
To: ns-users@isi.edu
Message-ID:
    camampvknkklytkobed+wxgzqlrthk8w6njecga7aozevcyx...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Please somebody help me out. I am not getting how can I go ahead.

I have implemented a simple wired cum wireless topology in which there is 1
FH, 1 BS, 1 MH.
I want to implement snoop in the BS.

Can somebody tell me what modifications I have to make to do this? Please
tell me I am working since 2 days and not able to get this.
Attached is the code.

-- 
I'm very responsible, when ever something goes wrong they always say I'm
responsible --

--

Message: 5
Date: Tue, 3 Jan 2012 23:34:55 +0100
From: Jaime Lloret Maurijllo...@dcom.upv.es
Subject: [ns] TACPS 2012 Call for Papers
To: ns-users@isi.edu
Message-ID: 201201032234.q03mytxe008...@smtp.upv.es
Content-Type: text/plain; charset=us-ascii


=
                                The 2012 International Workshop on 
          Technologies and Applications for Cyber-Physical Systems (TACPS 2012)


                http://web.ftrai.org/tacps2012 (TBA)


                  Gwangju, Korea, September 6-8, 2012

                
                                  In Conjunction with EMC 2012
                http://www.ftrai.org/emc2012

[ns] Help for simulating 802.11a data rates

2012-01-02 Thread Zubiya ..

Hi,
Can anyone help me about simulating data rates of 802.11a with their
respective modulation schemes (BPSK, QPSK, QAM)
There are patches available e.g. 802.11Ext and dei80211mr but the
information about them is not enough.
802.11Ext provides limited coding schemes and it has skipped BPSK3/4,
QPSK3/4, 16QAM3/4.
dei80211mr documentation is not available.

Thanks in advance



-- 
Regards


[ns] Help Needed!!! Leach Segmentation Fault

2011-12-05 Thread Najma Ismat


Hi, i m working on the reliability of WSN and trying simulate leach tcl script 
generated by mannasim script generator tool on ns-2.29 but when i run the 
script i get the segmentation fault error. also the trace file contains no 
captured data.
i'll be grateful if anyone can help me in this regard.
Part of sh output:
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100Setting 
disseminating type to programmedSetting disseminating interval: 20.0warning: no 
class variable RCALinkLayer::avoidReordering_see tcl-object.tcl in tclcl 
for info about this warning.* Node 1 = 1 created in (79.513404648524428, 
95.248294712625579, 0.0)NO CLUSTER HEADS HAS BEEN DEFINED! Assuming 20% of 
common nodes.warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 2 = 2 created in 
(92.129573175743957, 88.770788763077363, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 3 = 3 created in (72.376646647405181, 79.215351575620176, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 4 = 4 created in 
(63.633464120157747, 65.583406419299266, 0.0)warning: no class variable 
RCALinkLayer::avoidReorderi!
 ng_see tcl-object.tcl in tclcl for info about this warning.* Node 5 = 5 
created in (43.773140312998152, 93.589578985045463, 0.0)warning: no class 
variable RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info 
about this warning.* Node 6 = 6 created in (6.9983314289703644, 
70.409574299310137, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 7 = 7 created in (24.015341430909626, 41.479590507913187, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 8 = 8 created in 
(24.35720321925227, 39.953930275493271, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_   see tcl-object.tcl in tclcl for info about 
this warning.* Node 9 = 9 created in (92.600050332304122, 54.858986081024163, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_  see 
tcl-object.tcl in tclcl for info about this warning.* Node 10 = 10!
  created in (58.475501862575996, 14.179648325862198, 0.0)warning: no c
lass variable RCALinkLayer::avoidReordering_see tcl-object.tcl in tclcl for 
info about this warning.* Node 11 = 11 created in (7.6266574243207739, 
94.71701578922432, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 12 = 12 created in (53.773134971863193, 13.624413317825837, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_see 
tcl-object.tcl in tclcl for info about this warning.* Node 13 = 13 created in 
(82.76011752093217, 60.574610233574454, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_ see tcl-object.tcl in tclcl for info about this 
warning.* Node 14 = 14 created in (76.781852346277731, 60.826276131359059, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_see 
tcl-object.tcl in tclcl for info about this warning.* Node 15 = 15 created in 
(58.171462527556095, 86.349565762257924, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_see tcl-object.tcl in!
  tclcl for info about this warning.* Node 16 = 16 created in 
(95.654317408639159, 98.611530241841223, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_see tcl-object.tcl in tclcl for info about 
this warning.* Node 17 = 17 created in (37.741978204688984, 34.731551462193742, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_see 
tcl-object.tcl in tclcl for info about this warning.* Node 18 = 18 created in 
(79.286557426343933, 49.005219363144235, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_see tcl-object.tcl in tclcl for info 
about this warning.* Node 19 = 19 created in (79.005452282263647, 
58.994268001520197, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_see tcl-object.tcl in tclcl for info 
about this warning.* Node 20 = 20 created in (21.966236467457488, 
59.812565827654943, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_see tcl-object.tcl in tclcl for info 
about this warning.* Node 21 = 21 created in (5!
 8.109617725997055, 61.678861436284549, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_  see tcl-object.tcl in tclcl for info about this 
warning.* Node 22 = 22 created in (4.3537809068121858, 1.3019029522789189, 
0.0)warning: no class variable RCALinkLayer::avoidReordering_see 
tcl-object.tcl in tclcl for info about this warning.* Node 23 = 23 created in 
(59.527306193265737, 51.002181671095173, 0.0)warning: no class variable 
RCALinkLayer::avoidReordering_see tcl-object.tcl in 

[ns] Help Me ns Users , Developer , Expert , Fans , Anyone ..

2011-12-04 Thread zmezm 14

hi all 
i have made a wireless scenario regarding wimax handover and its has one 
problem .
am using ns-2.29 and the nist mobility model ...
the problem is i need to generate file content the position and movement 
pattern for a number of mobile node using ./setdest ,
but when i try to run the tcl script i got this error ..
and when i remove it the tcl file work but all the mobile node in the same 
place and there is no movement ..

so can anyone tell me how to configure the tcl script so it can read the 
movement scenario pattern that i have generated using ./setdest


zmezm@hz ~/ns-allinone-2.29/ns-2.29/tcl/mobility/scene
 $ ns 100nzwimax.tcl NOAH scen-100
 num_nodes is set 102
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 INITIALIZE THE LIST xListHead
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs 

[ns] Help regarding MANETS Protocol simulation in NS-2.34

2011-10-19 Thread Azizur Rahim

Hi every one!

I am new to ns-2. I have just installed ns-2.34 and working properly,
tested for some example scripts. Please give me some tcl scripts for
simulation of AODV, DSDV, DSR, TORA and any other if you can.

Secondly please guide me how to modify these files

Third: How we can simulate wireless sensor Networks in ns-2 please
just an example Tcl script plzz.

4th: What are the recommended patches to use for ns-2

Seeking for you kind response

Regards
Aziz


[ns] help if you may

2011-10-02 Thread zmezm 14

hi there 
Q \ if i have a node movement file scenario ,that i had generated using the 
./setdest  
now the question is how to set the mobile node definition to match the 
definition of the mobile node in the node movement file and not to get this 
error 



mezm@zmezm-laptop:~/ns2/x1$ ns 100nswimax.tcl
num_nodes is set 102
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
INITIALIZE THE LIST xListHead
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. 

[ns] help about Evalvid

2011-09-14 Thread G.Hajer

Hello

Hello i am working with ns2 over Linux.
My research thematic  is about video streaming.
I will use EvalVid and ffmpeg.
I need help to install them.

Can you help me please,

Thinks in advance
-- 
Somewhere, something incredible is waiting to be known.


[ns] help about Evalvid

2011-09-12 Thread G.Hajer

Hello

Hello i am working with ns2 over Linux.
My research thematic  is about video streaming.
I will use EvalVid and ffmpeg.
I dont know how to do install them.

Can you help me please,

Thinks in advance
-- 
Somewhere, something incredible is waiting to be known.


[ns] [Help] Wireless multicast - in wireless mesh networks

2011-09-01 Thread Manaswi Saha

Hello everyone,


I am trying to perform multicasting over wireless mesh networks. Does anyone
have any idea how to do it?
I would appreciate it if anyone could forward me to any text related to
this.

Thank you


Re: [ns] [Help] Wireless multicast - in wireless mesh networks

2011-09-01 Thread Mubashir Rehmani

Hi,

Here is some contributed code about multicasting in ns2.
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Multicast
 Multicast

   1. *Codes*
  - *Author*: Jon Crowcroft http://www.cs.ucl.ac.uk/staff/jon
  - *Description*: Codes used for simulation work in the following
  papers are available. The code is distributed under subdirectories called
  rlc, sot and multcp, each having {.cc,.h,.tcl} and README files.
 - [Differentiated End to End Internet Services using a Weighted
 Proportional Fair Sharing TCP]
 - [Network Adaptive Continuous-Media Applications Through Self
 Organised Transcoding ]
 - [TCP-like Congestion Control for Layered Multicast Data
 Transfer.]
 - An updated
versionhttp://www.cs.ucl.ac.uk/staff/l.vicisano/dist/ns-rlc.tgzof
the rlc simulation code is now available.
  - *Tested with*: ns2.1b1 on HP-UX and Solaris.
  - *Distributed as*: tarball
  - *Location*: ftp://cs.ucl.ac.uk/darpa/ucl-ns-work.tar.gz


   2. *NORM*
  - *Author*: Naval Research Laboratory
  - *Description*: Nack-Oriented Reliable Multicast.
  - *Location*: http://cs.itd.nrl.navy.mil/work/norm


   3. *PGM*
  - *Author*: Ryan Barnett rbarn...@usc.edu
  - *Distributed as*: tarball
  - *Location*:
pgm-070101-2.1b8.tar.gzhttp://www.isi.edu/nsnam/dist/pgm-070101-2.1b8.tar.gz.



   4. *PGM*
  - *Author*: Yunxi Shi, Washington University at St. Louis.
  - *Description*: Cisco's PGM
protocolftp://ftp.isi.edu/internet-drafts/draft-speakman-pgm-spec-02.txt.
  There is also a related
paperhttp://www.ccrc.wustl.edu/%7Echristos/html/rmrg-London98.html.

  - *Distributed as*: tarball
  - *Location*: http://www.arl.wustl.edu/~sherlia/rm/pgm.tar.gz


   5. *PLM*
  - *Author*: Arnaud Legouthttp://www-sop.inria.fr/planete/Arnaud.Legout
  - *Description*: PLM simulation. Has been incorporated into ns
  distribution.
  - *Tested with*: ns-2.1b6
  - *Distributed as*: tarball with instructions
  - *Location*:
  http://www-sop.inria.fr/planete/Arnaud.Legout/Projects/plm.html


   6. *PUMA*
  - *Author*: Sidney Doria sid...@dsc.ufcg.edu.br
  - *Description*:
PUMAhttp://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1392169is
a multicast routing protocol for MANETs. PUMA outperforms MAODV and
  ODMRP.
  - *Tested with*: ns-2.33, and ns-2.34
  - *Distributed as*: Zip with instructions
  - *Location*: http://www.sourceforge.net/projects/puma-adhoc


   7. *SSM Extension*
  - *Author*: Tiago Camilo tan...@dei.uc.pt
  - *Tested with*: ns-2.27 and ns-2.28
  - *Distributed as*: tarball with instructions
  - *Location*: http://eden.dei.uc.pt/~tandre/ssm_extension/index.htm


   8. *IGMP Extension -- Beijing University of Posts and
   Telecommunications(BUPT), CHINA*
  - *Author*: Sipeng Guan guansip...@gamil.com
  - *Description*: Implementation of IP multicast group management
  according to IGMPv3(RFC3376)
  - *Tested with*: ns-2.33
  - *Distributed as*: patch with instructions
  - *Location*: ‎http://sites.google.com/site/igmpextension
  - *Download*:
igmp-extension.tar.gzhttp://sites.google.com/site/igmpextension/download-install/igmp-extension.tar.gz

Mubashir Husain Rehmani
Lip6/UPMC, Paris, France


On 1 September 2011 10:17, Manaswi Saha starrylit...@gmail.com wrote:


 Hello everyone,


 I am trying to perform multicasting over wireless mesh networks. Does
 anyone
 have any idea how to do it?
 I would appreciate it if anyone could forward me to any text related to
 this.

 Thank you




-- 
Mubashir Husain Rehmani


Re: [ns] [Help] Wireless multicast - in wireless mesh networks

2011-09-01 Thread Mubashir Rehmani

Hi,

Here is some contributed code about multicasting in ns2.
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Multicast
 Multicast

   1. *Codes*
  - *Author*: Jon Crowcroft http://www.cs.ucl.ac.uk/staff/jon
  - *Description*: Codes used for simulation work in the following
  papers are available. The code is distributed under subdirectories called
  rlc, sot and multcp, each having {.cc,.h,.tcl} and README files.
 - [Differentiated End to End Internet Services using a Weighted
 Proportional Fair Sharing TCP]
 - [Network Adaptive Continuous-Media Applications Through Self
 Organised Transcoding ]
 - [TCP-like Congestion Control for Layered Multicast Data
 Transfer.]
 - An updated
versionhttp://www.cs.ucl.ac.uk/staff/l.vicisano/dist/ns-rlc.tgzof
the rlc simulation code is now available.
  - *Tested with*: ns2.1b1 on HP-UX and Solaris.
  - *Distributed as*: tarball
  - *Location*: ftp://cs.ucl.ac.uk/darpa/ucl-ns-work.tar.gz


   2. *NORM*
  - *Author*: Naval Research Laboratory
  - *Description*: Nack-Oriented Reliable Multicast.
  - *Location*: http://cs.itd.nrl.navy.mil/work/norm


   3. *PGM*
  - *Author*: Ryan Barnett rbarn...@usc.edu
  - *Distributed as*: tarball
  - *Location*:
pgm-070101-2.1b8.tar.gzhttp://www.isi.edu/nsnam/dist/pgm-070101-2.1b8.tar.gz.



   4. *PGM*
  - *Author*: Yunxi Shi, Washington University at St. Louis.
  - *Description*: Cisco's PGM
protocolftp://ftp.isi.edu/internet-drafts/draft-speakman-pgm-spec-02.txt.
  There is also a related
paperhttp://www.ccrc.wustl.edu/%7Echristos/html/rmrg-London98.html.

  - *Distributed as*: tarball
  - *Location*: http://www.arl.wustl.edu/~sherlia/rm/pgm.tar.gz


   5. *PLM*
  - *Author*: Arnaud Legouthttp://www-sop.inria.fr/planete/Arnaud.Legout
  - *Description*: PLM simulation. Has been incorporated into ns
  distribution.
  - *Tested with*: ns-2.1b6
  - *Distributed as*: tarball with instructions
  - *Location*:
  http://www-sop.inria.fr/planete/Arnaud.Legout/Projects/plm.html


   6. *PUMA*
  - *Author*: Sidney Doria sid...@dsc.ufcg.edu.br
  - *Description*:
PUMAhttp://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1392169is
a multicast routing protocol for MANETs. PUMA outperforms MAODV and
  ODMRP.
  - *Tested with*: ns-2.33, and ns-2.34
  - *Distributed as*: Zip with instructions
  - *Location*: http://www.sourceforge.net/projects/puma-adhoc


   7. *SSM Extension*
  - *Author*: Tiago Camilo tan...@dei.uc.pt
  - *Tested with*: ns-2.27 and ns-2.28
  - *Distributed as*: tarball with instructions
  - *Location*: http://eden.dei.uc.pt/~tandre/ssm_extension/index.htm


   8. *IGMP Extension -- Beijing University of Posts and
   Telecommunications(BUPT), CHINA*
  - *Author*: Sipeng Guan guansip...@gamil.com
  - *Description*: Implementation of IP multicast group management
  according to IGMPv3(RFC3376)
  - *Tested with*: ns-2.33
  - *Distributed as*: patch with instructions
  - *Location*: ‎http://sites.google.com/site/igmpextension
  - *Download*:
igmp-extension.tar.gzhttp://sites.google.com/site/igmpextension/download-install/igmp-extension.tar.gz

Mubashir Husain Rehmani
Lip6/UPMC, Paris, France

On 1 September 2011 10:17, Manaswi Saha starrylit...@gmail.com wrote:


 Hello everyone,


 I am trying to perform multicasting over wireless mesh networks. Does
 anyone
 have any idea how to do it?
 I would appreciate it if anyone could forward me to any text related to
 this.

 Thank you




 --
 Mubashir Husain Rehmani





-- 
Mubashir Husain Rehmani


Re: [ns] [Help] Wireless multicast - in wireless mesh networks

2011-09-01 Thread Manaswi Saha

Hi,

Thanx for the reply.

I had seen this page. Most of them are for wired networks right? Won't there
be a difference in performing multicasting over wireless networks. I am not
sure about because I am new to ns2.

Also, how do i implement the same in a wireless mesh network? Ho*w *to
simulate wireless mesh networks?

Thank you.

On Thu, Sep 1, 2011 at 1:59 PM, Mubashir Rehmani mshrehm...@gmail.comwrote:

 Hi,

 Here is some contributed code about multicasting in ns2.
 http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Multicast
  Multicast

1. *Codes*
   - *Author*: Jon Crowcroft http://www.cs.ucl.ac.uk/staff/jon
   - *Description*: Codes used for simulation work in the following
   papers are available. The code is distributed under subdirectories 
 called
   rlc, sot and multcp, each having {.cc,.h,.tcl} and README files.
  - [Differentiated End to End Internet Services using a Weighted
  Proportional Fair Sharing TCP]
  - [Network Adaptive Continuous-Media Applications Through Self
  Organised Transcoding ]
  - [TCP-like Congestion Control for Layered Multicast Data
  Transfer.]
  - An updated 
 versionhttp://www.cs.ucl.ac.uk/staff/l.vicisano/dist/ns-rlc.tgzof the rlc 
 simulation code is now available.
   - *Tested with*: ns2.1b1 on HP-UX and Solaris.
   - *Distributed as*: tarball
   - *Location*: ftp://cs.ucl.ac.uk/darpa/ucl-ns-work.tar.gz


2. *NORM*
   - *Author*: Naval Research Laboratory
   - *Description*: Nack-Oriented Reliable Multicast.
   - *Location*: http://cs.itd.nrl.navy.mil/work/norm


3. *PGM*
   - *Author*: Ryan Barnett rbarn...@usc.edu
   - *Distributed as*: tarball
   - *Location*: 
 pgm-070101-2.1b8.tar.gzhttp://www.isi.edu/nsnam/dist/pgm-070101-2.1b8.tar.gz.



4. *PGM*
   - *Author*: Yunxi Shi, Washington University at St. Louis.
   - *Description*: Cisco's PGM 
 protocolftp://ftp.isi.edu/internet-drafts/draft-speakman-pgm-spec-02.txt.
   There is also a related 
 paperhttp://www.ccrc.wustl.edu/%7Echristos/html/rmrg-London98.html.

   - *Distributed as*: tarball
   - *Location*: http://www.arl.wustl.edu/~sherlia/rm/pgm.tar.gz


5. *PLM*
   - *Author*: Arnaud Legouthttp://www-sop.inria.fr/planete/Arnaud.Legout
   - *Description*: PLM simulation. Has been incorporated into ns
   distribution.
   - *Tested with*: ns-2.1b6
   - *Distributed as*: tarball with instructions
   - *Location*:
   http://www-sop.inria.fr/planete/Arnaud.Legout/Projects/plm.html


6. *PUMA*
   - *Author*: Sidney Doria sid...@dsc.ufcg.edu.br
   - *Description*: 
 PUMAhttp://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1392169is a 
 multicast routing protocol for MANETs. PUMA outperforms MAODV and
   ODMRP.
   - *Tested with*: ns-2.33, and ns-2.34
   - *Distributed as*: Zip with instructions
   - *Location*: http://www.sourceforge.net/projects/puma-adhoc


7. *SSM Extension*
   - *Author*: Tiago Camilo tan...@dei.uc.pt
   - *Tested with*: ns-2.27 and ns-2.28
   - *Distributed as*: tarball with instructions
   - *Location*: http://eden.dei.uc.pt/~tandre/ssm_extension/index.htm


8. *IGMP Extension -- Beijing University of Posts and
Telecommunications(BUPT), CHINA*
   - *Author*: Sipeng Guan guansip...@gamil.com
   - *Description*: Implementation of IP multicast group management
   according to IGMPv3(RFC3376)
   - *Tested with*: ns-2.33
   - *Distributed as*: patch with instructions
   - *Location*: ‎http://sites.google.com/site/igmpextension
   - *Download*: 
 igmp-extension.tar.gzhttp://sites.google.com/site/igmpextension/download-install/igmp-extension.tar.gz

 Mubashir Husain Rehmani
 Lip6/UPMC, Paris, France



 On 1 September 2011 10:17, Manaswi Saha starrylit...@gmail.com wrote:


 Hello everyone,


 I am trying to perform multicasting over wireless mesh networks. Does
 anyone
 have any idea how to do it?
 I would appreciate it if anyone could forward me to any text related to
 this.

 Thank you




 --
 Mubashir Husain Rehmani





[ns] Help please how to use all path AOMDV

2011-08-17 Thread youcef yahiatene

Salem AliKoum
I need help please
sends data packets through multiple paths using AOMDV can somoene has an
idea please plz
-- 
Cordialement
Youcef YAHIATENE
+213698841702


[ns] help with instalation

2011-08-16 Thread James

Hello,

I use ubuntu 10.4 LTS and i wanted to install ns2-allinone.
I have downloaded it from the official sources and i used this guide to
install it
http://wsnsimulators.blogspot.com/2010/06/how-to-install-ns2-with-ubuntu-1004-by.html

...
the ns is working fine.but whenever i try to use nam the only result
is command not found.

i have found related posts from this mail-list on the web but  none of
them helped

thank you in advance




[ns] help with installation

2011-08-16 Thread James

Hello,

I use ubuntu 10.4 LTS and i wanted to install ns2-allinone.
I have downloaded it from the official sources and i used this guide to
install it
http://wsnsimulators.blogspot.com/2010/06/how-to-install-ns2-with-ubuntu-1004-by.html

...
the ns is working fine.but whenever i try to use nam the only result
is command not found.

i have found related posts from this mail-list on the web but  none of
them helped

thank you in advance




Re: [ns] help with installation

2011-08-16 Thread Amna Abdul Wahid

One more thing, the step 2.0 is not needed. SUPER USER one... So please
ignore that step. The final steps are


1. install ubuntu in windows from

2. download the ns all in one file
http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/
2.1.  cd to the unzipped ns-allinone folder

3. untar (extract here) the ns-allinone-version in your home folder

4. open a terminal and enter the command *sudo apt-get install
build-essential autoconf automake libxmu-dev*

5. ./install

6. sudo apt-get install nam

7. sudo apt-get install xgraph


By the way, I think ./Validate is supposed to verify nam installation as
well (the step mentioned in the installation guide you followed), so I
wonder what was the outcome of validate installation step for you.


HTH

On 17 August 2011 00:09, Amna Abdul Wahid a...@chescomm.net wrote:

 Hi James
 Here are the steps we followed:


 1. install ubuntu in windows from

 2. download the ns all in one file
 http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/

 2.0 login as super user, enter the command *su* and give password

 2.1.  cd to the unzipped ns-allinone folder

 3. untar (extract here) the ns-allinone-version in your home folder

 4. open a terminal and enter the command *sudo apt-get install
 build-essential autoconf automake libxmu-dev*

 5. ./install

 6. sudo apt-get install nam

 7. sudo apt-get install xgraph


 Note that ns simulations will be fine with this installation on ubuntu. But
 we couldn't change the ns-2 source code on ubuntu, because we faced the make
 file problem. So to change the ns-2 source (c code) we hd to switch to
 fedora





 On 16 August 2011 19:41, James mitsa...@gmail.com wrote:


 Hello,

 I use ubuntu 10.4 LTS and i wanted to install ns2-allinone.
 I have downloaded it from the official sources and i used this guide to
 install it

 http://wsnsimulators.blogspot.com/2010/06/how-to-install-ns2-with-ubuntu-1004-by.html

 ...
 the ns is working fine.but whenever i try to use nam the only result
 is command not found.

 i have found related posts from this mail-list on the web but  none of
 them helped

 thank you in advance





 --

 Regards,
 Amna Abdul Wahid




-- 

Regards,
Amna Abdul Wahid


[ns] Help get out the problem of : Iinvalid command name Agent/GPSRAgent

2011-08-08 Thread Nan Zhao

Hi all,

I'd like implemente GPSR in the ns-2.30 and do some test.

First step: change the files below:
packet.h ns-packet.tcl cmu-trace.cc priqueue.cc ns-default.tcl and ns-2.30's
Makefile

Then delete the file packet.o
touch packet.h
make clean
make

The result shows success.
But when I did the test file wirless-gpsr.tcl it showed the error below:


num_nodes is set100
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
GPSR configuration file
INITIALIZE THE LIST xListHead
 invalid command name Agent/GPSRAgent

   while executing
Agent/GPSRAgent create _o29 0
   invoked from within
catch $className create $o $args msg
   invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
   (procedure new line 3)
   invoked from within
new $opt(ragent) $id
   (procedure create-gpsr-routing-agent line 7)
   invoked from within
create-gpsr-routing-agent $node $id
   (procedure gpsr-create-mobile-node line 43)
   invoked from within
gpsr-create-mobile-node $i
   (for body line 2)
   invoked from within
for {set i 0} {$i  $opt(nn) } {incr i} {
   gpsr-create-mobile-node $i
}
   (file wireless-gpsr.tcl line 265)

PS: I downloaded GPSR_KeLiu_SUNY_Binghamton.tgz for GPSR codes. All the
changing for the files followed the Readme in the packet.


Has anyone met the same problem as me? Can anyone help me get out of this
problem?

Thank you very much!


[ns] [Help] Error : problem of Iinvalid command name Agent/GPSRAgent

2011-08-08 Thread Nan Zhao

Hi all,

I'd like implemente GPSR in the ns-2.30 and do some test.

First step: change the files below:
packet.h ns-packet.tcl cmu-trace.cc priqueue.cc ns-default.tcl and ns-2.30's
Makefile

Then delete the file packet.o
touch packet.h
make clean
make

The result shows success.
But when I did the test file wirless-gpsr.tcl it showed the error below:


num_nodes is set100
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
GPSR configuration file
INITIALIZE THE LIST xListHead
 invalid command name Agent/GPSRAgent

   while executing
Agent/GPSRAgent create _o29 0
   invoked from within
catch $className create $o $args msg
   invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
   (procedure new line 3)
   invoked from within
new $opt(ragent) $id
   (procedure create-gpsr-routing-agent line 7)
   invoked from within
create-gpsr-routing-agent $node $id
   (procedure gpsr-create-mobile-node line 43)
   invoked from within
gpsr-create-mobile-node $i
   (for body line 2)
   invoked from within
for {set i 0} {$i  $opt(nn) } {incr i} {
   gpsr-create-mobile-node $i
}
   (file wireless-gpsr.tcl line 265)

PS: I downloaded GPSR_KeLiu_SUNY_Binghamton.tgz for GPSR codes. All the
changing for the files followed the Readme in the packet.


Has anyone met the same problem as me? Can anyone help me get out of this
problem?

Thank you very much!


[ns] [Help] MOLSR ns2 implementation

2011-08-01 Thread Manaswi Saha

hello everyone,

Does anyone know of any MOLSR implementation code in ns2 (preferably
for ns2.33)? I am trying to simulate multicasting in wireless mesh
networks.
Please provide with a link if known.

Thank you.



[ns] help needed to simulate MIH

2011-07-31 Thread Payaswini Nayak



Hi friends..
I am new to ns2. I want to simulate MIH and compare hand off latency using ns2. 
So plz send me TCl code or any useful link to study how to simulate MIH in ns2. 
I have already installed ns2.29 supporting MIH fron NIST website.  


Re: [ns] help needed to simulate MIH

2011-07-31 Thread Muhammad Shadi Hajar

There are some useful examples in hsntg subdirectory.
WBR

On Mon, Aug 1, 2011 at 8:35 AM, Payaswini Nayak payaswini.2...@yahoo.comwrote:




 Hi friends..
 I am new to ns2. I want to simulate MIH and compare hand off latency using
 ns2. So plz send me TCl code or any useful link to study how to simulate MIH
 in ns2. I have already installed ns2.29 supporting MIH fron NIST website.




-- 
Eng. Muhammad Shadi Hajar


  1   2   3   4   5   6   7   >