http://getch.wordpress.

com

STEPS TO INSTALL ns2.34 IN UBUNTU 10.10
Read this article online @ http://bit.ly/netsim

PROCEDURE 1: * Update your ubuntu $ sudo apt­get update *  Install ns2.34, nam and xgraph  $ sudo apt­get install ns2 nam xgraph Thats all! PROCEDURE 2: Step1: Download your desired ns version from this site(http://bit.ly/downloadns ).  I will be using ns version 2.34. Step2: Place the ns­allinone­2.34.tar.gz  package in your home  folder(/home/micman in my case). Right click on the package and extract the  contents in the same home folder. Step3: Next, open the Terminal(Applications–>Accessories–>Terminal) Step4: Change to ns­allinone­2.34 directory  $ cd /home/micman/ns­allinone­2.34  Step5: First, Install the dependencies $ sudo apt­get install build­essential autoconf automake libxmu­dev gcc­4.3

18/unix NS=/home/micman/ns-allinone-2. .bashrc # LD_LIBRARY_PATH OTCL_LIB=/home/micman/ns-allinone-2.com Note that we are downgrading the gcc version.4.http://getch.34/otcl­1.4.18/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB # PATH XGRAPH=/home/micman/ns-allinone-2.34/tcl8.14/ PATH=$PATH:$XGRAPH:$NS:$NAM Here. replace  /home/micman with the path to your home folder.13 NS2_LIB=/home/micman/ns-allinone-2.3 Edit Makefile.34/otcl-1.34/ NAM=/home/micman/ns-allinone-2. we need to add the  path information to the file ~/. as ns2.in as follows: Find the line that says: CC= @CC@ and change it to: CC= gcc­4.34 works well with gcc4. without any errors.18/unix:/home/micman/ns-allinone-2.34/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB: $USR_LOCAL_LIB # TCL_LIBRARY TCL_LIB=/home/micman/ns-allinone-2.34/bin:/your/path/ns-allinone2.34/tcl8./install Step7: Once the installation is successful i.in found at this location ns­allinone­2.wordpress.34/ns-2.4.e.34/nam-1.bashrc Step8: Append the following lines to the file ~/.34/tk8.3 Step6: Begin ns2.34 installation $ sudo .13/Makefile.bashrc $ gedit ~/.

 This shows your  installation has been successful. comment it on the post at http://bit.com வாழக தமழ .bashrc Thats all! type ns to see % and type nam to show the nam startup window.wordpress. do the following: $ source ~/. ­­­­­­ If there is any mistake in this procedure please mail me at micman.http://getch.wordpress.ly/netsim ------- For technical news and interesting news visit http://getch.com Step9: For the changes to take effect immediately.com If you have any queries.manoj@gmail.