Lab for Day 1

  1. Installation
    Download the compressed tar file from this link and place it in your home directory.

    Install ns using the following commands:

    	  
    	  tar zxvf ns2-allinone2.1b6a.tar.gz
    	  cd ns-2-allinone2.1b6a
    	  ./install >& install.out
    
    When installation is over, view install.out with an editor and look for any possible errors. If you don't see any error, proceed. If there is an error, notify one of the instructors

    Put ~/ns-allinone-2.1b6/bin in your default path

  2. Simple exercises
    Create a ns-test subdirectory at your home directory. Go to this directory and copy all the scripts into ns-test directory. Run each script using the following command:
    	       % ns script.tcl
    
    If you encounter any run-time error, please notify the instructors.

  3. Addtional sample scripts
  4. Simple Tcl/OTcl exercises

  5. Simple NS Exercises


Nader Salehi
Last modified: Mon Jun 26 18:02:28 PDT 2000