OpenWrt 23.05.0 - First stable release

If you had to reset the settings (for example, because the device has gained DSA support), then the settings could not be valid, and they might (soft)-brick the device. Is it really worth the risk?

1 Like

For sure a Softbrick i don't want. So i have to update the RBK50 (https://firmware-selector.openwrt.org/?version=23.05.0&target=ipq40xx%2Fgeneric&id=netgear_rbr50) and i will made all settings new.

1 Like

Hello,

Wireguard Proton VPN customer configuration

OPENWRT version 23.05.0, Totolink X5000R router, Wireguard Server with peers and Wireguard Proton VPN. My configuration is operational.

In the configuration of the Wireguard Proton VPN customer, only the private key and the peer public key are allocated. There is no public key provided with the private key.
When I configure the customer Wireguard Proton VPN, in Wireguard, interfaces, general parameters, after having glued the private key, the interface awaits the public key linked to the private key.

To get around this, I have to enter any character to make the red line disappear.

Then, I click on advanced settings. Coming back to general parameters, I can visualize that the private key to Proton VPN has generated its own public key.

The other solution is to click on backup, the disadvantage The page closes.

Is this normal behavior?

Have a nice day

Flashed 22.05.0 on my Raspberry Pi 4
Installed Packages:

Basic:
base-files bcm27xx-gpu-fw brcmfmac-nvram-43455-sdio busybox ca-bundle cypress-firmware-43455-sdio dnsmasq dropbear e2fsprogs firewall4 fstools iwinfo kmod-brcmfmac kmod-fs-vfat kmod-nft-offload kmod-nls-cp437 kmod-nls-iso8859-1 kmod-r8169 kmod-sound-arm-bcm2835 kmod-sound-core kmod-usb-hid kmod-usb-net-lan78xx libc libgcc libustream-mbedtls logd luci mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uci uclient-fetch urandom-seed wpad-basic-mbedtls

Extra:
kmod-usb-net-rtl8152 kmod-usb-net-asix kmod-usb-net-asix-ax88179 luci-ssl luci-app-upnp tcpdump kmod-netem luci-app-aria2 ariang luci-app-samba4 kmod-tcp-bbr bash curl luci-proto-relay ca-certificates block-mount fdisk qosify adguardhome

Everything working great except Wi-Fi doesn't work when Operating frequency is set to Auto

Does luci-app-sqm and sqm-scripts work for everyone on OpenWrt 23.05.0?

For me on mt7622 it seems to work only on upload (egress), but not for download, no matter which settings I use.

This is the error log when starting SQM:

user.notice SQM: Starting SQM script: piece_of_cake.qos on wan, in: 150000 Kbps, out: 150000 Kbps
user.notice SQM: ERROR: cmd_wrapper: tc: FAILURE (2): /sbin/tc qdisc add dev wan handle ffff: ingress
user.notice SQM: ERROR: cmd_wrapper: tc: LAST ERROR: Error: Exclusivity flag on, cannot modify.
user.notice SQM: ERROR: cmd_wrapper: tc: FAILURE (2): /sbin/tc filter add dev wan parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev ifb4wan
user.notice SQM: ERROR: cmd_wrapper: tc: LAST ERROR: RTNETLINK answers: Invalid argument We have an error talking to the kernel
user.notice SQM: WARNING: sqm_start_default: piece_of_cake.qos lacks an ingress() function
user.notice SQM: piece_of_cake.qos was started on wan successfully

I'm using just a standard clean install of OpenWrt 23.05.0 without any special features or settings.

If I uninstall luci-app-sqm and install Qosify, it works both for download and upload, and it creates a new interface called ifb-wan on start, which it seems to assign the qdisc to.

Has anyone else experienced these issues with luci-app-sqm? Does it require an update to work on OpenWrt 23.05.0 or I'm missing something?

I upgraded Xiaomi AIOT AC2350 running as a dump AP and found out the wired connections maxes out at around 250/300 Mbps (measured with iperf).
I've read some reports about problems with 100 Mbps devices slowing down the whole switch speed, and although I don't have any such device connected I wonder if if could be related?

Maybe bad interaction between cake-related packages? Maybe disable in startup anything that might conflict with luci-app-sqm (including qosify). Or there is a missing package. @moeller0 may have further ideas.

1 Like

Thank you so much for the reply! I appreciate that.

Only luci-app-sqm is installed, on top of a standard 23.05.0 squashfs-sysupgrade with restore to defaults after upgrading.

Qosify is not installed at the same time.

What is the output of:

