So I've been trying to use unofficial firmware images from this site for my Linksys E4200v2 router. One of the reasons I wanted to try it was SQM - I've found our connection can have large latency spikes and can be unusable while someone else is doing streaming or such. SQM seemed like an all-in-one solution, superior to any manual QoS scheme I could manage.
The build posted on the page had bizarre issues where it wouldn't let me install any software - the LuCI modules worked, but anything behind them simply didn't. I tried changing to the Release Candidate repos, but no joy. I ended up compiling it myself and making a clean install - it had a bizarre issue where it didn't want to start the 2.4 GHz wifi, which seemed to go away after turning on the 5 GHz antenna and rebooting once or twice.
Using the RC3 repos in my new build, miniDLNA installed and worked just fine, so I thought that it would be just the same for sqm-scripts. Well, the result is...not so much. I can't exactly give you all the errors (I didn't log it all and I've got a headache now and am probably going to go rest), but here's what I got from PuTTY during the session I gathered samples for:
login as: root
root@192.168.1.1's password:
BusyBox v1.23.2 (2015-09-02 19:47:36 BST) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Chaos Calmer, r46767)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:~# opkg install sqm-scripts --force-reinstall
Removing package sqm-scripts from root...
SQM: Trying to start/stop SQM on all interfaces.
SQM: run.sh stop
SQM: /usr/lib/sqm/run.sh Stopping SQM on interface: pppoe-wan
RTNETLINK answers: Operation not supported
Dump terminated
SQM: ifb associated with interface pppoe-wan:
SQM: trying to create new IFB: ifb4pppoe-wan
RTNETLINK answers: Operation not supported
SQM: /usr/lib/sqm/stop.sh: Stopping pppoe-wan
RTNETLINK answers: Operation not supported
Dump terminated
SQM: ifb associated with interface pppoe-wan:
SQM: /usr/lib/sqm/run.sh SQM qdiscs on pppoe-wan removed
Not deleting modified conffile /etc/config/sqm.
Installing sqm-scripts (8-4) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/kirkwood/generic/packages/packages/sqm-scripts_8-4_all.ipk.
Configuring sqm-scripts.
SQM: Trying to start/stop SQM on all interfaces.
SQM: /usr/lib/sqm/run.sh Queue Setup Script: /usr/lib/sqm/simple.qos
RTNETLINK answers: Operation not supported
Dump terminated
SQM: ifb associated with interface pppoe-wan:
SQM: trying to create new IFB: ifb4pppoe-wan
RTNETLINK answers: Operation not supported
Failed to find act_ipt. Maybe it is a built in module ?
Failed to find sch_fq_codel. Maybe it is a built in module ?
Failed to find sch_ingress. Maybe it is a built in module ?
Failed to find act_mirred. Maybe it is a built in module ?
Failed to find cls_fw. Maybe it is a built in module ?
Failed to find sch_htb. Maybe it is a built in module ?
SQM: Squashing differentiated services code points (DSCP) from ingress.
SQM: STAB: stab mtu 2047 tsize 512 mpu 0 overhead 8 linklayer ethernet
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
RTNETLINK answers: No such file or directory
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
RTNETLINK answers: No such file or directory
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
RTNETLINK answers: No such file or directory
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
SQM: egress shaping activated
RTNETLINK answers: No such file or directory
SQM: Do not perform DSCP based filtering on ingress. (1-tier classification)
SQM: STAB: stab mtu 2047 tsize 512 mpu 0 overhead 8 linklayer ethernet
Cannot find device "ifb4pppoe-wan"
Cannot find device "ifb4pppoe-wan"
Cannot find device "ifb4pppoe-wan"
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
Cannot find device "ifb4pppoe-wan"
ifconfig: SIOCGIFFLAGS: No such device
Cannot find device "ifb4pppoe-wan"
bad action parsing
parse_action: bad value (5:mirred)!
Illegal "action"
SQM: ingress shaping activated
Collected errors:
* resolve_conffiles: Existing conffile /etc/config/sqm is different from the conffile in the new package. The new conffile will be placed at /etc/config/sqm-opkg.
root@OpenWrt:~# ct
-ash: ct: not found
root@OpenWrt:~# tc
Usage: tc [ OPTIONS ] OBJECT { COMMAND | help }
tc [-force] -batch filename
where OBJECT := { qdisc | class | filter | action | monitor }
OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] | -n[etns] name |
-nm | -nam[es] | { -cf | -conf } path }
root@OpenWrt:~# nano /etc/config/sqm-opkg
root@OpenWrt:~# nano /etc/config/sqm-opkg
root@OpenWrt:~# nano /etc/config/sqm
root@OpenWrt:~# /etc/init.d/sqm stop ; /etc/init.d/sqm start
SQM: Trying to start/stop SQM on all interfaces.
SQM: run.sh stop
SQM: /usr/lib/sqm/run.sh Stopping SQM on interface: eth1
RTNETLINK answers: Operation not supported
Dump terminated
SQM: ifb associated with interface eth1:
SQM: trying to create new IFB: ifb4eth1
RTNETLINK answers: Operation not supported
SQM: /usr/lib/sqm/stop.sh: Stopping eth1
RTNETLINK answers: Operation not supported
Dump terminated
SQM: ifb associated with interface eth1:
SQM: /usr/lib/sqm/run.sh SQM qdiscs on eth1 removed
SQM: Trying to start/stop SQM on all interfaces.
SQM: /usr/lib/sqm/run.sh Queue Setup Script: /usr/lib/sqm/simple.qos
RTNETLINK answers: Operation not supported
Dump terminated
SQM: ifb associated with interface eth1:
SQM: trying to create new IFB: ifb4eth1
RTNETLINK answers: Operation not supported
Failed to find act_ipt. Maybe it is a built in module ?
Failed to find sch_fq_codel. Maybe it is a built in module ?
Failed to find sch_ingress. Maybe it is a built in module ?
Failed to find act_mirred. Maybe it is a built in module ?
Failed to find cls_fw. Maybe it is a built in module ?
Failed to find sch_htb. Maybe it is a built in module ?
SQM: Squashing differentiated services code points (DSCP) from ingress.
SQM: STAB: stab mtu 2047 tsize 512 mpu 0 overhead 8 linklayer ethernet
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
RTNETLINK answers: No such file or directory
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
RTNETLINK answers: No such file or directory
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
RTNETLINK answers: No such file or directory
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
SQM: egress shaping activated
RTNETLINK answers: No such file or directory
SQM: Do not perform DSCP based filtering on ingress. (1-tier classification)
SQM: STAB: stab mtu 2047 tsize 512 mpu 0 overhead 8 linklayer ethernet
Cannot find device "ifb4eth1"
Cannot find device "ifb4eth1"
Cannot find device "ifb4eth1"
SQM: get_limit: CURLIMIT: 1001
SQM: get_target defaulting to auto.
Cannot find device "ifb4eth1"
ifconfig: SIOCGIFFLAGS: No such device
Cannot find device "ifb4eth1"
bad action parsing
parse_action: bad value (5:mirred)!
Illegal "action"
SQM: ingress shaping activated
root@OpenWrt:~# tc -d qdisc
qdisc mq 0: dev eth0 root
qdisc fq_codel 0: dev eth0 parent :1 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc mq 0: dev eth1 root
qdisc fq_codel 0: dev eth1 parent :1 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev pppoe-wan root refcnt 2 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc mq 0: dev wlan0 root
qdisc fq_codel 0: dev wlan0 parent :1 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan0 parent :2 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan0 parent :3 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan0 parent :4 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc mq 0: dev wlan1 root
qdisc fq_codel 0: dev wlan1 parent :1 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan1 parent :2 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan1 parent :3 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan1 parent :4 limit 1024p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
root@OpenWrt:~#
I know it's probably partially due to the use of an unofficial build, but that compiles straight from the same code that an official image would, just slightly patched and repackaged. Does anyone have insight on any of this?