Dir-615 d4 does not save setting in 18.06 but did in 17.01

This is follow up on this: D-Link Dir-615 rev D4 is not saving my settings

I am facing same problem - power cycle resets all the settings. Downgrading to 17.01.6 solves the problem.

BusyBox v1.28.3 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06.1, r7258-5eb055306f
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    13.8M    408.0K     13.4M   3% /tmp
tmpfs                    13.8M     56.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     56.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# logread | grep jffs2
Thu Aug 16 07:51:21 2018 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
Thu Aug 16 07:51:21 2018 kern.info kernel: [    0.436621] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Thu Aug 16 07:51:21 2018 user.notice kernel: [    7.642674] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
Thu Aug 16 07:51:34 2018 kern.err kernel: [   28.849192] jffs2: Too few erase blocks (4)
Thu Aug 16 07:51:34 2018 daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock6 /rom/overlay: Invalid argument
root@OpenWrt:~# logread | grep -i overlay
Thu Aug 16 07:51:21 2018 user.notice kernel: [    7.642674] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
Thu Aug 16 07:51:34 2018 daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock6 /rom/overlay: Invalid argument
root@OpenWrt:~# 

I also tried removing some packages to get some free space (i removed all ppp stuff) - but after reboot the packages reappear.

You can't remove something that's in the base firmware because that part is read only. The packages will only be marked as deleted in the overlay file system, not actually deleted. Because your overlay file system is on a temporary RAM disk, that marking will be gone after a reboot.

You need to compile your own firmware without the packages you don't need.
See https://openwrt.org/docs/guide-user/additional-software/saving-space

This router has only 4 MB flash and probably is out of memory with Openwrrt 18

It works now. I've rebuild the image without pppd and ipv6.
Here it is:
openwrt-18.06.1-ramips-rt305x-dir-615-d-squashfs-sysupgrade-less_ppp-less_ipv6.bin
Thanks everyone!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.