ifconfig
tc -s qdisc
tc -d qdisc

from before and after running this command?

1 Like

Thank you so much for the reply!

Here are the outputs:

Before enabling luci-app-sqm:

# ifconfig
br-lan    Link encap:Ethernet  HWaddr [redacted]  
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:65179723 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83492864 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:27264368045 (25.3 GiB)  TX bytes:142870540145 (133.0 GiB)

eth0      Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::8ede:f9ff:febe:f6aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:276052764 errors:112 dropped:0 overruns:0 frame:0
          TX packets:202239935 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:223669638433 (208.3 GiB)  TX bytes:195431071060 (182.0 GiB)
          Interrupt:134 

ifb-dns   Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::f434:beff:fe47:a380/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:9257 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9257 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:1572626 (1.4 MiB)  TX bytes:1572626 (1.4 MiB)

lan1      Link encap:Ethernet  HWaddr [redacted]  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:26972059 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21193146 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2070388005 (1.9 GiB)  TX bytes:50940694809 (47.4 GiB)

lan2      Link encap:Ethernet  HWaddr [redacted]  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29673928 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32113300 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17206239201 (16.0 GiB)  TX bytes:45689513953 (42.5 GiB)

lan3      Link encap:Ethernet  HWaddr [redacted]  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6394708 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19561590 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:986321484 (940.6 MiB)  TX bytes:29564614293 (27.5 GiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:26077 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26077 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2253648 (2.1 MiB)  TX bytes:2253648 (2.1 MiB)

wan       Link encap:Ethernet  HWaddr [redacted]  
          inet addr:[redacted]  Bcast:[redacted]  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:165244555 errors:0 dropped:294513 overruns:0 frame:0
          TX packets:68264502 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:146544378961 (136.4 GiB)  TX bytes:28346359738 (26.3 GiB)

wl0-ap0   Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::8ede:f9ff:febe:f6ab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2919532 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2948422 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:262149615 (250.0 MiB)  TX bytes:361528137 (344.7 MiB)

wl1-ap0   Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::8ede:f9ff:febe:f6ac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:144712 errors:0 dropped:0 overruns:0 frame:0
          TX packets:115391 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:143894321 (137.2 MiB)  TX bytes:111464417 (106.2 MiB)
          
          
# tc -s qdisc
qdisc noqueue 0: dev lo root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc mq 0: dev eth0 root 
 Sent 156893025867 bytes 166208665 pkt (dropped 15, overlimits 0 requeues 32668) 
 backlog 0b 0p requeues 32668
qdisc fq_codel 0: dev eth0 parent :10 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :f limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :e limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :d limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :c limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :b limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :a limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :9 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 29747497779 bytes 21052379 pkt (dropped 0, overlimits 0 requeues 9106) 
 backlog 0b 0p requeues 9106
  maxpacket 16698 drop_overlimit 0 new_flow_count 8544 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 46016354251 bytes 34944053 pkt (dropped 13, overlimits 0 requeues 9255) 
 backlog 0b 0p requeues 9255
  maxpacket 25806 drop_overlimit 0 new_flow_count 87492 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 52117018723 bytes 36786314 pkt (dropped 0, overlimits 0 requeues 2084) 
 backlog 0b 0p requeues 2084
  maxpacket 19474 drop_overlimit 0 new_flow_count 948 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 29012152766 bytes 73425897 pkt (dropped 2, overlimits 0 requeues 12223) 
 backlog 0b 0p requeues 12223
  maxpacket 27324 drop_overlimit 0 new_flow_count 79678 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 2348 bytes 22 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev wan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc clsact ffff: dev wan parent ffff:fff1 
 Sent 68053256993 bytes 88757293 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-lan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wl0-ap0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev ifb-dns root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 1572626 bytes 9257 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 389 drop_overlimit 0 new_flow_count 186 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev wl1-ap0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
# tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2 
qdisc mq 0: dev eth0 root 
qdisc fq_codel 0: dev eth0 parent :10 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :f limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :e limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :d limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :c limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :b limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :a limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :9 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc noqueue 0: dev wan root refcnt 2 
qdisc clsact ffff: dev wan parent ffff:fff1 
qdisc noqueue 0: dev lan1 root refcnt 2 
qdisc noqueue 0: dev lan2 root refcnt 2 
qdisc noqueue 0: dev lan3 root refcnt 2 
qdisc noqueue 0: dev br-lan root refcnt 2 
qdisc noqueue 0: dev wl0-ap0 root refcnt 2 
qdisc fq_codel 0: dev ifb-dns root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc noqueue 0: dev wl1-ap0 root refcnt 2 

After enabling luci-app-sqm:

# ifconfig
br-lan    Link encap:Ethernet  HWaddr [redacted]  
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:65180949 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83493938 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:27264595246 (25.3 GiB)  TX bytes:142871034328 (133.0 GiB)

eth0      Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::8ede:f9ff:febe:f6aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:276075202 errors:112 dropped:0 overruns:0 frame:0
          TX packets:202241906 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:223671518892 (208.3 GiB)  TX bytes:195431778670 (182.0 GiB)
          Interrupt:134 

ifb-dns   Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::f434:beff:fe47:a380/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:9257 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9257 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:1572626 (1.4 MiB)  TX bytes:1572626 (1.4 MiB)

ifb4wan   Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::206c:3aff:fe53:a705/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan1      Link encap:Ethernet  HWaddr [redacted]  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:26972059 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21193146 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2070388005 (1.9 GiB)  TX bytes:50940694809 (47.4 GiB)

lan2      Link encap:Ethernet  HWaddr [redacted]  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29674914 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32114277 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17206406798 (16.0 GiB)  TX bytes:45689972955 (42.5 GiB)

lan3      Link encap:Ethernet  HWaddr [redacted]  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6394763 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19561689 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:986335360 (940.6 MiB)  TX bytes:29564646935 (27.5 GiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:26111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26111 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2256533 (2.1 MiB)  TX bytes:2256533 (2.1 MiB)

wan       Link encap:Ethernet  HWaddr [redacted]  
          inet addr:[redacted]  Bcast:[redacted]  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:165265952 errors:0 dropped:294623 overruns:0 frame:0
          TX packets:68265297 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:146545674063 (136.4 GiB)  TX bytes:28346552604 (26.3 GiB)

wl0-ap0   Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::8ede:f9ff:febe:f6ab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2920725 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2949624 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:262274459 (250.1 MiB)  TX bytes:361668346 (344.9 MiB)

wl1-ap0   Link encap:Ethernet  HWaddr [redacted]  
          inet6 addr: fe80::8ede:f9ff:febe:f6ac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:144815 errors:0 dropped:0 overruns:0 frame:0
          TX packets:115534 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:143911512 (137.2 MiB)  TX bytes:111497446 (106.3 MiB)

# tc -s qdisc
qdisc noqueue 0: dev lo root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc mq 0: dev eth0 root 
 Sent 156893643773 bytes 166210407 pkt (dropped 15, overlimits 0 requeues 32668) 
 backlog 0b 0p requeues 32668
qdisc fq_codel 0: dev eth0 parent :10 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :f limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :e limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :d limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :c limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :b limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :a limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :9 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 29747511045 bytes 21052437 pkt (dropped 0, overlimits 0 requeues 9106) 
 backlog 0b 0p requeues 9106
  maxpacket 16698 drop_overlimit 0 new_flow_count 8544 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 46016788354 bytes 34945015 pkt (dropped 13, overlimits 0 requeues 9255) 
 backlog 0b 0p requeues 9255
  maxpacket 25806 drop_overlimit 0 new_flow_count 87492 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 52117018723 bytes 36786314 pkt (dropped 0, overlimits 0 requeues 2084) 
 backlog 0b 0p requeues 2084
  maxpacket 19474 drop_overlimit 0 new_flow_count 948 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 29012323303 bytes 73426619 pkt (dropped 2, overlimits 0 requeues 12223) 
 backlog 0b 0p requeues 12223
  maxpacket 27324 drop_overlimit 0 new_flow_count 79679 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 2348 bytes 22 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc cake 8053: dev wan root refcnt 2 bandwidth 150Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead 0 
 Sent 85078 bytes 376 pkt (dropped 0, overlimits 17 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 8952b of 7500000b
 capacity estimate: 150Mbit
 min/max network layer size:           42 /    1514
 min/max overhead-adjusted size:       42 /    1514
 average network hdr offset:           11

                  Tin 0
  thresh        150Mbit
  target            5ms
  interval        100ms
  pk_delay        102us
  av_delay         10us
  sp_delay          5us
  backlog            0b
  pkts              376
  bytes           85078
  way_inds            0
  way_miss           89
  way_cols            0
  drops               0
  marks               0
  ack_drop            0
  sp_flows            2
  bk_flows            1
  un_flows            0
  max_len          6056
  quantum          1514

qdisc clsact ffff: dev wan parent ffff:fff1 
 Sent 68053256993 bytes 88757293 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-lan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wl0-ap0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev ifb-dns root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
 Sent 1572626 bytes 9257 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 389 drop_overlimit 0 new_flow_count 186 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev wl1-ap0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc cake 8054: dev ifb4wan root refcnt 2 bandwidth 150Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms raw overhead 0 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 0b of 7500000b
 capacity estimate: 150Mbit
 min/max network layer size:        65535 /       0
 min/max overhead-adjusted size:    65535 /       0
 average network hdr offset:            0

                  Tin 0
  thresh        150Mbit
  target            5ms
  interval        100ms
  pk_delay          0us
  av_delay          0us
  sp_delay          0us
  backlog            0b
  pkts                0
  bytes               0
  way_inds            0
  way_miss            0
  way_cols            0
  drops               0
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            0
  un_flows            0
  max_len             0
  quantum          1514

# tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2 
qdisc mq 0: dev eth0 root 
qdisc fq_codel 0: dev eth0 parent :10 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :f limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :e limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :d limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :c limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :b limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :a limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :9 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc cake 8053: dev wan root refcnt 2 bandwidth 150Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead 0 
qdisc clsact ffff: dev wan parent ffff:fff1 
qdisc noqueue 0: dev lan1 root refcnt 2 
qdisc noqueue 0: dev lan2 root refcnt 2 
qdisc noqueue 0: dev lan3 root refcnt 2 
qdisc noqueue 0: dev br-lan root refcnt 2 
qdisc noqueue 0: dev wl0-ap0 root refcnt 2 
qdisc fq_codel 0: dev ifb-dns root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64 
qdisc noqueue 0: dev wl1-ap0 root refcnt 2 
qdisc cake 8054: dev ifb4wan root refcnt 2 bandwidth 150Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms raw overhead 0 

Running a speed test again after enabling the SQM shows that the upload is shaped, but the download isn't.

Please let me know if any additional info is needed.

So we can set up IFBs but we fail when setting up the ingress and redirection...
Questin, where dies ifb-dns come from? And is that already on the same interface as ifb4wan? (I can not tell do to the redacted ethernet mac addresses... these typically are not leaked into the internet (assuming you did not play with IPv6 address generation) so redacting these is quite cautious :wink: )

I wonder, might ifb-dns already "capture" the ingress of the same ethernet device as ifb4wan aims for?

1 Like

Thank you so much for checking this and for the reply! I appreciate that a lot.

I think that the ifb-dns is created by Qosify when installing it for the first time. It doesn't seem to be removed when uninstalling Qosify with opkg.

I wasn't sure what needs to be redacted, so I did everything after HWaddr. I'm sorry about that.

These are the unredacted versions:

ifb-dns   Link encap:Ethernet  HWaddr F6:34:BE:47:A3:80  
ifb4wan   Link encap:Ethernet  HWaddr 22:6C:3A:53:A7:05

One difference that I've noticed is that ifb-wan doesn't show in Luci > Interfaces > Devices when using luci-app-sqm.

When using Qosify, there is a ifb-wan network device in Luci > Interfaces > Devices

Well, that was just a wild guess, I have no device I can run 23.05 on so I am somewhat blind...
what kernel and what tc version do you have installed? Maybe I can at least test the same configuration...

1 Like

The kernel version is 5.15.134
TC version is tc utility, iproute2-6.3.0

I can also confirm that luci-app-sqm works as intended when using the older OpenWrt 22.03.05 on this same device (mediatek/mt7622).

I appreciate your help so far a lot. Please don't bother updating specifically for this issue if you're not running it already.

I'm just curious if it's something specific to my setup, or if there is an incompatibility with the latest included version of luci-app-sqm (git-22.360.73151-127c900) and OpenWrt 23.05.0

I'm thinking residual from qosify - I take it you've tried simply rebooting and trying again?

@moderators this could be split off into new topic from: here.

3 Likes

You're right!

I did another reinstall from scratch and reboot to be safe and now the download shaping works properly with luci-app-sqm and OpenWrt 23.05.0.

Now there is no ifb-dns or ifb-wan in Luci > Interfaces > Devices, but the shaping works and there are no errors in the log.

I would like to thank you again @Lynx and @moeller0 for all your help with this!

2 Likes

I just update my google wifi a

You may need too complete your comment..

1 Like

Shouldn't we add this issue to the list?

what an interesting finding... looks to be a problem on the more generic component than driver... did you find a single device that works on 2.4ghz, mesh and 40mhz?

also main works correctly?