Re: [ns] How to save xgraph plots :-??

2006-08-12 Thread plucs
True. However, colour will be lost if the graph is saved as a ps file. P. M. Akif YAZICI wrote: Try printing the graph into a ps file.

Re: [ns] send_time = Now or Scheduler::instance().clock();

2006-08-11 Thread plucs
If you are curious to find NOW why don't you use find with grep?? P. Bie New wrote: Thanks Pedro, But where can I find the definition of NOW. Would you tell me in which files? :) 2006/8/11, Pedro Fortuna [EMAIL PROTECTED]: Actually, I think it is exactly the same thing, as Now

Re: [ns] trace file

2006-08-11 Thread plucs
How did you find the mailing list yet fail to find the links to the installation instructions? Windows: http://www.isi.edu/nsnam/ns/ns-win32-build.html Linux: http://www.isi.edu/nsnam/ns/ns-build.html P. [EMAIL PROTECTED] wrote: Assuming you are using linux: tar -xzf ns source enter the

Re: [ns] doubt in Mac/802_11 parameters

2006-08-11 Thread plucs
Have you done a google search? There is extensive material letting you know how to modify these parameters. It is not straightforward however to change the data rate. Sandeep wrote: Hi all, In Mac/802_11 what do dataRate_ basicRate_ and PLCPDataRate_ mean? what's the difference btw them.

Re: [ns] how to install adjacency matrix at each node

2006-08-09 Thread plucs
I'd suggest that it is easier to use the c++ function which tells you the neighbouring nodes. P. piyush sharma wrote: Hi Everybody, I want to know how can I install the adjacency matrix at each node ? I have created an adjacency matrix (which is a NxN matrix, where N is the no. of nodes in

Re: [ns] OTCL-Linkage

2006-08-09 Thread plucs
Hi Jana, I can't see the solution straight away and without looking at it longer I can't tell you. Your solution looks ok but I am concerned about your use of friend. Does it actually create an AODV agent? I'd suggest using gdb with breakpoints to work out what is going on. Jana Henniger

Re: [ns] Random motion for ad-hoc network

2006-08-08 Thread plucs
That's right. However the nam file will always be the same as you are supplying node mobility with the same mobility file (.scen). P sara MA wrote: My beleive is whenever I run the ns command for my tcl file, the nam file for that tcl file is overwritten, am I wrong? From: [EMAIL

Re: [ns] How to make .o files

2006-08-08 Thread plucs
I suggest you look at the Makefile first, then make the necessary modifications and run make. P. Aleksandar Smolovic wrote: Hi all, when I need to install a module under NS2 and have modulefile.cc and modulefile.h files how to make modulefile.o ? Thanks.

Re: [ns] OTCL-Linkage

2006-08-08 Thread plucs
Hi Jana, I suggest you first check whether the bound variables work with AODV in the first place. If they do not work then you will need to get a reference to the AODV agent in .tcl simulation script. You can start looking in tcl/lib P. Jana Henniger wrote: I’m new to ns-2 and C++ and need

Re: [ns] How i can calculate transition time of the packet in normal ip and mpls

2006-08-07 Thread plucs
Hi misagh, I'm not aware of any command that will give you the transition time. I suggest that you write a script in a language like perl, python, or sed to parse the trace files and find the information you need. To find out the transition time, subtract the time the packet is sent to the

Re: [ns] path setting

2006-08-07 Thread plucs
Hi Sanaz, To use your new path settings you need to use the source command. I can see that you are using the root user. Why? Create a new user account to build and run ns2, and use sudo for root privileges. P. sanaz helmi wrote:

Re: [ns] Random motion for ad-hoc network

2006-08-07 Thread plucs
sara MA wrote: hello: I'm using these codes for creating random motion in an ad-hoc network: for {set i 0} {$i $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 1 } for {set i 0} {$i $val(nn) } {incr i} { $node_($i)