Giter VIP home page Giter VIP logo

cs543_distributed_systems's Introduction

cs543_distributed_systems

Repository for group project in CS543 - Distributed Systems @ KAIST, Spring 2019

Setup

Pip

Create a virtual environment

$ virtualenv -p /usr/bin/python3 env

Activate it

$ source env/bin/activate

First make sure pip is up-to-date by upgrading it

$ pip install --upgrade pip

Then install all requierements requiered for this project

$ pip install -r requirements.txt

Setting Up ns-3

Follow the official tutorial. This will take some time to download and install the package.

First download the package

git clone https://gitlab.com/nsnam/ns-3-allinone.git
cd ns-3-allinone
python download.py

Then build it

./build.py --enable-examples --enable-tests --enable-sudo

Tests (timely) can be run by

cd ns-3-dev
./test.py

An example can be run by

cd ns-3-dev
./waf --run hello-simulator

Or to run a python example located in ns-3-allinone/ns-3-dev/examples/tutorial/ execute

./waf --pyrun examples/tutorial/first.py

An example using taps can be found here

./waf --pyrun ../../tap-wifi-virtual-machine.py

There is a bug in the code, you have to manually change line 57 to

wifiMac = ns.wifi.WifiMacHelper()

Execution

To execute run following in the ns-3-allinone/ns-3-dev/-directory

./waf --pyrun ../../main.py

Check this tomorrow: https://askubuntu.com/questions/765526/how-to-install-gtk2-0

cs543_distributed_systems's People

Contributors

supern1ck avatar underkoo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.