gwlim / openwrt-sfe-flowoffload-ath79

Openwrt firmware with SFE and FlowOffload
198 stars 24 forks source link

Cannot deploy SQM, missing/incompatible packages #131

Closed KingRabbid closed 4 years ago

KingRabbid commented 4 years ago

Hello!

I've used https://github.com/gwlim/openwrt-sfe-flowoffload/tree/master/MAY-2020/openwrt-sfe-flowoffload-mini/TP-Link%20WR1043NDv1-32MB-RAM-mips24k-ath9k and now I have:

Model TP-Link TL-WR1043ND v1 Architecture Atheros AR9132 rev 2 Firmware Version OpenWrt SFE r13172-2b31f143f9 / LuCI Trunk Kernel Version 5.4.39

I'm trying to install SQM but constantly failing for both luci-app-sqm and sqm-scripts. Am I doing something wrong? Also, I'm using the router in Switch mode behind an ISP router, is SFE/SQM still relevant in such setup?

Thank you

sqm-dependency sqm-dependency-error sqm-scripts-dependency sqm-scripts-dependency-error

gwlim commented 4 years ago

You need to install all the required kmods from the tar.gz file first

KingRabbid commented 4 years ago

Hi,

thanks for quick reply; I've managed to identify the following in the kmod-package.tar.gz available in git:

root@OpenWrt:/tmp# ll *.ipk
-r-xr-x---    1 root     root         13514 May 10 23:04 iptables-mod-ipopt_1.8.4-1_mips_24kc.ipk*
-r-xr-x---    1 root     root         14354 May 10 23:09 kmod-ipt-conntrack-extra_5.4.39-1_mips_24kc.ipk*
-r-xr-x---    1 root     root          6822 May 10 23:05 kmod-ipt-ipopt_5.4.39-1_mips_24kc.ipk*
-r-xr-x---    1 root     root          2393 May 10 23:06 kmod-ipt-raw6_5.4.39-1_mips_24kc.ipk*
-r-xr-x---    1 root     root          2359 May 10 23:06 kmod-ipt-raw_5.4.39-1_mips_24kc.ipk*
-r-xr-x---    1 root     root         10210 May 10 23:23 kmod-lib-zlib-deflate_5.4.39-1_mips_24kc.ipk*
-r-xr-x---    1 root     root          8415 May 10 23:23 kmod-lib-zlib-inflate_5.4.39-1_mips_24kc.ipk*
-r-xr-x---    1 root     root         16159 May 10 23:07 kmod-sched-cake_5.4.39-1_mips_24kc.ipk*

How do I know which package is in this archive contains the remaining required dependencies:

tc iptables-mod-conntrack-extra libelf1 libmnl0 Or I can download the latest snapshot version for these?

gwlim commented 4 years ago

non kmod packages should be installable from latest snapshot

gwlim commented 4 years ago

Anyway I suggest upgrading the RAM by replacing the DDR chip https://openwrt.org/toh/tp-link/tl-wr1043nd#mb_ram_mod

KingRabbid commented 4 years ago

Many thanks, installation worked based on opkg update + install of the mentioned packages. Now I can see SQM web page(s). I'll look into the RAM thing if it's something I can handle.

Thanks again and regards!