Skip to content

Network Simulator version 2 for (almost) everyone! πŸŽ‰

License

Notifications You must be signed in to change notification settings

Pablito2020/ns-for-everyone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

Network Simulator version 2 for (almost) everyone! πŸŽ‰

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published