Posts

Installing ns-2.35 on Mountain Lion, Mavericks, Yosemite and El Capitan (OS X 10.8/10.9/10.10/10.11)

Here i will provide step by step procedure for you to install ns-2.35 on mac OS X 10.8/9/10 which i successfully installed on my mac (fully tested by me and its working) Credits:-  Brain Adamson(for great patch)  Henrique Zelak Leite Bastos for the right help. APPLE for Mac OS X.(the best a dev. can get) Step 1. Software Requirements (Pre-requisites). Download ns-2.35 from  http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download Go through this tutorial to install command line tools via terminal  http://leviathan37.tumblr.com/post/76618063571/how-to-install-command-line-tools-on-osx-mavericks Download XQuartz from http://xquartz.macosforge.org/ (this installs X11 libraries)  install and reboot/logout . Step 2 . Choose install directory. Place the downloaded ns-allione-2.35.tar.gz file in the location you want to install it.  Step 3 . Extract ns files. Go to location where you have put your downloaded .tar.

Tutorial to implement protoname in ns2.35

This is an Implementation tutorial of new manet( M obile A d-hoc NET works) unicast protocol name protoname. The whole credit goes to Francisco J. Ros and Pedro M. Ruiz for their beautiful work and excellent explanation they provide. The link to their work is below. It contains a PDF file also which explains you in detail and I recommend you to go through it once. List of files to be modified ~/ns-allinone-2.35/ns-2.35/common/packet.h ~/ns-allinone-2.35/ns-2.35/trace/cmu-trace.h ~/ns-allinone-2.35/ns-2.35/trace/cmu-trace.cc ~/ns-allinone-2.35/ns-2.35/tcl/lib/ns-packet.tcl ~/ns-allinone-2.35/ns-2.35/tcl/lib/ns-default.tcl  ~/ns-allinone-2.35/ns-2.35/tcl/lib/ns-lib.tcl ~/ns-allinone-2.35/ns-2.35/queue/priqueue.cc   ** Note: Text in red is the part that is to be added or modified in given file and location and purple colour denotes the terminal commands. ** Note: mod stands for modification. ** Note: Line number is approx and is provided for your convenience.

Installing ns-2.35 in Ubuntu 12.04, 12.10, 13.04, 13.10 and 14.04

Tutorial to install ns-2.35 on Ubuntu 12.04/10 and 13.04/10 please follow the tutorial step by step Step 1: Download NS-2.35 ( http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download ) Step 2: place this file ns-allinone-2.35.tar.gz in any folder you like (recommended is /home/loginname)  Step 3: Run this command in terminal ( first go to the directory where you have put you  ns-allinone-2.35.tar.gz file. ) tar zxvf ns-allinone-2.35.tar.gz (extracts the .tar.gz files content to a folder in the same directory name ns-allinone-2.35) Step 4: Run these command in terminal (Requires Internet) sudo apt-get update ( means you need to keep your pc sources  updated ) sudo apt-get install build-essential autoconf automake libxmu-dev  (These are essential library files and size is around 17 MB) Step 5: Run this command in terminal    cd ns-allinone-2.35 (get inside the ns directory) Step 6:  ./install  note: -