Joined: 16 Nov 2015 Posts: 6437 Location: UK, London, just across the river..
Posted: Thu May 21, 2020 14:44 Post subject:
ill rather use custom script...and just call custom script from cron...
also...not sure if cron is working as it should...what router do you have? _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
# start: [up] [down] [wan_if] [mtu] [imq_wan] [aqd] [imq_lan]
# status: status [wan_if] [imq_wan] [imq_lan]
# stop: stop xx [wan_if] xx [imq_wan] [imq_lan]
TC=/usr/sbin/tc
if [ "$1" = "status" ]
then
echo "Interface: $2"; echo
$TC -s qdisc ls dev $2
echo
$TC -s class ls dev $2
$TC filter show dev $2
echo; echo "Interface: $3"; echo
$TC -s qdisc ls dev $3
echo
$TC -s class ls dev $3
$TC filter show dev $3
if [ "$4" != "0" ]; then
echo; echo "Interface: $4"; echo
$TC -s qdisc ls dev $4
echo
$TC -s class ls dev $4
$TC filter show dev $4
fi
exit
fi
root@DD-WRT:~#
I am imaging the script has been "disabled" cause it was giving problems?
Last edited by adelca on Thu Feb 25, 2021 9:17; edited 2 times in total
Ok, I managed to install dd-wrt on my tplink, tweaked WIFI settings, install YAMON, found a bandwidth hungry hippo and used QoS on the web GUI successfully to limit max download/upload based on MAC address... all works great so far (not even 1 week since I am on dd-wrt)... my last little project is to figure out how to schedule QoS and then donate to dd-wrt pals and Al (Yamon)
PS: so far I have tried servicestop wshaper(to disable QoS) and servicestart wshaper (to enable QoS) and it is working (I had to configure and enable QoS on the web GUI previously for this to work), next is to schedule it with a cronjob or something similar so my QoS kicks in during the night and off during the day.