If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:tc set.sh

From BoxMatrix


BoxMatrix >> Shell-Commands >> tc_set.sh @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

AVM-Command

Goto:   Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

tc_set.sh is a test script to test bandwidth limiting using tc. It is not used anywhere in FRITZ!OS

Usage:

   tc_set.sh <iface> [10]

<iface> is the network interface to rate limit. 10 switches from 99 Mbps to 9.9 Mbps limit.

Simplified from 4020 fw 7.01:

tc qdisc del dev $1 root

if [ $2 == "10" ] ; then

    tc qdisc add dev $1 handle 2:0 root stab linklayer ethernet overhead 0 tsize 100 \
       mtu 1600 mpu 64 tbf latency 50ms burst 3200 mtu 1600 mpu 64 rate 9900kbit

else

    tc qdisc add dev $1 handle 2:0 root stab linklayer ethernet overhead 0 tsize 100 \
       mtu 1600 mpu 64 tbf latency 50ms burst 3200 mtu 1600 mpu 64 rate 99000kbit

fi  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-05-19 07:45 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-05-19 05:10 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 4020 /sbin 432 - 441
1 model uses this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-05-19 07:45 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.