[ns] mapping problem

2007-01-12 Thread sandesh shenoy

Hello,
   If i change the any .tcl file in ns/eurane,have i got to 
change the .cc file also? Is the mapping done automatically or do we need to 
affect the changes?Because i have created the topologies as required for a 
network by changing the .tcl file.Still some problem with timer is 
occurring.Could anybody help me out in this regard.Any suggestions are welcome.
   
  Thanks in advance.


-
 Here’s a new way to find what you're looking for - Yahoo! Answers 


Re: [ns] CIMS/NS-2

2007-01-12 Thread Pedro Estrela

i don't have them. ask the web site owner; when you get them, I'll happy to
provide a mirror im my page

Pedro Estrela


On 1/12/07, Ameera AL-Durazi [EMAIL PROTECTED] wrote:

  Dear Sir,

 I have got linux RedHat 8.0 but the problem know that when I go to the
 link that you give to me which is


 http://www.infotech.tu-chemnitz.de/~knoll/NS2/Installing_old_NS2_version_ns-allinone-2_1b6a_on_RedHat_8_0.php

 it gives me error when I try to download the patches that included in the
 link , so could you send me these patches

 Thanks ,

 Ame



  --
 From: *Pedro Vale Estrela [EMAIL PROTECTED]*
 Reply-To: *[EMAIL PROTECTED]*
 To: *'Ameera AL-Durazi' [EMAIL PROTECTED]*
 CC: *ns-users@ISI.EDU*
 Subject: *RE: CIMS/NS-2*
 Date: *Wed, 10 Jan 2007 14:16:01 -*

  http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html#_Toc147660119


 http://www.infotech.tu-chemnitz.de/~knoll/NS2/Installing_old_NS2_version_ns-allinone-2_1b6a_on_RedHat_8_0.php



 The problem is the GCC compiler, which should be at least 2.95 or older.
 When you can install the original ns2.1b6 without errors, then you'll know
 that you are on the right track.



 Pedro Vale Estrela











 -Original Message-
 *From:* Ameera AL-Durazi [mailto:[EMAIL PROTECTED]
 *Sent:* quarta-feira, 10 de Janeiro de 2007 10:19
 *To:* [EMAIL PROTECTED]
 *Subject:* CIMS/NS-2



 Dear Sir,

 I am doing a project on CIMS ns-2 , but I have seen that the one of the
  requirment of the CIMS software is linux RedHat 8.0 , but I dont that
 version so is it ok if I use RedHat 9 to add this patch to my ns-2 ???

 Thanks,

 Ame


  --

 Express yourself instantly with MSN Messenger! MSN 
 Messengerhttp://g.msn.com/8HMAEN/2737??PS=47575Download today it's FREE!


 --
 FREE pop-up blocking with the new MSN Toolbar MSN 
 Toolbarhttp://g.msn.com/8HMBEN/2752??PS=47575Get it now!


Re: [ns] random number not really random in my script [SOLVED]

2007-01-12 Thread Luqman

hi all,

for the sake of completion.
 Luqman wanted us to know:

Though errors are inserted in the received packets these errors occur at
the same place during every run of simulation. 

I think this is not intended so. Random variable should contain
different numbers every time random function is called.

After reading up in the ns-manual while searching for random and
seed, I found that ns-ransom 0 choses the seed at run time whereas
otherwise a static seed was being used.

Hope this helps others with same questions.

Regards,



-- 
Luqman


[ns] 802.11g Simulation

2007-01-12 Thread Hisham Jiffri

Hi,

I need to simulte an 802.11g environment using NS2.

Since NS2 has no direct implementation of this, and furthermore, since
802.11g is quite similar to 802.11b, I guess it would be OK to use it, with
the appropriate settings.

Has anybody done a similar simulation earlier? if so, I could use some help
on this.

thanks  in advance,
Hisham


[ns] TCP traffic modeling

2007-01-12 Thread Pilugin Alexander

Hi All!
How can i set delay variation for each packet in one TCP flow?
Thanks in advance!

Best regards, Alex!



Re: [ns] NS tutorial update proposal

2007-01-12 Thread Joachim Fabini

Hi Pedro,
 
 You are, of course, 100% correct - the tutorial is outdated 
 and its very confusing to first time users.
  
 One problem is that, in general, NS2 users ask much, but 
 contribute little when they have their questions solved - 
 either by the help of somebody, or by their own.

Your statements match very close my first impression as NS2
newbie. Reading through the mailing list archive helps, but 
I also noticed that - compared to other groups - there are very, 
very few people (won't mention names ;) who regularily answer 
questions - thanks to you and to the other members for their 
help and time. 

As about the reason for the rather low feedback on the mailing
list I can only speculate: on one hand, the plain NS is pretty 
complex, and people new to NS seem to try the minimum effort 
approach - instead of searching through the archive they 
immediately send their question to the list. This yields a high 
ratio of noise traffic. As soon as users become familiar with
NS they focus on their specific task and many of them no longer 
actively participate in the list. On the other hand 
the high number of patches, releases, and variants (moreover the
incompatibility of some of these patches with each other) make
answering questions on NS more difficult. 
In addition it seems to me that NS is used mainly in the academic 
field, where people usually leave after having completed their 
project (paper, thesis, etc.) - sadly enough sometimes without 
leaving behind any usable documentation of their patches/modules.

So it's up to us (academics, be it students or supervisors) to
make sure that we contribute something back to the community - 
and prepare students for real life by forcing them to document
what they have done and giving this back to the community.

Only as an example, regarding chapter VII of Marc's tutorial - 
in half an hour the person who changed the ping sources and 
included the sources into the NS distribution could also have 
updated the related web pages. If someone else is expected to
do this, it takes him definitely longer to find out what 
exactly was changed and why... I tried to include all details
that I have noticed into my posting but I'm almost sure that I
skipped some.

  
 Some examples from my personal experience:
 http://mailman.isi.edu/pipermail/ns-users/2006-June/056015.html
 http://mailman.isi.edu/pipermail/ns-users/2006-January/053560.html

Yes, it's sad - but I repeat myself: the problem is that those
who have gained a medium level of experience in NS and who have
used the work of all previous NS developers are the target group 
for these contributions - having spent two days on NS does not 
give me the experience to find out all changes (and the reason 
for these changes). 


 Regarding this particular topic, what I suggest is to:
  -  create a page about NS2 tutorials in the NS2 wiki, which 
 could be used to detail the important changes for recent 
 versions of NS2 of this, and possibly other tutorials. 

Good idea, but I see the tutorial maintenance as an orthogonal 
task to what you have proposed. The tutorial pages have such a 
high rating in search engines (like Google) that users will find 
the initial tutorial first. So imho the only way how to solve 
the problem is to keep synchronized the text and sources of 
these tutorials first - or take them offline, which is also not 
the solution that I'd like to go.

 However, in my opinion, major improvements in problems like 
 this will only be possible if more users take the action to 
 contribute.

I completly agree with your point of view.

Thanks anyhow,
best regards
--Joachim
 



[ns] Need Some Changes on IEEE 802.11 Mac Layer.

2007-01-12 Thread hamid reza

Dear All,
In ECS: an Enhanced Carrier Sensing Mechanism for
Wireless Ad-hoc Networks Paper.
Authors proposed we can select Best Value For EIFS
Based on Frame Length.

We know : 
RTS: 20 bytes, CTS: 14 bytes,ACK: 14 bytes.
But Frame length CTS and ACK is Equal.
Authors proposed we can increase CTS value to 17.

1- But,How can we do this change in NS2.27?

On Next step:
Based on Frame length we select a good Value for EIFS:
Proposed Values :
EIFS(RTS) = SIFS + TxTi m e (CTS ) ;
EIFS(CTS)=SIFS+TxTime(Max-Data-Length) ;
EIFS(Data)=SIFS+ TxTime(ACK ) ;
EIFS(ACK) =DIFS ;
EIFS(collisionorunknowntype) =StandardEIFS ;

Example if we Receive a  frame(it s size equal with 14
bytes)We can find out this frame is ACK Frame and Best
Value for EIFS is DIFS.

2- Can you bring me or guide me How can i implement
these condition statements?

I m appreciating that hear from you as soon as
possible

kind Regards
Hamid Reza




 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL



Re: [ns] random number not really random in my script [SOLVED]

2007-01-12 Thread Michele Weigle

On Jan 12, 2007, at 8:00 PM, [EMAIL PROTECTED] wrote:
 for the sake of completion.
 Luqman wanted us to know:

 Though errors are inserted in the received packets these errors  
 occur at
 the same place during every run of simulation.

 I think this is not intended so. Random variable should contain
 different numbers every time random function is called.

 After reading up in the ns-manual while searching for random and
 seed, I found that ns-ransom 0 choses the seed at run time whereas
 otherwise a static seed was being used.

 Hope this helps others with same questions.

Right, the way that the RNG in ns-2 is setup, the default seed is the  
same every time unless you change it.  If you want to make sure that  
the different runs of your experiment are independent, you should use  
the substream feature available in ns-2.

A further description of this can be found in Section 4 of this paper:
M.C. Weigle, Improving Confidence in Network Simulations, Proceedings  
of the Winter Simulation Conference, Monterey, CA, December 2006, pp.  
2188-2194.
http://www.cs.odu.edu/~mweigle/papers/wintersim06.pdf

This paper also contains the same example found in the ns Manual at
http://www.isi.edu/nsnam/ns/doc/node265.html

Essentially, you want to call next-substream enough times to advance  
the random number stream past where you used it in the previous  
experiment.  For example, if you want to run the experiment 3 times:
   1st experiment - call next-substream 0 times
   2nd experiment - call next-substream 1 time
   3rd experiment - call next-substream 2 times

Be VERY careful with setting the seed according to the time of day.   
Unless you print out the seed and record it, you won't be able to  
reproduce an experiment exactly.  More importantly, if you set the  
seed by the time-of-day, there is no way to guarantee that the  
multiple runs of your simulation are independent.

-Michele

--
Michele Weigle
Assistant Professor
Department of Computer Science
Old Dominion University
Norfolk, VA 23539
mweigle at cs.odu.edu
http://www.cs.odu.edu/~mweigle/





[ns] error information of installing iNSpect in Fedora Core 5 linux

2007-01-12 Thread wjw7869

Dear all,
   I have installed OPenGl,When I install iNSpect  in Fedora Core 5 linux ,At 
last it remainds me that :

. 
 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   
-I/usr/share/inspect/iNSpect/gtkglext/include/gtkglext-1.0 
-I/usr/share/inspect/iNSpect/gtkglext/lib/gtkglext-1.0/include 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/atk-1.0   eventBuilder.cpp
eventBuilder.cpp: In constructor ‘eventBuilder::eventBuilder()’:
eventBuilder.cpp:39: 错误:‘eventThreadFunc_readTwoMobility’ 在此作用域中尚未声明
eventBuilder.cpp:40: 错误:‘eventThreadFunc_readSomeLines’ 在此作用域中尚未声明
make: *** [eventBuilder.o] 错误 1
strip: 'iNSpect': No such file
 If you help me,I will be appreciate you! 

best wishes for you!

Wang Junwei   Hefei University of Technology  Hefei China