Byla vydána nová verze 4.8.0 interaktivního shellu fish (friendly interactive shell, Wikipedie). Přehled novinek v poznámkách k vydání.
Byl aktualizován seznam 500 nejvýkonnějších superpočítačů na světě TOP500. Nejvýkonnějším superpočítačem se nově stal čínský LineShine v Národním superpočítačovém centru v Šen-čenu (NSCS) s výkonem 2,198 exaFLOPS. Z prvního místa sesadil americký superpočítač El Capitan s výkonem 1,809 exaFLOPS. Nejvýkonnější český počítač C24 klesl na 215 místo. Karolina, GPU partition klesla na 249. místo a Karolina, CPU partition na 475. místo.
… více »Zemřel průkopník videoherní hudby Bobby Prince (Wikipedie). Složil hudbu pro hry Wolfenstein 3D, Doom, Doom II, Duke Nukem II a Duke Nukem 3D.
Počítačová hra Operace Flashpoint (Arma: Cold War Assault) od společnosti Bohemia Interactive slaví 25 let. Při této příležitosti bylo publikováno bezplatné hratelné Arma: Cold War Assault Remastered Demo a na GitHubu byly zveřejněny zdrojové kódy.
Na trh v České republice přichází HP EliteBoard G1a. Jde o plnohodnotný AI počítač integrovaný přímo do těla klávesnice, tedy zařízení, které na první pohled vypadá jako minimalistická klávesnice, ale ve skutečnosti nahrazuje klasickou počítačovou jednotku.
V lednu bylo oznámeno, že desktopové prostředí Xfce bude mít vlastní kompozitor pro Wayland s názvem xfwl4. O víkendu byla vydána první preview verze.
Minulý týden byl oficiálně vydán Android 17. Detaily na blogu a stránkách věnovaných vývojářům.
Dnes jde do prodeje zařízení Steam Machine. Steam Machine 512 GB za 1 039 EUR a Steam Machine 2 TB za 1 359 EUR. Do čtvrtka 25. června do 19:00 se lze zapsat na seznamy. Ty budou jednorázově náhodně slosovány, čímž bude určeno pořadí rezervací a čekacích listin.
Vývojáři OpenMW (Wikipedie) oznámili vydání verze 0.51.0 této svobodné implementace enginu pro hru The Elder Scrolls III: Morrowind. Přehled novinek v oznámení o vydání a také na YouTube a PeerTube.
Byla vydána nová verze 2026.3.0 "Carousels & Killer Whales" svobodného softwaru ScummVM (Wikipedie) umožňujícího bezproblémový běh mnoha klasických adventur na zařízeních, pro které nebyly nikdy určeny. Přehled novinek v poznámkách k vydání a na GitHubu.
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: