Re: [ns] 'Handoff Attempted' message

2009-04-22 Thread Mayur Mansukhlal Vegad
See following link, where it was already reported as a bug, because there is no point of doing a Handoff in a NON-INFRASTRUCTURAL environment. It includes a simple solution also. (Note: The asterisks (*) in the snippet of the code are extra, ignore them...) http://mailman.isi.edu/pipermail/ns-us

Re: [ns] is there any one can tell me something about TCP tracefileanalysis without using some software

2009-04-07 Thread Mayur Mansukhlal Vegad
In the script (e.g. a Perl file) that analyzes the trace file with UDP, you need just change the word `udp' with `tcp'. I suppose this is what you want, OR your question is not understood well. Mayur > > Hello All, > > I have searched the internet for quite some time, however, I always find > tha

Re: [ns] What does the error "Segmentation Fault" means and how diserror can be rectified.......

2009-04-05 Thread Mayur Mansukhlal Vegad
`segmentation fault' is an error related to improper memory usage (e.g. accessing a location out side the allocated data segment for the process). It can best be analyzed by ddd (with gdb) and valgrind kind of tools. Mayur > > H ns-usersIf any of you guys know what does the error > "segm

Re: [ns] Set duration value

2009-04-05 Thread Mayur Mansukhlal Vegad
What do you mean by SPECIFIC duration value? It is calculated as per the 802.11 std and filled in the duration field of the header. See Mac-802_11.cc file for details. Mayur > > Hello everyone > > Can anyone tell me how can I set a specific duration value for > request-to-send (RTS) and clear-t

Re: [ns] carrier sense

2009-03-01 Thread Mayur Mansukhlal Vegad
NAV is not a table. For a particular node its NAV is a simple variable used to store a number which is the duration (in microseconds) for which it freezes its backoff downcounting, it it is ON. You can know this value by accessing the nav_ (a double type of variable of Mac802_11 class in mac/mac-8

Re: [ns] How to reduce execution time of scenario generation (using setdest)

2009-02-28 Thread Mayur Mansukhlal Vegad
t 50 lines. All other code is of > god only. Previously when I worked with it, I did this optimization and it > scalled well even for 1000 nodes(it generated the mobility scenario in > less > than 1 minute) > > I think this helps. > > regards, > Manish > > > >

Re: [ns] Fw: trace file

2009-02-27 Thread Mayur Mansukhlal Vegad
Better you refer Ch. 16 of ns-manual for good understanding. > > > > > > > > > > Eng Rony > > hi all > i run simple-wireless.tcl example from Marc Greis' tutorial section " IX. > Running Wireless Simulations in ns " and i want to know what each field in > o/p trace file means, for example: > > >

[ns] How to reduce execution time of scenario generation (using setdest)

2009-02-27 Thread Mayur Mansukhlal Vegad
Dear all, scenario generation takes around 2.5 to 3 minutes for large number (eg 100) of nodes. It is too much. After that the ns simulation takes another minute or more. Could anybody guide how to reduce the execution time particularly of the setdest tool? with regards, Mayur

Re: [ns] several sinks on single node

2008-09-13 Thread Mayur Mansukhlal Vegad
Dear Abdelhak, Answers are intermingled with your questions... Abdelhak Farsi wrote: > Hi there, > I assume that in 802.11 WLAN working in infrastructure mode, Your assumption is right but only for the latest version, 2.33. There are various versions of WLAN implementations available. Go throug

Re: [ns] remove ns2

2008-08-30 Thread Mayur Mansukhlal Vegad
Dear Kamal, You need not remove it from your computer unless the Secondary memory is scarce, which I suppose, is not the issue. Just change the PATH, LD_LIBRARY and TCL_LIBRARY environment variables as asked after the installation of ns2.26, so that the is run instead of . And still you can