Hello everyone,
My problem is this: Sometimes when I make settings in SQM, even if I save the settings and restart, SQM won't start without restarting from this menu.
Also, in these initial settings, would changing the sqm initialization order benefit sqm's stability?
My connection type:
Protocol: PPPoE
So SQM tries to use hotplug to start up when its interface comes up. The question is, why dies this not work for you?
If you reboot your system and wait fir say 30 minutes will SQM start at all or never?
And if even after 30 minutes it did not start, what happens if you restart the pppoe-wan interface?
No idea, it should not, but since you have issues that should not exist either something is not working as expected....
1 Like
(sleep 30 && /etc/init.d/sqm restart) &
Entering this command at each startup made sqm behave more stably. My system uptime was 1 hour.
Yeah, this implies that hotplug fails for you for some reason... likely the pppoe-wan interface not generating UP events that trigger sqm's hotplug script.
Could you please post the output of:
cat /etc/os-release
cat /etc/config/sqm
tc -s qdisc
trying to understand the version of your openwrt and the sqm configuration...
root@OpenWrt:~# cat /etc/os-release
NAME="OpenWrt"
VERSION="24.10.4"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 24.10.4"
VERSION_ID="24.10.4"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r28959-29397011cc"
OPENWRT_BOARD="ramips/mt7621"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 24.10.4 r28959-29397011cc"
OPENWRT_BUILD_DATE="1760891865"
root@OpenWrt:~# cat /etc/config/sqm
config queue 'eth1'
option enabled '1'
option interface 'pppoe-wan'
option download '0'
option upload '30000'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option linklayer 'ethernet'
option debug_logging '0'
option verbosity '5'
option overhead '44'
root@OpenWrt:~# tc -s qdisc
This implies that sqm is not active in that instance at all... but that with current stable OpenWrt, so something seems wrong with sqm's hotplug script...