Installation
------------------
1. To install in Ubuntu-16.04 use the following commands
2. For installing nam you have to download it from here (in ubuntu repositories nam is depricated .
Ubuntu 64 bits
Ubuntu 32 bits
3. Now run the following command to install nam
sudo dpkg --install nam_1.15-10_i386.deb (for 32 bit ubuntu)
4. Now restart you terminal and run the command
To run a tcl program in ns2
--------------------------------------------
1. Download ns-simple.tcl program . And run following commands in terminal
For getting started with ns2
---------------------------------------------
1. For tutorial and documentation
Tutorial
NS2 Documentation
2. For 2000 examples of tcl program
https://drive.google.com/file/d/0B7S255p3kFXNUUpUYWJ6TTdseWc/view?usp=sharing
Resource used
-----------------------
http://nile.wpi.edu/NS/simple_ns.html
https://www.linuxquestions.org/questions/ubuntu-63/installation-problem-in-nam-4175604400/#post5701136
------------------
1. To install in Ubuntu-16.04 use the following commands
sudo apt-get install ns2sudo apt-get install xgraph
2. For installing nam you have to download it from here (in ubuntu repositories nam is depricated .
Ubuntu 64 bits
Ubuntu 32 bits
3. Now run the following command to install nam
cd ~/Downloadssudo dpkg --install nam_1.14_amd64.deb (for 64 bit ubuntu)
sudo dpkg --install nam_1.15-10_i386.deb (for 32 bit ubuntu)
4. Now restart you terminal and run the command
nsIt will show % as output which indicates you have successfully installed ns2 program .
To run a tcl program in ns2
--------------------------------------------
1. Download ns-simple.tcl program . And run following commands in terminal
cd ~/DownloadsNow you should see the output in nam animator .
ns ns-simple.tcl
For getting started with ns2
---------------------------------------------
1. For tutorial and documentation
Tutorial
NS2 Documentation
2. For 2000 examples of tcl program
https://drive.google.com/file/d/0B7S255p3kFXNUUpUYWJ6TTdseWc/view?usp=sharing
Resource used
-----------------------
http://nile.wpi.edu/NS/simple_ns.html
https://www.linuxquestions.org/questions/ubuntu-63/installation-problem-in-nam-4175604400/#post5701136