Ограничение скорости wifi

Post new topic   Reply to topic    DD-WRT Forum Index -> Использование и установка DD-WRT
Author Message
Gosha79
DD-WRT Novice


Joined: 14 Mar 2012
Posts: 2

PostPosted: Fri Mar 17, 2017 5:18    Post subject: Ограничение скорости wifi Reply with quote
Приветствую всех! Подскажите пожалуйста, имеется tplink 842nd DD-WRT v3.0-r30949 std (12/15/16)
хотел подрезать wifi скорость при помощи скриптгенератора, но ограничивает по тесту только исходящую, может кто поправит скрипт? Заранее спасибо!

#--------------------------------------------
#WRT54 Script Generator v1.02
#(C) 2006-2007 Robert "Robson" Mytkowski
#--------------------------------------------
TCA="tc class add dev br0"
TFA="tc filter add dev br0"
TQA="tc qdisc add dev br0"
SFQ="sfq perturb 10"
tc qdisc del dev br0 root
tc qdisc add dev br0 root handle 1: htb
tc class add dev br0 parent 1: classid 1:1 htb rate 7000kbit
$TCA parent 1:1 classid 1:10 htb rate 7000kbit ceil 7000kbit prio 2
$TQA parent 1:10 handle 10: $SFQ
$TFA parent 1:0 prio 2 protocol ip handle 10 fw flowid 1:10
iptables -t mangle -A POSTROUTING -m iprange --dst-range 192.168.2.100-192.168.2.126 -j MARK --set-mark 10
TCAU="tc class add dev imq0"
TFAU="tc filter add dev imq0"
TQAU="tc qdisc add dev imq0"
modprobe imq
modprobe ipt_IMQ
ip link set imq0 up
tc qdisc del dev imq0 root
tc qdisc add dev imq0 root handle 1: htb
tc class add dev imq0 parent 1: classid 1:1 htb rate 7000kbit
$TCAU parent 1:1 classid 1:10 htb rate 7000kbit ceil 7000kbit prio 2
$TQAU parent 1:10 handle 10: $SFQ
$TFAU parent 1:0 prio 2 protocol ip handle 10 fw flowid 1:10
iptables -t mangle -A PREROUTING -m iprange --src-range 192.168.2.100-192.168.2.126 -j MARK --set-mark 10
iptables -t mangle -A PREROUTING -j IMQ --todev 0
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Использование и установка DD-WRT All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum