i recently install the latest openwrt firmware LuCI openwrt-21.02 branch](
https://github.com/openwrt/luci) and setup the tp-link tl-wr1043nd v2.1 as access point, when it works, it's ok, but I'm noticed that after reboot my router, I'm losing internet access on all interfaces, i try to solve the issue on my own by search this forum and change the DNS server address on lan/wan , try to factory default and setup again, no luck
that's weird bug, I will happy to solve this issue as soon as possible, and want to schedule a monthly reboot but not sure i understand how
tp-link tl-wr1043nd v2.1
when it works, it's ok, but I'm noticed that after reboot my router, I'm losing internet access on all interfaces
Might be due to a full flash memory, and overlay getting put into ramdisk (which naturally gets wiped at reboot).
check the system log for "overlay" and "jffs2" messages.
See older messages like this for references about the log messages:
My hunch is this.
Looking at your 18.06 comparison data: there you only have overlay of 112 or 48 kB, which is laughably little. The overlay requires 4 (or 5??) erase block of 64 kB, = 256 kB, if I remember right.
You may really need to use some "small erase block" magic.
Otherwise, you need to have either (4 or 5) x 64 kB blocks for overlay, = 256 or 320 kB...
This is probably the patch that
using a 4/32 device with current Openwrt is asking for trouble. You asked for it, you got it
The 4/32 warning is there for a reason.
Based on your description, I guess that either
on the first boot the router creates or at least tries to create r/w jffs2 overlay partition. That succeeds(?), but due to small flash space there is not enough free working space on the next boot. Even if you do not chan…
i think that you right, so it's hardware limination if I understand
Tue Nov 16 18:47:31 2021 user.info kernel: [ 10.342743] mount_root: switching to jffs2 overlay
Tue Nov 16 18:47:31 2021 kern.warn kernel: [ 10.350329] overlayfs: upper fs does not support tmpfile.
Tue Nov 16 18:47:31 2021 kern.notice kernel: [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
Tue Nov 16 18:47:31 2021 kern.info kernel: [ 0.241953] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Those look actually as expected. So, my guess might be wrong.
What does "df -h" show to you? A normal overlay at a mtdblock?
(The generic answer might still be hardware limitations, but the detailed reason might be something else than I first thought)
Does system log offer any clues?
I'm posted link to full log files, maybe it will help us because I don't know how to figure out
At the first glance, those logs looks pretty normal to me.
No hints from them