From patchwork Sun Aug 2 17:58:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v2] fff-gateway: Add tc and bmon From: Fabian Blaese X-Patchwork-Id: 1418 Message-Id: <20200802175843.452806-1-fabian@blaese.de> To: franken-dev@freifunk.net Date: Sun, 2 Aug 2020 19:58:43 +0200 Users might want to manually set up proper scheduling or qos using tc. bmon can be used to monitor current throughput and packet rates. Both are now included in layer3 variant. Signed-off-by: Fabian Bläse Reviewed-by: Christian Dresel Reviewed-by: Robert Langhammer --- Changes in v2: - Add missing '\' after tc --- buildscript | 2 +- src/packages/fff/fff-gateway/Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/buildscript b/buildscript index 46bf314..3656761 100755 --- a/buildscript +++ b/buildscript @@ -24,7 +24,7 @@ PACKAGEURL="https://git.openwrt.org/feed/packages.git" OPENWRT=(openwrt $PACKAGEURL $PACKAGEREV) -OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr" +OPENWRT_PKGS="gpioctl-sysfs libugpio fastd haserl micrond mtr bmon" ## Be careful: FFF uses COMPAT_VERSION 15 as default at the moment. ## See http://www.open-mesh.org/projects/batman-adv/wiki/Compatversion diff --git a/src/packages/fff/fff-gateway/Makefile b/src/packages/fff/fff-gateway/Makefile index 528a795..790aeb3 100644 --- a/src/packages/fff/fff-gateway/Makefile +++ b/src/packages/fff/fff-gateway/Makefile @@ -20,6 +20,7 @@ define Package/fff-gateway +fff-ra \ +fff-wireguard \ +arptables \ + +bmon \ +ebtables \ +ebtables-utils \ +kmod-ebtables-ipv4 \ @@ -33,6 +34,7 @@ define Package/fff-gateway +iptables-mod-ipopt \ +iptables-mod-conntrack-extra \ +mtr \ + +tc \ +tcpdump \ +vxlan endef