Can SQM be enabled for upload only with v4.9.0 firmware?

Is it possible to have SQM enabled for upload only with the v4.9.0 firmware (Flint 2 specifically)?

On firmware v4.8.3 and SQM installed via LuCI this was possible, but the new settings seem to enforce download and upload if enabled, which is strange as it is well documented that ts is mostly unnecessary to shape download.

If the GL web UI is forcing both directions, I would still check the underlying SQM config before assuming upload-only is gone. In OpenWrt/SQM the usual way is to leave the upload rate set and set download to 0 (or disable download shaping) in /etc/config/sqm, then restart SQM.

Something like this over SSH should show what 4.9 generated:

uci show sqm
cat /etc/config/sqm

If the section still has separate upload/download options, try setting download to 0 and restarting /etc/init.d/sqm restart. If that survives and works, it is probably just the new GL UI being less flexible than LuCI; if it gets overwritten by the UI, that would be worth reporting as a regression.

3 Likes

GL GUI doesnt allow a 0 sadly. The older Luci packages do.

Ive been fiddling it by just entering a download speed far in excess of the actual WAB speed so it never triggers. A zero value or off switch would be much easier.

Hi

Thank you for the discussion regarding the ability to set the SQM upload/download values to 0 in order to disable traffic shaping in a specific direction.

We have received similar feature requests from other users in the past, and the suggestion has already been recorded and forwarded to the product team for discussion and consideration.

For now, as mentioned by quietbadger27 , you can manually adjust the UCI configuration via SSH, or configure it using luci-app-sqm . It should be compatible with our SQM implementation.

1 Like

@will.qiu so it is safe for me to install luci-app-sqm again?

This I would much prefer, I would also be able to finer tune in kbps again rather than Mbps also.

Yes, it should be fine.

We expect our SQM implementation to be compatible with luci-app-sqm, allowing advanced users to continue using more granular and customized SQM configurations if desired.

1 Like

Thank you very much @quietbadger27 for the guidance.

Thank you @will.qiu for the confirmation re. luci-app-sqm

Following the steps as per guide, I have re-installed luci-app-sqm.

This has allowed me to set just upload to be shaped and it’s in kbps as before. Checking as per quietbadger27’s guidance show the values are as enterd in LuCI. In the GL Flow SQM dialog afterwards the upload value shows qith a decimal that is not possible to enter natively and the download blank, also not possible to enter natively.

Happy this was relatively easy to work around.

On my Brume 3, its on and appears to work as advertised (0 for download) but one thing im unsure about GL architecture wise.

The older linked guide says set the interface to the WAN (makes sense).
But the GL default appears to be BR-LAN. Im confused as it seems to work just fine but what interface exactly should i use for this given its a PPPoE into the WAN port?

Also, do i NEED the older scripts as mentioned in the older guide? Would this interfere with the newer firmware inbuilt ones?

Side note;- as its opkg i assume it’ll get removed with a firmware update even keeping settings?

1 Like

We made some adjustments when integrating SQM and apply the shaping to br-lan. This helps ensure that SQM continues to work correctly even when switching between different WAN interfaces.

That said, if your router is being used in a typical single-WAN setup, changing the interface to wan should also work fine.

The different scripts mainly affect SQM performance and tuning behavior. If you are already getting the results you expect, there is no need to make additional changes.

These modifications should not interfere with our integrated SQM implementation.

luci-app-sqm itself will be removed during a firmware upgrade, but its configuration will remain and should continue to take effect, since sqm-scripts are already built into the firmware.

1 Like