Git Product home page Git Product logo

ns-for-everyone's Introduction

network simulator 2 (ns-2) for (almost) everyone! ๐ŸŽ‰

Unfortunately, if you're using an ARM computer that isn't an M1 or M2 Mac capable of emulating an x86 architecture via Docker, this image won't be compatible, sorry ๐Ÿคท

How it works

In ArchLinux it's very easy to install ns-2, since it has a patched version available on the aur. This repository simplifies the process by creating a Docker image based on ArchLinux, integrating necessary patches into ns-2, and installing it seamlessly.

Added patches

I've added patches for showing the Reno agent current time and current timeout, for now it shows the result on stdout.

To add a patch, generate it from a git commit using:

$ git format-patch -1 <commit SHA>

Then, place the patch in the src/ folder and add it inside the PKGBUILD. You'll need to obtain the SHA256 hash of the .patch file, which can be done with:

$sha256sum <name of patch>

Execute it:

For executing it you can download the image and run a new container:

$ docker pull ghcr.io/pablito2020/ns-for-everyone:main
$ docker run -it ghcr.io/pablito2020/ns-for-everyone:main

ns-for-everyone's People

Contributors

pablito2020 avatar

Stargazers

 avatar  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.