ncontrol ships with a sensible default that simply logs traffic statistics. To start shaping traffic, edit /etc/ncontrol/ncontrol.yaml.
Sometimes a package won’t remove due to dependency issues or broken scripts. You can override:
nControl (short for Network Control) is an open‑source, lightweight toolkit designed to help system administrators and DevOps engineers:
| Feature | Benefit |
|---------|----------|
| Real‑time traffic shaping | Apply bandwidth limits per‑interface, per‑IP, or per‑port without kernel recompilation. |
| Dynamic firewall rules | Push and retract iptables/nftables rules on the fly via a simple REST API. |
| Health‑checks & alerts | Built‑in probes (ping, HTTP, DNS) that can trigger automated mitigation actions. |
| Extensible plug‑in architecture | Write custom Python or Go plug‑ins to integrate with monitoring stacks (Prometheus, Zabbix, etc.). |
| Zero‑dependency Debian package | Distributed as a single .deb file that pulls only the essential libs (libpcap, libjson‑cpp). | ncontrol deb
In short, nControl gives you the power of a full‑blown traffic‑management appliance, but it runs directly on any Debian‑derived host (Debian, Ubuntu, Linux Mint, Pop!_OS, …) with minimal overhead.
If you’ve ever installed software on Debian or Ubuntu using .deb packages, you may eventually need to remove or reconfigure them. The command-line tool dpkg and its front-end apt give you fine-grained control — including the ability to uninstall, purge, or "uncontrol" a package.
Let’s break down what "controlling" a .deb package really means and how to do it safely. ncontrol ships with a sensible default that simply
Most packages like this provide a client binary. Test the installation by running:
ncontrol --version
# or
ncontrol status
If you get command not found, the binary might not be in your $PATH. Search for it:
find / -name "*ncontrol*" -type f -executable 2>/dev/null
ncontrol --mem-offset +800
| Action | Command |
|--------|---------|
| List GPUs | ncontrol --list |
| Show current stats | ncontrol --status |
| Set power limit (Watts) | ncontrol --power-limit 200 |
| Set GPU clock offset (MHz) | ncontrol --gpu-offset +150 |
| Set memory clock offset | ncontrol --mem-offset +1000 |
| Set fan speed (%) | ncontrol --fan-speed 70 |
| Set fan to auto | ncontrol --fan-auto |
| Apply persistent settings | ncontrol --apply | If you’ve ever installed software on Debian or
sudo systemctl status ncontrol
Look for a "active (running)" status and zero error logs.