[PATCH v2] fff-gateway: Add tc and bmon

Robert Langhammer rlanghammer at web.de
So Aug 2 21:01:35 CEST 2020


Reviewed-by: Robert Langhammer <rlanghammer at web.de>

Am 02.08.20 um 19:58 schrieb Fabian Bläse:
> 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 <fabian at blaese.de>
> ---
> 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


Mehr Informationen über die Mailingliste franken-dev