Skip to main content

Posts

NS2 Visual trace analyzer

A Visual trace analyzer is been developed by Mr. Fernando and you can download freely from his website http://nsvisualtraceanalyzer. wordpress.com/ This software is been developed using .NET C# 4.0 This software will run only in windows and not tested in Wine platform of Linux (May be will work) in future, the same software will be processed using Java as most of the OS will run. download from this url : http://student.dei.uc.pt/~ frocha/ns/NS2- VisualTraceAnalyzer-0.2.72.zip   here is the manual: http://nsvisualtraceanalyzer. files.wordpress.com/2012/07/ ns2-visual-trace-analyzer- manual.pdf This software accepts a tcl, trace files, scenario files and interprets the contents and displays results like throughput,data, etc. Also there is a provision for graphing too.. Its a very great handy tool for NS2 (particularly beginners to researchers).. Here are some of the screen shots of the software Open a Tcl File and shows the second picture as shown in the next pi...

Wireless Node Configuration in Network Simulator 2 (NS2)

The node configuration in ns2 is a special task in which the number of nodes can be configured for a set of parameters. The following table tells about the node  configuration parameters as defined in the ns-lib.tcl The readers are requested to refer the ns-lib.tcl file for more information. Option Available Values Remarks addressType flat, hierarchichal   MPLS ON,OFF Multi protocol Label Switching wiredRouting ON, OFF   llType LL, LL/Sat Link Layer macType Mac/802_11, Mac/Csma/Ca, Mac/Sat, Mac/Sat/UnslottedAloha, Mac/Tdma Medium Access Control ifqType Queue/DropTail, Queue/DropTail/PriQueue Interface Queue type phyType Phy/wirelessPhy, Phy/Sat Physical Layer Type adhocRouting DIFFUSION/RATE, DIFFUSION/PROB, DSDV, DSR, FLOODING, OMNIMCAST,AODV,TORA,PUMA adhoc routing protocol propType Propagation/TwoRayGround, Propagation/Shadowing Propagation Type antType Antenna/OmniAntenna, Antenna type Channel Channel/WirelessChannel, ...

Tracegraph - a graphing software to plot the trace files from NS2

Tracegraph is a third-party software that helps in plotting the graphs for NS2 and other networking simulation software. But the sad point is the software is not maintained by anyone and the happiest point is the software works fine still and it is free.  You may download the tracegraph software from these locations. For Windows:  https://dl.dropbox.com/u/24623828/tracegraph202.rar For Linux :  https://drive.google.com/file/d/0B4nUSbTYSK4TSjNockFKbmRxdnM/view?usp=sharing&resourcekey=0-5rI_aWvptwWDvB01V6-ZDw   https://dl.dropbox.com/u/24623828/mglinstaller.gz There are actually two files one with the matlab runtime library file and other is the original software tracegraph. Tracegraph when opened, it opens 3 windows,  one window to select the trace file (.tr) that was created by NS2 (depending on the size of the trace file , the processing time also varies) The second window is the main window in which you can see the graphs for various performance character...

proc directory in Linux

If by any chance, if you want to know about the processor, memory, IO Memory, Ports, etc about the system/CPU. Then you can look into the folder /proc in Linux. There are various files that tells you the information about the CPU. Some Examples if you want to know about the CPU Information, go to the terminal and try this # cat /proc/cpuinfo For memory information # cat /proc/meminfo For IO Memory information # cat /proc/iomem if you want to see how long the system is up can be seen using the file uptime # cat /proc/uptime (The above will list two numbers, one being the uptime of the system and other being uptime for all the cores of the processor) and other information like scheduling, filesystems, etc can be seen from the /proc folder

How to install C++ and other libraries in Ubuntu

For any software development work in ubuntu, some software packages are needed. For example C/C++ will be needed by almost all the developmental work how to install the required libraries and needed softwares for development, here are the steps  You create a password for the super user sudo passwd Give the password of the default user and then give the root password twice. Once you install Ubuntu (any distro), just update the softwares by the following command: sudo apt-get update sudo apt-get install build-essential libxmu-dev  (the above line will install softwares of size nearly 56MB) This will install latest G++ compiler along with other developmental libraries.

Installing NS-2.35 in Fedora 17

Download NS2.35 from this link. http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download Copy the file to /home/yourhome (in my case it is, /home/pradeep/) Untar it using “ tar zxvf ns-allione-2.35.tar.gz ” (without quotes) “cd ns-allione-2.35/” (without quotes) “./install” (see the dot in the beginning) During the installation there may be a error in linkstate/ls.h, the location of ls.h is  “/home/pradeep/ns-allinone-2.35/ns-2.35/linkstate/ls.h” Open the file using gedit “gedit /home/pradeep/ns-allinone-2.35/ns-2.35/linkstate/ls.h” in line number 127, there will be a erase function, change it to this->erase and go to step 5. Once installation over, set the PATH and that’s it.