[ns] Create-god command

2011-04-10 Thread Ahmad

Hi all,
I still don't understand why we need to use create-god.  What determine the 
number I  put? Can I just put more than the total number of nodes to be on the 
safe side.
Thanks
Ahmad


[ns] Drawing exponential graphs

2011-04-10 Thread rajeev joshi

Hell,
I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw the
exponential graphs in xgraph if yes please tell how otherwise please anyone
tell any software that plots .

Waiting for ur reply.

-- 
Jeeva Rajeeva


[ns] Problem installation of NS2.34 in UBUNTU

2011-04-10 Thread Zakia Khalfallah


Hi Friends,
i try to install NS2.34 in UBUNTU it shows me this error :

make: *** [tk3d.o] Erreur 1
tk8.4.18 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com;

Some one has met the same problem and helps me please.
Thank you

  


Re: [ns] -- Question? -- What is the algorithm for MIH Link Events on NIST package of NS2? --

2011-04-10 Thread RamiHach


hi sadik 
did you find you information plz ?

Sadik wrote:
 
 
 Hello everyone,
 
 I need your help immediately. I am looking at the link event algorithms on
 MIH on NIST pakcage of NS2.
 I could not find any documentation about this yet. I am reading codes but
 I
 am not good at C++ so I really don't understand the codes.
 
 Do you know the algorithm for creating the link  events like Link Going
 Down, Link Up?
 Which algorithm they use to create the Link oing Down?
 
 I am looking to hearing from you.
 
 Thank you very much.
 
 Sadik
 
 

-- 
View this message in context: 
http://old.nabble.com/---Question-What-is-the-algorithm-for-MIH-Link-Events-on-NIST-package-of-NS2-tp25789258p31337457.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Drawing exponential graphs

2011-04-10 Thread mikes1313






rajeev joshi-3 wrote:
 
 
 Hell,
 I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw the
 exponential graphs in xgraph if yes please tell how otherwise please
 anyone
 tell any software that plots .
 
 Waiting for ur reply.
 
 -- 
 Jeeva Rajeeva
 
 

I am facing the same problem with Xgraph from what I now you can easily draw
graphs through excel. Can you please provide me your awk scripts for
throughput-delay because I am still facing problms with mine.
THANKS MIKE
-- 
View this message in context: 
http://old.nabble.com/Drawing-exponential-graphs-tp31362766p31364230.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Algorithm in NS2

2011-04-10 Thread Mohammed Alenezi

Hi,

I need to put specific algorithm in certain nodes. I'm not sure on which
level I shall put it. In other words, shall I put in TCL code or in C++
code?

My algorithm is very simple I just check the node id and add it to an array.

Please guys, your help on this issue is highly appreciated.

-- 
Regards,
Mohd.


[ns] ns2 wimax mesh networks

2011-04-10 Thread Γιώργος Καρανίκας

Good evening everyone,

my question is quick and simple (I believe). Could anyone tell me if and 
how can I produce a normal trace file using the ns2 wimax mesh80216 module;

I tried to change the header file which is being used as a source to 
the scenario file in order to produce my trace but I've got nothing. The 
only thing I do have are some statistics from the binary(!) file they 
use to show info about the simulation.

The problem is that I want to produce some plots in order to make some 
comparisons between the several wimax modules.

Any help would be appreciated!

Thanks in advance,
Giorgos Karanikas



[ns] aw k scripts for udp/cbr AODV

2011-04-10 Thread mikes1313


Hi I need awk scripts for udp/cbr AODV

THANKS
mike
-- 
View this message in context: 
http://old.nabble.com/awk-scripts-for-udp-cbr-AODV-tp31365052p31365052.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] aw k scripts for udp/cbr AODV

2011-04-10 Thread mikes1313


e2edelay,throughput,sent-received-dropped packets,energy consumption,jitter




mikes1313 wrote:
 
 Hi I need awk scripts for udp/cbr AODV
 
 THANKS
 mike
 

-- 
View this message in context: 
http://old.nabble.com/awk-scripts-for-udp-cbr-AODV-tp31365052p31365195.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] ns2 wimax mesh networks

2011-04-10 Thread Γιώργος Καρανίκας

