[Solved/hotfixed] SQM does not reinitialize after ifdown/ifup

Yes, sorry, not my day apparently :wink:

I fixed the instructions above, again sorry for the confusion.

1 Like

I'm working atm, i will post the output later on as im not at home right now...

Edit: im gonne fix that command first of all, than post the output :wink:
Hopefully that will fix the issue...

1 Like
root@WRT3200ACM:~# echo '[ "$ACTION" = ifdown ] && /etc/init.d/sqm enabled && /u
sr/lib/sqm/run.sh stop ${DEVICE}' >> /etc/hotplug.d/iface/11-sqm
root@WRT3200ACM:~# cat /etc/hotplug.d/iface/11-sqm
#!/bin/sh

[ "$ACTION" = ifup ] && /etc/init.d/sqm enabled && /usr/lib/sqm/run.sh start ${DEVICE}
[ "$ACTION" = ifdown ] && /etc/init.d/sqm enabled && /usr/lib/sqm/run.sh stop ${DEVICE}

Does this look correct now ?

edit: I can confirm that it's working fine now !!! Thanks @moeller0 and @takimata for this quick workaround !! :slight_smile:

1 Like

I concur thanks @takimata for getting to the root cause of this!

Thanks to @tohojo the openwrt package repository now should contain a fixed sqm-scripts version.

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.