Thank you so much, I now ordered a WSM20 Multy M1, which was bottom line the cheapest option for me. I try to get OpenWrt on it as soon as it arrives. I will get back to this thread for further questions then and the cake-autorate package setup.
Cool choice! Looking forward to hearing from you.
@eginnc great post above!
Router has arrived, I tried to install the .bin installation file using the guide for my specific WSM20 router here on openwrt. Something went wrong, the connection failed and now I cannot access the router again. If I try to set it up using the MULTY app the connection fails, reseted the router multiple times but I am still unable to connect
I'm sorry to hear your initial flash went astray. You'll get the best help from community members with your specific device. I've flashed OpenWrt on many targets, but not this one.
Try starting with a review of the device specific installation thread here.
If that doesn't help, post in that thread, but provide very specific information on exactly which binary you installed, exactly which steps or instructions you followed, etc. Without very specific information, it will be difficult to diagnose.
Turns out it was actually successfull, I just hat problems accessing it but manages to do the sysupgrade too. Now I actually have to idea and didn't find a suitable solution to get the WSM20 with openwrt running downstream the simcard router, I connected them with through LAN. I made a second thread in the category "instlalling and using openwrt. I will get back here when I finally set everything up and am ready for SQM ![]()
That is great news! Glad to hear your WSM20 is successfully flashed with OpenWrt.
A simple option to provide internet connectivity to your WSM20 is to connect the WSM20 WAN to the simcard router LAN. This will double NAT, but you may find this gives perfectly acceptable performance.
If your simcard router has a bridge mode option in its menus, that will turn it into a modem and eliminate the double NAT. You would still connect the simcard router to the WSM20 WAN in this case. I am not sure what port you would use on the simcard router in this case.
If I connect the WAN-port of the OpenWrt-router to the LAN-port of the SIM-router I cannot access it anymore. That is why I have both devices, the SIM-router and the OpenWrt-router connected (bridged?) through their LAN-ports, from my understanding, the OpenWrt-router acts now as a (dumb)-AP. From here on I did not figure out how to perceed, because it seems I cannot download the SQM-package in LuCi.
Did you install a snapshot or stable version of OpenWrt?
Snapshot and its packages can change daily such that the packages quickly become incompatible with an older snapshot installed on your router and cannot be installed.
If you install 23.05.2 stable, the 23.05.2. packages remain compatible with your installed version of OpenWrt.
If you installed snapshot, you may want to flash a 23.05.2 stable sysupgrade instead. An even more convenient option is to use the firmware selector and add the packages you want to have on the customization drop down menu so that they are built in with the firmware.
In this example I replaced wpad-basic-mbedtls with wpad-mbedtls and everything from luci and after luci is an example of packages you may want to include. After you enter the packages you would like included, click "Request Build" and when the build is done, download the sysupgrade firmware image and flash it from your LuCI System>Backup/Flash Firmware menu. Like this:
Thank you so much; I figured out I have a snapshot version, your idea of the firmware selector sounds great, unfortunately I still struggle to set up my SIM-router with my OWRT-router. They are on different subnets, connected by an ethernet-cable as following:
SIM-router (LAN)---OWRT-router (WAN)
Somehow I cannot access in this setup LuCi, this only works when both routers are connected through their LAN-ports.
I finally got my OWRT-router running and installed SQM succesfully. My current configuration looks as this: (OPWRT-router configured as an AP)
Now I am not sure how to get the best settings, I read the SQM page on openwrt.org and try to configure it correctly. However, my results did not really improve:
settings:
- interface: I selected my wireless network here
- Download speed (ingress): 55000
- Upload speed (egress): 13000
- link layer is set to "none"
- Queueing discipline: cake (piece of cake script)
Seems you are making progress! Maybe you can elaborate on what you mean by results not really improving? How/what are you measuring and what would you like to improve?
This is most likely the problem. If you are running SQM on your WSM20, and your WSM20 WAN is connected to the LAN of your MR200, then on the WSM20 you need to select the WAN interface in the SQM menu. You need to run SQM on your WAN, not WiFi interface, to fix ISP buffer bloat.
Other thoughts:
- Be sure to connect to your WSM20 on a 5GHz WiFi interface, not 2.4 GHz;
- Under LuCI>Interfaces>Global Network Options, try selecting the packet steering option. It may or may not help, but it did not hurt when I used an ER-X (same CPU as your WSM20).
- Try installing the irqbalance package. After it is installed you need to edit the file /etc/config/irqbalance (then restart irqbalance or just reboot the router) to enable it. I recall this seemed to help out a bit when I used an ER-X.
- Try enabling software offload in LuCI>Network>Firewall. Yes, this is not compatible with SQM, but on my ER-X, I think this took just a little bit of load off the CPU and helped SQM a little. Very little mind you, but it did not hurt.
- You posted above that your ingress/egress ISP speed was approximately 80/40 Mbps. Based on that, I think you setting this at 55/13 for SQM should work fine (I don't think it will overload your CPU), but this seems a bit too slow. You may find you can increase this a bit. Try as high as 70/35. If that seems too fast (buffer bloat gets worse or does not improve), back it down to 65/30, etc.
Sorry I forgot to mention, that the OWRT-router and the MR200 are both connected through their LAN-ports, so I chose that one as the selected interface in SQM now instead of the Wifi. It is so odd, but everything above the following settings:
- Download speed (ingress) of 5000 kbit/s
- Upload speed (egress) of 20'000 kbit/s
Shapes the upload and download speeds, but the bufferbloat problem stays the same, as if the SQM would have no impact on it. If I stay below those speeds mentioned above, I achieve mostly no bufferbloat at all (A+ in waveforms bufferbloat test).
Please test simple.qos/fq_codel as a replacement for your current [piece_of|layer]_cake.qos/cake. Cake will if running out of CPU cycles show increased latency, while HTB+fq_codel as in simple.qos will ostly just show reduced throughput. This is a test to check whether you are not simply running out of CPU cycles (simplest_TBF.qos/fq_cdel seems to be the computationally cheapest, albeit with a reduced feature set compared to cake)
I tried it but unfortunately these speed limits from my previous post apply to the simple.qos/fq_code replacement as well. Anything above approx. 5000 kbit/sec as download speed will give me the same bufferbloat as without SQM ![]()
Mmmh, intersting, that would point the finger at the WiFi link itself as root cause for that delay.
It feels odd that I can go up to 20'000 kbit/sec as upload speed with nearly no bufferbloat but now even at 2000 kbit/sec download speed, download latency is about +6ms where with 20'000 kbit/sec upload the latency is +0ms.
I don't know if it is maybe a problem that my firewall is still active even though I could disable it on the OWRT-router because it simply acts as an AP?
Do you mean with Wifi link the OWRT or the MR200 router?
What do you see when setting 20/20? Is this a 4G connection?
Isn't it just that the bandwidth set in cake is exceeding what is available over 4G? If so the solution is cake-autorate.


