hi,

a quick question: i was using 18.06.04 build on tplink 1043nd v.2 and there was no option for flow offload in firewall settings? because of that i've migrated to @gwlim 's fork.
How can i enable flow offload option in 18.06.04 build if there is no checkbox to enable it ????

thx

You can't, flow-offloading depends on kernel >= 4.14, but ar71xx in 18.06.x is on kernel 4.9.

so as i understand it, to make use of flow offload i need to stay with @gwlim 's fork ? i ask this because i can't update packages (total noob) and i don't know what to do with the kmod-packages file that comes with gwlim's image.. i wan't to setup extroot but i can't because i can't install fs-ext4 and so on...
is there no other way to use flow offload with an official build ?

sorry if my questions seem stupid but i'm learning all of this on the go.

I'm personally waiting for the new @shunjou build to come out.

Hi,
Can someone point me in the right direction ?
I;m trying to set up extroot for the 1043nd v2 router with gwlim's september image.
I'm following this guide extroot guide , but for some reason my usb stick is not seen when issuing the command block info.
I have installed the kmod-usb-storage provided in the image tarball but i get the folowing error:

OpenWrt - Software - LuCI
Kernel support for USB Mass Storage devices
*** The installed version of package kernel is not compatible, require 4.19.69-1-cc50d72d… while 4.19.69-1-67fb2830… is installed.**

What can i do to add support for usb ?

thx

This build gave new life to my wdr3600. Thanks!

EDIT: the effect kind of goes away when I add SQM to the mix, but still, great work!

If SQM is not enabled, performance goes to line rate for MTU=1500 for fast enough processors
If SQM is enabled, performance is still greater than without SFE but will not be line rate
Eg.
WR1043NDv1 no SFE no SQM => 250Mbps
WR1043NDv1 with SFE no SQM => 700Mbps
WR1043NDv1 with SFE + SQM => 300Mbps (tested with CAKE + layer cake)

1 Like

It is in the tar.gz archive, decompress and install from there

Hi,

After many hours i'm about to give up.
I have installed everything needed for extroot, but when i'm trying to mount the usb ext4 partition i get this error:

# mount /dev/sda1 /mnt
mount: mounting /dev/sda1 on /mnt failed: Invalid argument

The block info command outputs this :

block info
/dev/mtdblock3: UUID="6415cad4-45731f85-3648afa9-a833df68" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock4: MOUNT="/overlay" TYPE="jffs2"
/dev/sda1: UUID="ca53902e-45d4-4399-b613-09cfee1094dd" VERSION="1.0" TYPE="ext4"

I have formated the drive using this command mkfs.ext4 /dev/sda1

At this point my guess i'm missing a kernel module. ???

It is in the kmod-package.tar.gz in the same directory where you download the firmware

Yes, I know. From that tarball i've already installed the packages specified in the extroot tutorial from openwrt docs. I already have all that is required to setup extroot installed. Still get that error when mounting..
Maybe there is something else that needs to be installed ?when I get home i'll post an lsmod printout...

What firmware for what router did you use?

tplink wr1043nd v2 , flashed with your SEP-2019/ openwrt-sfe-flowoffload-normal / , latest image, from yesterday.
I have installed the packages required here (from the tarball that comes with the flashed image) extroot .

lsmod ouputs this: #

 lsmod
