Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
technical:ppsk-sqm [2024/08/08 08:59] – [Troubleshooting] system | technical:ppsk-sqm [2024/08/08 10:11] (current) – system | ||
---|---|---|---|
Line 24: | Line 24: | ||
====== SQM on OpenWrt ====== | ====== SQM on OpenWrt ====== | ||
- | The following sections are a short summary of information from this Wiki page (https:// | + | The following sections are a brief summary of information from this wiki page (https:// |
===== Required Packages ===== | ===== Required Packages ===== | ||
- | * For SQM to be available in OpenWrt, you need the **sqm-scripts** | + | * To make SQM available in OpenWrt, you need the package |
- | * If you also have Luci on the OpenWrt device, it is recommended to install the additional **luci-app-sqm** | + | * If you also have Luci on the OpenWrt device, it is recommended to install the additional |
- | * This will install the Luci SQM package which is well developed and offer you an intuitive way to apply SQM on selected interfaces | + | * This will install the Luci SQM package which is well developed and provides |
===== Config File ===== | ===== Config File ===== | ||
- | * Essentially the SQM application in Luci manipulates the **/ | + | * Essentially, the SQM application in Luci manipulates the UCI-based configuration file **/ |
- | * Lets look at a snippet of the sqm config | + | * Let's take a look at an excerpt from the sqm configuration |
<code bash> | <code bash> | ||
Line 46: | Line 46: | ||
</ | </ | ||
- | * Some items of note on this snippet: | + | * Some notes on this snippet: |
- | * The Queue discipline is CAKE. There is also other options like **fq_codel** which you can use should | + | * The queue discipline is CAKE. There are also other options like fq_codel |
- | * The upload and download values are in kbps so this snippet limits | + | * The upload and download values are in kbps, so this snippet limits |
- | * The script | + | * The script to set up the SQM (based on the settings in the / |
- | * The SQM section is applied to the **br-ex_v104** interface which is actually a bridge. | + | * The SQM section is applied to the **br-ex_v104** interface, which is actually a bridge. |
- | * Lets look at the / | + | * Let us take a look at the / |
< | < | ||
Line 66: | Line 66: | ||
option netmask ' | option netmask ' | ||
</ | </ | ||
- | * Although the word // | + | * Although the word // |
- | * In our case the br-ex_104 bridge has one port, eth1.104. This port will receive | + | * In our case, the br-ex_104 bridge has one port, eth1.104. This port receives |
- | * Traffic going through | + | * The data traffic that runs via this bridge |
- | Now that we covered the configuration of SQM, we can look at some handy commands under the Troubleshooting | + | Now that we have covered the configuration of SQM, we can take a look at some practical |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
* To start and stop SQM: | * To start and stop SQM: | ||
Line 84: | Line 84: | ||
</ | </ | ||
- | * SQM creates a matching IFB Interface | + | * SQM creates a matching IFB interface |
<code bash> | <code bash> | ||
Line 112: | Line 112: | ||
</ | </ | ||
- | * This brings us to the end of the section | + | * This brings us to the end of SQM's section in OpenWrt. |
- | * In RADIUSdesk we took this knowledge and created the SQM Profiles applet which makes management of SQM in MESHdesk and APdesk a breeze. | + | * In RADIUSdesk we have taken this knowledge and created the SQM Profiles applet, which makes managing |
- | * There is a dedicated | + | * There is a special |