Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou must be signed in to change notification settings

Pythonista7/ComputerNetworksLab

Repository files navigation

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 fromhttp://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.`


[8]ページ先頭

©2009-2025 Movatter.jp