O víkendu probíhá konference OpenAlt 2025. Na programu je spousta zajímavých přednášek. Pokud jste v Brně, stavte se. Vstup zdarma.
Josef Průša představil novou velkoformátovou uzavřenou CoreXY 3D tiskárnu Prusa CORE One L a nový open source standard chytrých cívek OpenPrintTag i s novou přepracovanou špulkou.
Na GOG.com běží Autumn Sale. Při té příležitosti je zdarma hororová počítačová hra STASIS (ProtonDB: Platinum).
Ubuntu 25.10 má nově balíčky sestavené také pro úroveň mikroarchitektury x86-64-v3 (amd64v3).
Byla vydána verze 1.91.0 programovacího jazyka Rust (Wikipedie). Podrobnosti v poznámkách k vydání. Vyzkoušet Rust lze například na stránce Rust by Example.
Ministerstvo průmyslu a obchodu vyhlásilo druhou veřejnou soutěž v programu TWIST, který podporuje výzkum, vývoj a využití umělé inteligence v podnikání. Firmy mohou získat až 30 milionů korun na jeden projekt zaměřený na nové produkty či inovaci podnikových procesů. Návrhy projektů lze podávat od 31. října do 17. prosince 2025. Celková alokace výzvy činí 800 milionů korun.
Google v srpnu oznámil, že na „certifikovaných“ zařízeních s Androidem omezí instalaci aplikací (včetně „sideloadingu“) tak, že bude vyžadovat, aby aplikace byly podepsány centrálně registrovanými vývojáři s ověřenou identitou. Iniciativa Keep Android Open se to snaží zvrátit. Podepsat lze otevřený dopis adresovaný Googlu nebo petici na Change.org.
Byla vydána nová verze 18 integrovaného vývojového prostředí (IDE) Qt Creator. S podporou Development Containers. Podrobný přehled novinek v changelogu.
Cursor (Wikipedie) od společnosti Anysphere byl vydán ve verzi 2.0. Jedná se o multiplatformní proprietární editor kódů s podporou AI (vibe coding).
Google Chrome 142 byl prohlášen za stabilní. Nejnovější stabilní verze 142.0.7444.59 přináší řadu novinek z hlediska uživatelů i vývojářů. Podrobný přehled v poznámkách k vydání. Opraveno bylo 20 bezpečnostních chyb. Za nejvážnější z nich bylo vyplaceno 50 000 dolarů. Vylepšeny byly také nástroje pro vývojáře.
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 512kbituzivatel:
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 32kbit ceil 512kbitco se stane nebo spise uz se stalo, ze dojdu k tomu ze mam vice nez deset uzivatelu???
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 32kbit ceil 512kbitkdyz tam je 1:20 tak my to nejak nefunguje jak to mam pocitat dal???
Kazdopadne jsem pro nekoho delal modifikaci pro max. 255 uzivatelu. Ta se ale nekam ztratila. Mozna bych to vymyslel znova, pokud vam staci tech 255...
Kdyztak se prosim ozvete...
Handle se skládá ze dvou šestnáctibitových čísel, která se zapisují v šestnáctkové soustavě. Ale jak už zde někdo podotkl, i 1:20 musí bez problémů fungovat. Pokud ne, problém je někde jinde.
tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1:0 htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 600kbit tc class add dev eth0 parent 1:1 classid 1:12 htb rate 32kbit ceil 128kbit tc class add dev eth0 parent 1:1 classid 1:13 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:14 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:15 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:16 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:17 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:18 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:19 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:20 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:21 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:22 htb rate 32kbit ceil 600kbit tc qdisc add dev eth0 parent 1:12 handle 12:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:13 handle 13:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:14 handle 14:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:15 handle 15:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:16 handle 16:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:17 handle 17:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:18 handle 18:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:19 handle 19:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:20 handle 20:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:21 handle 21:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:21 handle 22:0 sfq perturb 10 iptables -t mangle -F FORWARD iptables -t mangle -A FORWARD -j MARK --set-mark 11 iptables -t mangle -A FORWARD -d 192.168.1.2 -j MARK --set-mark 1 iptables -t mangle -A FORWARD -d 192.168.1.3 -j MARK --set-mark 2 iptables -t mangle -A FORWARD -d 192.168.1.4 -j MARK --set-mark 3 iptables -t mangle -A FORWARD -d 192.168.1.5 -j MARK --set-mark 4 iptables -t mangle -A FORWARD -d 192.168.1.6 -j MARK --set-mark 5 iptables -t mangle -A FORWARD -d 192.168.1.7 -j MARK --set-mark 6 iptables -t mangle -A FORWARD -d 192.168.1.8 -j MARK --set-mark 7 iptables -t mangle -A FORWARD -d 192.168.1.9 -j MARK --set-mark 8 iptables -t mangle -A FORWARD -d 192.168.1.10 -j MARK --set-mark 9 iptables -t mangle -A FORWARD -d 192.168.1.11 -j MARK --set-mark 10 iptables -t mangle -A FORWARD -d 192.168.1.12 -j MARK --set-mark 11 tc filter add dev eth0 parent 1:0 protocol ip handle 1 fw flowid 1:12 tc filter add dev eth0 parent 1:0 protocol ip handle 2 fw flowid 1:13 tc filter add dev eth0 parent 1:0 protocol ip handle 3 fw flowid 1:14 tc filter add dev eth0 parent 1:0 protocol ip handle 4 fw flowid 1:15 tc filter add dev eth0 parent 1:0 protocol ip handle 5 fw flowid 1:16 tc filter add dev eth0 parent 1:0 protocol ip handle 6 fw flowid 1:17 tc filter add dev eth0 parent 1:0 protocol ip handle 7 fw flowid 1:18 tc filter add dev eth0 parent 1:0 protocol ip handle 8 fw flowid 1:19 tc filter add dev eth0 parent 1:0 protocol ip handle 9 fw flowid 1:20 tc filter add dev eth0 parent 1:0 protocol ip handle 10 fw flowid 1:21 tc filter add dev eth0 parent 1:0 protocol ip handle 11 fw flowid 1:22
illegal ceil illegal classid illegal perturb bad mark value 1 az 11vypisuje to nekolika nasobne tyto chyby ja uz nevim Jeste mne napadlo fungovalo by to i tak nejak?? tc class add dev eth0 parent 1:0 classid 1:1 htb rate 600kbit tc class add dev eth0 parent 1:0 classid 1:2 htb rate 600kbit a tak nejak udelat skupiny? jinak uz vazne nevim jak resit
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
: command not found
: command not found
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
: command not found
: command not found
iptables: No chain/target/match by that name
'ptables v1.2.9: Bad MARK value `11
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `1
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `2
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `3
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `4
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `5
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `6
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `7
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `8
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `9
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `10
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `11
Try `iptables -h' or 'iptables --help' for more information.
: command not found
: command not found
: command not found
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
: command not found
: command not found
: command not found
: command not found
hmmm a co sa tim??
#!/bin/bash -x?? nevim jsem dost LAma . jinak ten script sppoustim timto zpusobem : mam script htb , ale pred tim jsi zneho delam spustitelny script : chmod +x htb a pak ho proste spustim timto prikazem ./htb do ted vse fungoalo takze jak dale??
#!/bin/sh #set -v /qos_ukazka/R/bin/tc qdisc del dev eth0 root /qos_ukazka/R/bin/tc qdisc add dev eth0 root handle 1: htb default 9999 # vsechno /qos_ukazka/R/bin/tc class add dev eth0 parent 1: classid 1:1 htb rate 5000kbps ceil 5000kbps ................atd.......... .nemam snad tučnáci pravdu?
zcela jiste je to jina verze tc nez mas ty...
je to prevzate z docum.org a ten manik si to urcite kompiloval sam, takze kdovi jestli ten skript bez meho binarniho tc funguje, stahni a uvidis-virus by tam byt nemel
co konkretne se ti nezda? spatna syntaxe? neco chybi? prebiva?
treba kdyz das po rebootu:
tc qdisc del dev eth0 root
tak ti tc vypise:
RTNETLINK answers: No such file or directory
coz neznamena chybu, ale upozorneni, ze neni co mazat
Tiskni
Sdílej: