I have tplink tl-mr6400-v4 and have the issue that settings (ie LTE interface settings) are not persisted over reboots. It is most probably me doing something wrong - first tries creating a openwrt image.
basically, as the "official" image from device page did not for some reason work for me, i created new by myself with:
make image PROFILE="tplink_tl-mr6400-v4" PACKAGES="modemmanager uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-material luci-app-opkg -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd-ipv6onlyd"
uploading and sysupgrading it works well.
but then, if i try to enable wifi and configure LTE module as per this, everything works after i do:
ifup myLTEifName
wifi down
wifi up
/etc/init.d/firewall restart
but after reboot, everything is back in "right after flashing" state (wifi disabled, wifi name OpenWrt, LTE not configured, etc). Same happened when i tried to do changes via luci interface.
diagnostic info:
root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 5.5M 5.5M 0 100% /rom
tmpfs 28.4M 276.0K 28.1M 1% /tmp
tmpfs 28.4M 60.0K 28.3M 0% /tmp/root
overlayfs:/tmp/root 28.4M 60.0K 28.3M 0% /
tmpfs 512.0K 0 512.0K 0% /dev
so for my limited understanding overlay is mounted correctly rw and there is plenty of space available too.
please help, what am i doing wrong? let me know if i can provide any other info for determining the cause of issue.