To make is simpler I want to produce a trace file from the scenario I'm 
attaching on this em-mail. If anyone can help please let me know!


On 10/4/2011 7:54 μμ, Γιώργος Καρανίκας wrote:

Good evening everyone,

my question is quick and simple (I believe). Could anyone tell me if 
and how can I produce a normal trace file using the ns2 wimax 
mesh80216 module;


I tried to change the header file which is being used as a source to 
the scenario file in order to produce my trace but I've got nothing. 
The only thing I do have are some statistics from the binary(!) file 
they use to show info about the simulation.


The problem is that I want to produce some plots in order to make some 
comparisons between the several wimax modules.


Any help would be appreciated!

Thanks in advance,
Giorgos Karanikas




Re: [ns] Fwd: [Help] About configure snoop protocol in wired-cum-wireless architecture

2011-04-10 Thread Narendran Thangarajan



Narendran Thangarajan wrote:
 
 Got the solution. When the LLSnoop is applied to the same node which acts
 as the wireless-cum-wired node, segmentation fault occurs. Since ns2
 doesn't have sophisticated 802.11 protocols, the trick is to use two nodes
 to simulate an AP. One node with Snoop and another wireless-cum-wired
 node.
 
 Thanks,
 Narendran.
 

-- 
View this message in context: 
http://old.nabble.com/Fwd%3A--Help--About-configure-snoop-protocol-in-wired-cum-wireless-architecture-tp29698173p31365402.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Fwd: Need help for simulating the algorithm

2011-04-10 Thread rajeev bharshetty

-- Forwarded message --
From: rajeev bharshetty rajeevr...@gmail.com
Date: Fri, Apr 8, 2011 at 1:19 AM
Subject: Need help for simulating the algorithm
To: ns-users@isi.edu


Hi,
I have written an algorithm for Multipath routing in Mobile networks which
is attached with this mail . I need to simulate using ns-2 and take various
values such as bandwidth change etc and plot the graph . It is a multipath
routing protocol . I need help from you guys to help me to simulate the
algorithm using ns-2 . I have used ns-2 and is not able to simulate the
algorithm using ns-2. So please help me to simulate this algorithm or
atleast provide me the steps to tackle the problem .

Thanking you,

Regards

Rajeev N B


Re: [ns] Drawing exponential graphs

2011-04-10 Thread Mossy Mozila


Hie
I'm also facing the same problem if it happens that someone helped you can
you just post me the idea at mossymb...@gmail.com.

Thanks in advance


mikes1313 wrote:
 
 
 
 
 
 rajeev joshi-3 wrote:
 
 
 Hell,
 I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw
 the
 exponential graphs in xgraph if yes please tell how otherwise please
 anyone
 tell any software that plots .
 
 Waiting for ur reply.
 
 -- 
 Jeeva Rajeeva
 
 
 
 I am facing the same problem with Xgraph from what I now you can easily
 draw graphs through excel. Can you please provide me your awk scripts for
 throughput-delay because I am still facing problms with mine.
 THANKS MIKE
 

-- 
View this message in context: 
http://old.nabble.com/Drawing-exponential-graphs-tp31362766p31366534.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] [NS-ANS] Re: AWK script for extracting remaining energy of a node

2011-04-10 Thread Teerawat@UBC

Hi,

I don't have specific answer to your question. But If you are interested in 
learning how tracing works in NS2, please read

http://www.ns2ultimate.com/post/3995318343/post-processing-ns2-result-using-ns2-trace-main-post

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat



On Apr 9, 2011, at 12:14 AM, Ramakrishna kilari wrote:

 
 Hai friends can any body please provide AWK script for extracting remaining
 energy of a node.
 
 -- 
 Your's Rams
 




Re: [ns] Anyone who can help me with an awk file to view Throughput with Xgraph for smac simulation

2011-04-10 Thread Teerawat@UBC

Hi Mossy,

If you are interested in learning how tracing works in NS2, please read

http://www.ns2ultimate.com/post/3995318343/post-processing-ns2-result-using-ns2-trace-main-post

The above posts are based on the normal trace. If you are interested in 
wireless trace you might have to modify it  a bit. Please look at new wireless 
trace format at the link below:

http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats#New_Wireless_Trace_Formats


Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat



