I would like to limit bandwidth on a guest wifi. I've set up wifi following Configure a guest WLAN, but for traffic shaping I've used qos-scripts.
The problem is when I set limit 3 Mbps on guest interface and measure download speed, I get 0.22 Mbps instead. Interestingly when I set limits on wan or wlan interface, then messured speeds are about 3 Mbps.
Unfortunately I cannot use sqm-scripts, because there is not enough space on router.
As this version is very old and unsupported, it will be hard to get any support.
First consider upgrading to a newer version and if the problem persists we'll investigate further.
Try switching the values between these two options, on inward facing devices the meaning of upload and download often is inverted.
P.S.: This is because the traffic shaper actually has no clue what upload and download means all it knows is whether traffic is send by an interface (egress) or received (ingress). On the WAN interface ingress is equal to internet download anf egress equal to internet upload, but on say a LAN interface, the traffic egressing from the interface is send into the LAN and hence internet download, while the traffic ingressing into the interface is in the precess of being uploaded into the internet.
Tl;dr: using upload/download as short hands for egress/ingress only works as expected by (naive) users for outward facing devices, but it avoids having to explain the gory details for this rather common case.
First consider upgrading to a newer version and if the problem persists we'll investigate further.
Yes, that's true. Actually I just did upgrade to 18.06.4, but unfortunatelly I had to revert to 15.05.1, because there was not enough space even for qos-scripts. (18.06.4 must be larger). I understand that 4mb of flash storage on this router is not enough nowadays, but want to give it try before I throw it to the garbage, because apart from qos on this guest wlan, router is working nicely. As workaround I can also live with limits set on WAN, but that will limit my non guest wlan too.
In case it may help, I was in the similar situation with an old tl-wr841v5. I managed to run lede-17.01 on it with circa. 450KB free space for rootfs_data. It's still running quite well.
Here is a summary
IPv6 support was disabled
opkg, odhcpd, odhcp6c, etc. were stripped
Mach files were also stripped to only support tl-wr841v5
It has LuCI, wireguard, dnsmasq-full with ipset, iptables-mod-conntrack-extra
Update: Download limits are not applied correctly on boot. It's again 0.22 Mbits instead of 3. I also tried revert back download with upload and do immediate reboot, but it didn't made difference this time.
Could it be problem of service start ordering in rc.d?