Skip to main content

Install NS2 ( Network Simulator ) on Ubuntu

Following are the simple steps to install ns2 on Ubuntu 9+ through launchpad ppa.
1> Firstly remove all ns-allinone-2.3x directory (if you put it anywhere to install ns2) and revert back all the path changes you made in ~/.bashrc related to ns2.

2> Now export the Wouter Horré's ppa repository key by typing the following command on terminal and enter:
sudo apt-key adv --keyserver --recv-keys B3F3334F

3> Now add the following ppa repository to source list.
deb karmic main
deb-src karmic main
Reload repository information when prompted by "The information about available software is out-of-date"notification or reload it manually by following command on terminal:
sudo apt-get update
4> Now type the following command on terminal to install ns from the launchpad ppa repository:
sudo apt-get install ns nam xgraph
That's all. 

Type ns to check:
you should see % at the command prompt (indicating successful installation)
Type exit if you get stuck with the %

Now Try to run any example tcl file [You can get it here]
To run a tcl file type the following command:
ns example-tcl-file.tcl


Popular posts from this blog

Direct PCB Printing at Home using Inkjet Printers

This page details the use of Epson InkJet printers with pigment based inks to feed and directly print resist patterns to copper clad printed circuit board stock, ready for etching. Once you can feed the PCB through the printer for etch resist, you can then feed it back through the printer for solder mask (yes! Several people report that it works quite well!) and for a component "silk-screen".

The Laravel 5 Package for Indian Payment Gateways. Currently Supported Gateway: CCAvenue, PayUMoney, EBS, CitrusPay.

The Laravel 5 Package for Indian Payment Gateways. Currently supported gateway: CCAvenuePayUMoneyEBS,CitrusPay. Use one unified api for all the supported frameworks. When you use Indipay for your payment gateway processing its extremely to switch between payment gateway providers without changing your source code.