On Apr 10, 2011, at 3:01 AM, Mossy Mozila wrote:

 
 
 Anyone who can help me with an awk file to view Throughput with Xgraph from a
 .tr file from smac simulation which have a tcl script MyTest.tcl
 
 Here is the .tr file sample
 
 s 1.0 _0_ AGT  --- 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0
 r 1.0 _0_ RTR  --- 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0
 s 1.0 _0_ RTR  --- 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0
 s 6.003395772 _0_ AGT  --- 1 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0
 r 6.003395772 _0_ RTR  --- 1 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0
 s 6.003395772 _0_ RTR  --- 1 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0
 D 6.003395772 _0_ IFQ  ARP 0 cbr 512 [0.00 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [0] 0 0
 s 16.562202932 _0_ AGT  --- 2 cbr 512 [0.00 0 0] [energy 1000.00 ei
 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [2] 0 0
 r 16.562202932 _0_ RTR  --- 2 cbr 512 [0.00 0 0] [energy 1000.00 ei
 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [2] 0 0
 s 16.562202932 _0_ RTR  --- 2 cbr 512 [0.00 0 0] [energy 1000.00 ei
 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [2] 0 0
 D 16.562202932 _0_ IFQ  ARP 1 cbr 512 [0.00 0 0] [energy 1000.00 ei
 0.000 es 0.000 et 0.000 er 0.000] --- [0:0 1:0 32 0] [1] 0 0
 s 17.22100 _0_ MAC  --- 0 SYNC 9 [0.12 0 0] [energy 1000.00 ei 0.000
 es 0.000 et 0.000 er 0.000] 
 N -t 17.221000 -n 1 -e 982.776000
 s 18.63900 _1_ MAC  --- 0 SYNC 9 [0.13 1 0] [energy 982.776000 ei 17.221
 es 0.000 et 0.000 er 0.003] 
 N -t 18.639000 -n 0 -e 981.358000
 s 20.08000 _0_ MAC  --- 0 SYNC 9 [0.12 0 1] [energy 981.358000 ei 18.636
 es 0.000 et 0.003 er 0.003] 
 N -t 20.08 -n 1 -e 979.917000
 s 21.704249539 _0_ AGT  --- 3 cbr 512 [0.00 0 0] [energy 979.917000 ei
 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0
 r 21.704249539 _0_ RTR  --- 3 cbr 512 [0.00 0 0] [energy 979.917000 ei
 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0
 s 21.704249539 _0_ RTR  --- 3 cbr 512 [0.00 0 0] [energy 979.917000 ei
 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0
 D 21.704249539 _0_ IFQ  ARP 2 cbr 512 [0.00 0 0] [energy 979.917000 ei
 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [2] 0 0
 D 21.704249539 _0_ IFQ  ARP 3 cbr 512 [0.00 0 0] [energy 979.917000 ei
 20.074 es 0.000 et 0.006 er 0.003] --- [0:0 1:0 32 0] [3] 0 0
 s 32.98100 _1_ MAC  --- 0 SYNC 9 [0.12 1 0] [energy 979.917000 ei 20.074
 es 0.000 et 0.003 er 0.006] 
 N -t 32.981000 -n 0 -e 967.016000
 N -t 33.102200 -n 1 -e 966.896800
 N -t 34.392000 -n 1 -e 966.894510
 s 34.42000 _0_ MAC  --- 0 SYNC 9 [0.11 0 1] [energy 967.016000 ei 32.972
 es 0.000 et 0.006 er 0.006] 
 N -t 34.42 -n 1 -e 966.863510
 N -t 34.535200 -n 0 -e 965.463800
 N -t 34.535200 -n 1 -e 966.750310
 s 34.869010053 _0_ AGT  --- 4 cbr 512 [0.00 0 0] [energy 965.463800 ei
 34.520 es 0.000 et 0.009 er 0.006] --- [0:0 1:0 32 0] [4] 0 0
 r 34.869010053 _0_ RTR  --- 4 cbr 512 [0.00 0 0] [energy 965.463800 ei
 34.520 es 0.000 et 0.009 er 0.006] --- [0:0 1:0 32 0] [4] 0 0
 s 34.869010053 _0_ RTR  --- 4 cbr 512 [0.00 0 0] [energy 965.463800 ei
 34.520 es 0.000 et 0.009 er 0.006] --- [0:0 1:0 32 0] [4] 0 0
 -- 
 View this message in context: 
 http://old.nabble.com/Anyone-who-can-help-me-with-an-awk-file-to-view-Throughput-with-Xgraph-for-smac-simulation-tp31360695p31360695.html
 Sent from the ns-users mailing list archive at Nabble.com.
 



Re: [ns] Problem installation of NS2.34 in UBUNTU

2011-04-10 Thread Teerawat@UBC

Hi 

I did some test on NS2 installation. Here is the result

http://www.ns2ultimate.com/post/439346614/working-combination-ns-2-34-ubuntu-8-04-and-perhaps

There is a problem with the current linux-like distribution. Here is the
solution

http://www.ns2ultimate.com/post/441093095/ns-2-35-works-on-cygwin

Also, if you'd like to know about how to setup the initialization file in 
Linux, please read the following post:

http://www.ns2ultimate.com/post/504833450/linux-initialization-files-bash-profile-and-bashrc

I hope this will help.

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.ece.ubc.ca/~teerawat
http://www.t-issariyakul.blogspot.com
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear

On Apr 10, 2011, at 9:13 PM, Zakia Khalfallah wrote:

 
 
 Hi Friends,
 i try to install NS2.34 in UBUNTU it shows me this error :
 
 make: *** [tk3d.o] Erreur 1
 tk8.4.18 make failed! Exiting ...
 For problems with Tcl/Tk see http://www.scriptics.com;
 
 Some one has met the same problem and helps me please.
 Thank you
 
 
 




[ns] [NS-ANS] Re: Algorithm in NS2

2011-04-10 Thread Teerawat@UBC

Hi,

As a rule of thumbs, most computation should be done in C++ and most 
configuration should be done in Tcl. If you would like to learn about how C++ 
and OTcl are bound please read the series of blog posts indicated below:

http://www.ns2ultimate.com/post/648508440/c-and-otcl-linkage-why-two-languages

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat



On Apr 10, 2011, at 11:42 PM, Mohammed Alenezi wrote:

 
 Hi,
 
 I need to put specific algorithm in certain nodes. I'm not sure on which
 level I shall put it. In other words, shall I put in TCL code or in C++
 code?
 
 My algorithm is very simple I just check the node id and add it to an array.
 
 Please guys, your help on this issue is highly appreciated.
 
 -- 
 Regards,
 Mohd.
 




[ns] code to implement application level caching scheme for MANETs

2011-04-10 Thread Sainadh P

Hello All,

  I am working on a project for implementing caching schemes for MANETs. I
tried a lot and I spent a lot of time on this work. Finally I found a PDF
that describes the procedure. But sadly I do not have the time to implement
it on my own now. So I request if any body has code for implementing caching
schemes in MANETs, Please forward it to me. I am very tense as I am running
out of time to implement the process.

I will be very very grateful to the person helping me.

Thanks and Regards
Sainadh


Re: [ns] Drawing exponential graphs

2011-04-10 Thread 兰天

hi,
I also work on the simulation of 802.15.4,
I hope that we could discuss together
Varrick




At 2011-04-11 08:17:24,Mossy Mozila mossymb...@gmail.com wrote:



Hie
I'm also facing the same problem if it happens that someone helped you can
you just post me the idea at mossymb...@gmail.com.

Thanks in advance


mikes1313 wrote:
 
 
 
 
 
 rajeev joshi-3 wrote:
 
 
 Hell,
 I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw
 the
 exponential graphs in xgraph if yes please tell how otherwise please
 anyone
 tell any software that plots .
 
 Waiting for ur reply.
 
 -- 
 Jeeva Rajeeva
 
 
 
 I am facing the same problem with Xgraph from what I now you can easily
 draw graphs through excel. Can you please provide me your awk scripts for
 throughput-delay because I am still facing problms with mine.
 THANKS MIKE
 

-- 
View this message in context: 
http://old.nabble.com/Drawing-exponential-graphs-tp31362766p31366534.html
Sent from the ns-users mailing list archive at Nabble.com.