Re: [ns] network coding in ns2

2012-08-06 Thread Faramarz Kazemainy

Hi. You may find lots of codes if you search and also from here:
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code
Also this is so useful if you have just started:
http://www.isi.edu/nsnam/ns/tutorial/index.html
Regards,
Kazemainy

On Mon, Aug 6, 2012 at 10:50 AM, Zeinab Rezaiefar z.rezaie...@yahoo.comwrote:







 
 
 hi friends
 I am working on network coding in wireless networks.
 I want to know if there is some one that has sample code for network
 coding in ns2 ?
 any help will be appreciate.
 thanks
 
 



[ns] How send AWK result to an output file?

2012-08-03 Thread Faramarz Kazemainy

Dear all,
Would you please elaborate on the following points?
- I have 130 ns2 trace files. How can I use a single command to do them all?
- How can I send the results to a single file?

I have found this:

awk -f awkfile.awk tracefile1.trace tracefile2.trace

here:
http://www.gnu.org/software/gawk/manual/html_node/One_002dshot.html#One_002dshot

But the result is a single output which is a kind of average of both trace
files.

I really appreciate your cooperation.
Kindest regards,
Faramarz


[ns] Where find AWK help and scripts

2012-08-02 Thread Faramarz Kazemainy

Dear all,
would you please let me know where I can find tutorials or information
about AWK and AWK Scripts?
Best regards,
Faramarz


Re: [ns] Use of simulations is not convincing at all? Please give your idea.

2012-07-03 Thread Faramarz Kazemainy

Hi.
Sure they are just similators and cannot really emulate the reality; many
factors are ignored. For instance probabilistic bit error model is used
and the word PROBABILISTIC goes without saying that the results are
estimations but since we may not really make test beds in many sitations,
using simulators may help to get closer to the real situation.
Kindest regards,
Faramarz

On Wed, Jul 4, 2012 at 1:58 AM, Tuan minh Tran tuanminh...@yahoo.fr wrote:


 Hi All,

 I received a comment of a reviwer for using Ns2 in simulations that:

 Use of simulations is not convincing at all. If you implement your
 algorithm in whatsoever devices, I will believe it. It mean that Ns2,
 Opnet, Qualnet , etc. are not valid.

 Please give your idea.

 Regard.


 



[ns] Zheng 802.15.4

2012-06-12 Thread Faramarz Kazemainy

Dear all, I have downloaded and installed Zheng code for 802.15.4 but I get
the following error whereas my version is 2.35!

love@ubuntu:~/wpan_zbr$ ./install

Determine ns2 and nam pathes ...ls: cannot access /usr/nam-*: No such file
or directory
done
   ns2 version:   /usr
   ns2 directory: /usr//usr
   nam dirctory:
Your ns2 (version /usr) is too old
You need at least version 2.26 to install this package

Would you please help me to eliminate the problem?
Kindest regards,
Faramarz