act_mirred              4496  0
act_skbedit             3408  0
aead                    3424  3 cryptodev,algif_aead,authenc
af_alg                 10832  4 algif_skcipher,algif_rng,algif_hash,algif_aead
algif_aead              3808  0
algif_hash              4416  0
algif_rng               1184  0
algif_skcipher          2880  0
arc4                    1632  0
ath                    18720  3 ath9k,ath9k_common,ath9k_hw
ath9k                 100944  0
ath9k_common           11712  1 ath9k
ath9k_hw              348416  2 ath9k,ath9k_common
authenc                 3680  0
cfg80211              247776  4 ath9k,ath9k_common,ath,mac80211
cls_basic               3328  0
cls_flow                5440  0
cls_fw                  4128  0
cls_matchall            3168  0
cls_route               5376  0
cls_tcindex             5632  0
cls_u32                11568  0
compat                  8720  4 ath9k,ath9k_common,mac80211,cfg80211
crc_ccitt               1664  1 ppp_async
crypto_hash             8736  7 ppp_mppe,cryptodev,algif_hash,sha1_generic,authe                               nc,jbd2,crypto_null
crypto_null             2960  3 algif_aead,authenc,aead
cryptodev              33072  0
cryptomgr               1968  0
ecb                     1440  0
ehci_hcd               36240  1 ehci_platform
ehci_platform           4480  0
em_u32                   576  0
fast_classifier        42896  0
gpio_button_hotplug     7136  0
gre                     2272  2 pptp,ip_gre
ifb                     3136  0
ip_gre                 16192  0
ip_set                 23216 16 xt_set,ip_set_list_set,ip_set_hash_netportnet,ip                               _set_hash_netport,ip_set_hash_netnet,ip_set_hash_netiface,ip_set_hash_net,ip_set                               _hash_mac,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_set_hash_ipport,ip_set_h                               ash_ipmark,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitmap_i                               p
ip_set_bitmap_ip        6816  0
ip_set_bitmap_ipmac     6880  0
ip_set_bitmap_port      5952  0
ip_set_hash_ip         19936  0
ip_set_hash_ipmark     20064  0
ip_set_hash_ipport     20640  0
ip_set_hash_ipportip   21568  0
ip_set_hash_ipportnet   25760  0
ip_set_hash_mac        10400  0
ip_set_hash_net        23072  0
ip_set_hash_netiface   24608  0
ip_set_hash_netnet     25984  0
ip_set_hash_netport    24544  0
ip_set_hash_netportnet   26912  0
ip_set_list_set         7296  0
ip_tables              10352  5 iptable_nat,iptable_raw,iptable_mangle,iptable_f                               ilter
ip_tunnel              11264  1 ip_gre
ip6_tables             10176 24 ip6table_mangle,ip6table_filter
ip6_udp_tunnel          1568  2 wireguard,l2tp_core
ip6t_REJECT             1248  2
ip6table_filter          672  1
ip6table_mangle         1184  1
ipt_ECN                 1408  0
ipt_MASQUERADE           672  1
ipt_REJECT              1152  2
iptable_filter           672  1
iptable_mangle           928  1
iptable_nat              768  1
iptable_raw              800  1
jbd2                   49904  0
l2tp_core              12464  2 l2tp_ppp,l2tp_netlink
l2tp_netlink            8912  1 l2tp_ppp
l2tp_ppp               11984  0
ledtrig_usbport         2864  0
mac80211              469472  2 ath9k,ath9k_hw
mbcache                 3088  0
nf_conncount            5616  1 xt_connlimit
nf_conntrack           66464 17 fast_classifier,ipt_MASQUERADE,xt_state,xt_nat,x                               t_helper,xt_conntrack,xt_connmark,xt_connlimit,xt_connbytes,xt_REDIRECT,xt_CT,nf                               _nat_ipv4,nf_nat,nf_conntrack_rtcache,nf_conntrack_netlink,nf_conncount,sch_cake
nf_conntrack_netlink   22544  0
nf_conntrack_rtcache    2272  0
nf_defrag_ipv4          1152  1 nf_conntrack
nf_defrag_ipv6          4736  1 nf_conntrack
nf_log_common           2688  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3392  0
nf_log_ipv6             4160  0
nf_nat                 13552  3 xt_nat,xt_REDIRECT,nf_nat_ipv4
nf_nat_ipv4             4928  2 iptable_nat,ipt_MASQUERADE
nf_reject_ipv4          2112  1 ipt_REJECT
nf_reject_ipv6          2368  1 ip6t_REJECT
nfnetlink               4384  2 nf_conntrack_netlink,ip_set
nls_base                4928  1 usbcore
ohci_hcd               24880  1 ohci_platform
ohci_platform           3744  0
ppp_async               6912  0
ppp_generic            22608 10 pppoe,ppp_async,l2tp_ppp,pptp,pppox,ppp_mppe
ppp_mppe                5680  0
pppoe                   9248  2
pppox                   1264  3 pppoe,l2tp_ppp,pptp
pptp                   13936  0
sch_cake               30384  0
sch_hfsc               15936  0
sch_htb                14384  0
sch_ingress             1568  0
sch_tbf                 6368  0
scsi_mod               93232  4 ums_cypress,uas,usb_storage,sd_mod
sd_mod                 28592  0
sha1_generic            2272  0
shortcut_fe            44224  1 fast_classifier
shortcut_fe_ipv6       45440  1 fast_classifier
slhc                    4992  1 ppp_generic
tun                    26688  0
uas                    12064  0
udp_tunnel              2464  2 wireguard,l2tp_core
uhci_hcd               20240  0
ums_alauda              8784  0
ums_cypress             2608  0
ums_datafab             5072  0
ums_freecom             2160  0
ums_isd200              5888  0
ums_jumpshot            4176  0
ums_karma               1776  0
ums_sddr09              9312  0
ums_sddr55              6128  0
ums_usbat               8608  0
usb_common              2496  1 usbcore
usb_storage            40944 11 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_ju                               mpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,uas
usbcore               134528 18 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_ju                               mpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,ledtrig_usbport                               ,uas,usb_storage,uhci_hcd,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd
wireguard              93888  0
x_tables               14128 40 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_t                               cpmss,xt_statistic,xt_state,xt_recent,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limi                               t,xt_length,xt_hl,xt_helper,xt_ecn,xt_dscp,xt_conntrack,xt_connmark,xt_connlimit                               ,xt_connbytes,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_HL,xt_DSCP,xt_CT,xt_CLA                               SSIFY,iptable_raw,iptable_mangle,iptable_filter,ipt_ECN,ip_tables,xt_set,ip6tabl                               e_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xt_CLASSIFY              608  0
xt_CT                   2880  0
xt_DSCP                 1536  0
xt_HL                   1184  0
xt_LOG                   768  0
xt_REDIRECT              704  0
xt_TCPMSS               3136  4
xt_comment               512144
xt_connbytes            1728  0
xt_connlimit            1088  0
xt_connmark             1792  0
xt_conntrack            2400 16
xt_dscp                  960  0
xt_ecn                  1504  0
xt_helper                960  0
xt_hl                    832  0
xt_length                736  0
xt_limit                1408 20
xt_mac                   640  0
xt_mark                  672  0
xt_multiport            1248  0
xt_nat                  2368  0
xt_recent               7088  0
xt_set                  7616  0
xt_state                 832  0
xt_statistic             864  0
xt_tcpmss               1088  0
xt_tcpudp               1760 12
xt_time                 1984  0

