Skip to content

Computer Networks Lab Programs(VTU CSE 5th Sem 2017 CBCS Scheme)

Notifications You must be signed in to change notification settings

Pythonista7/ComputerNetworksLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c770ef7 · Jan 30, 2021

History

21 Commits
Nov 22, 2019
Nov 22, 2019
Nov 22, 2019
Nov 22, 2019
Nov 27, 2019
Nov 27, 2019
Sep 23, 2019
Sep 23, 2019
Sep 23, 2019
Nov 27, 2019
Jan 29, 2021
Oct 17, 2019
Nov 22, 2019
Nov 4, 2019
Nov 4, 2019

Repository files navigation

ComputerNetworksLab VTU 17 Scheme

A best effort service to comment code and learn about this lab.

Installation Guide for NS2(Ubuntu)

  1. Install network simulator $sudo apt install ns2

  2. Download xgraph from http://www.xgraph.org/linux/index.html for appropriate Ubuntu on your machine.

  3. Untar the downloaded file : $sudo tar -C /bin/xgraph/ -xvf xgraph_4.38_linux64.tar.gz

    NOTE:
    a. I have untarred this to my /bin/xgraph/ directory(of which the xgraph dir is once which Ive mkdir'd).You can choose to untar it to your desired location by replacing /bin/xgraph to your destination dir path.

    b. This untared dir has a bin dir which contains the xgraph executable which we need to add to .bashrc

  4. Navigate to home using directory and open .bashrc file (.bashrc is a hidden file and hence may not show up in your file-explorer,either options->show hidden files or open it on VIM via the terminal).

  5. Create Alias for the command , add the below line into bashrc file
    alias xgraph='path_to_the_untarred_dir/bin/xgraph'

  6. Run the below command to reflect changes made to bashrc :
    $ source ~/.bashrc

  7. Have fun with tcl.`