Sqm - gl-sft1200 - limiting bandwidth?

Hello,
I’m trying to make SQM working with this router. But it seems not to limit any speed although it has been setup.

I’m using the router with the PC connected to LAN Ethernet port and Wi-Fi disabled.

Please, do I have any special operation to make SQM work on it ? I see no error in the logs. Thanks for any help

Tue Feb 28 10:27:52 2023 user.notice SQM: Stopping SQM on eth0.2
Tue Feb 28 10:27:53 2023 user.notice SQM: Starting SQM script: layer_cake.qos on eth0.2, in: 10000 Kbps, out: 2000 Kbps
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - act_ipt
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - sch_codel
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - sch_ingress
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - act_mirred
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - cls_fw
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - cls_flow
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - cls_u32
Tue Feb 28 10:27:53 2023 daemon.err insmod: module is already loaded - sch_hfsc
Tue Feb 28 10:27:53 2023 user.notice SQM: QDISC cake is useable.
Tue Feb 28 10:27:53 2023 user.notice SQM: Starting layer_cake.qos
Tue Feb 28 10:27:53 2023 user.notice SQM: ifb associated with interface eth0.2:
Tue Feb 28 10:27:53 2023 user.notice SQM: Currently no ifb is associated with eth0.2, this is normal during starting of the sqm system.
Tue Feb 28 10:27:53 2023 user.notice SQM: LLA: default link layer adjustment method for cake is cake
Tue Feb 28 10:27:53 2023 user.notice SQM: cake link layer adjustments: overhead 44 mpu 0
Tue Feb 28 10:27:53 2023 user.notice SQM: egress shaping activated
Tue Feb 28 10:27:53 2023 user.notice SQM: QDISC ingress is useable.
Tue Feb 28 10:27:53 2023 user.notice SQM: LLA: default link layer adjustment method for cake is cake
Tue Feb 28 10:27:53 2023 user.notice SQM: cake link layer adjustments: overhead 44 mpu 0
Tue Feb 28 10:27:53 2023 user.notice SQM: ingress shaping activated
Tue Feb 28 10:27:53 2023 user.notice SQM: layer_cake.qos was started on eth0.2 successfully

I disabled HW acceleration and it seems to limit the ingress. But nothing for the out

uci set firewall.@defaults[0].flow_offloading=‘0’
uci set firewall.@defaults[0].flow_offloading_hw=‘0’
uci commit firewall
/etc/init.d/firewall restart

It seems to be solved now. I upgraded to the beta firmware 4.1.1 available from the repos. It has an option to disable all hardware acceleration. It’s not satifying as i didn’t found the reason but it’s ok like this.

1 Like

Upgraded 4.2.0 snapshot on MT1300 but didn’t see the parental control and zerotier option. Is it not supported on MT1300 model. any idea?

I saw this project some weeks ago : GitHub - gl-inet/parental-control but I never tested it on this router. But it’s well documented.