I did a ctrl-f but don't see an ext4 module
You can't mount an ext4 partition without a ext4 kmod

root@openwrt:~# lsmod | grep ext4
crc16                   1024  1 ext4
crypto_hash             8736  9 ext4,jbd2,crc32c_generic,ppp_mppe,cryptodev,algif_hash,sha1_generic,authenc,crypto_null
ext4                  392736  0
jbd2                   49904  1 ext4
mbcache                 3088  1 ext4
 dependencies for kmod-fs-ext4:
 *      kmod-lib-crc16
 *      kmod-crypto-crc32c

I have the kmod-fs-ext4 listed in luci but if i lsmod | grep ext4 in command prompt i get nothing.
What should i do? I'll try to remove the kmod from luci and reinstall ...

so, when i try to remove kmod-fs-ext4 from within luci i get:

The opkg remove command failed with code 255

Why is it listed there if it's not installed?
I removed the package and trying to reinstall from tarball. If i'm installing whitout -nodeps i get

opkg install kmod-fs-ext4_4.19.72-1_mips_24kc.ipk
Installing kmod-fs-ext4 (4.19.72-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
 *      kernel (= 4.19.72-1-23e25f21c0f86dda925f0fc261a08d10)
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.

If i install it with -nodeps , appears as it is installed in luci but the command " ```
lsmod | grep ext4" returns empty.

You probably installed it from openwrt repository, you need to get it from the tar.gz where it is loadable

no, it is from the tar.gz that came with your image.
the filename is kmod-fs-ext4_4.19.72-1_mips_24kc.ipk .

you must type opkg install /tmp/kmod-filename.ipk if not you are installing from the openwrt repo
and if lsmod | grep ext4 does not show ext4 then it is not loaded.
If you type insmod ext4 nothing shows up then the wrong kmod is installed

ohh let me try that. i thought that after cd /tmp i was already in tmp and the package gets installed from there.

same thing. lsmod | grep ext4 is empty.

I'm back again with my problem setting up extroot on wr1043nd v2.
Following our discussion yesterday i reflashed the router multiple times in an attempt to isolate the problem. Before i was using "opkg update" and after that i installed the packages from tar.gz provided with the image.
Today i have installed the packages straight after flashing the image and i get the same result.

What else can i do? I need extroot for adblock. sorry for bothering you guys with this little problem.