NEmu

Network Emulator for Mobile Universes

Documentation - NEmu Tools

NEmu provides additional tools in order to help the user for many purpose. Those tools are located in {NEMUROOT}/rcd/tools:

Makefile

This Makefile is a template in order to build NEmu sub-modules. It is only used when the init.py script is launched.

mount-virt-fs {mount tag} {mount point}

This shell script allows a user to mount a virtio device in a virtual node. This script is included in virtual routers as the mount.virtio command.

tap-ifup

This shell script is called when a VNode is linked to a VTap.

tap-ifup

This shell script is called when a VNode is unlinked from a VTap.

tcz-down {package name}

This shell script downloads a TCZ package, and dependencies, from the TinyCore repositories in the current directory.

tcz-make {root directory}

This shell script creates a TCZ package from a directory. The package is a simple squash archive which represents the root tree file system for the package. Here is a short example:

$ tree htop/
htop/
`-- usr/
    |-- bin/
    |   `-- htop
    `-- share/
        |-- applications/
        |   `-- htop.desktop
        `-- pixmaps/
            `-- htop.png
$ tcz-make htop
$ ls -1
htop/ 
htop.tcz  
htop.tcz.info  
htop.tcz.list  
htop.tcz.md5.txt  
htop.tcz.tree

For more information about creating TCZ packages, please refer to the TinyCore wiki webpage.