i made some changes, added some more packages, and compiled again. all working fine, except every reboot wipes all settings like a firstboot -y
. what should i be looking at?
what kind of answers are you expecting, based on the (zero) info you've provided ?
i don't know what kind of info you want. i was hoping perhaps this could be something others have encountered and there is something very obvious i missed.
so you're saying all readers have the same device, openwrt version and config as you do ?
cool !?
i'm not saying that all. what info should i provide? i guess you're asking for my config.buildinfo
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_rt305x=y
CONFIG_TARGET_ramips_rt305x_DEVICE_dir-615-d=y
# CONFIG_BUSYBOX_DEFAULT_FEATURE_IPV6 is not set
# CONFIG_IPV6 is not set
# CONFIG_KERNEL_CRASHLOG is not set
# CONFIG_KERNEL_IPV6 is not set
# CONFIG_KERNEL_IP_MROUTE is not set
# CONFIG_KERNEL_MAGIC_SYSRQ is not set
# CONFIG_KERNEL_PRINTK is not set
# CONFIG_KERNEL_PRINTK_TIME is not set
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_MBEDTLS=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_PROXY=y
CONFIG_LUCI_SRCDIET=y
CONFIG_PACKAGE_ca-bundle=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_https-dns-proxy=y
CONFIG_PACKAGE_ip-tiny=y
# CONFIG_PACKAGE_iwinfo is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-udptunnel4=y
CONFIG_PACKAGE_kmod-wireguard=y
CONFIG_PACKAGE_libcares=y
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libev=y
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libqrencode=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-https-dns-proxy=y
CONFIG_PACKAGE_luci-app-wireguard=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-compat=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-wireguard=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
# CONFIG_PACKAGE_opkg is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_qrencode=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-lua=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y
CONFIG_PACKAGE_wireguard-tools=y
CONFIG_STRIP_KERNEL_EXPORTS=y
# CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA is not set
CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ=y
CONFIG_USE_MKLIBS=y
CONFIG_uhttpd_lua=y
CONFIG_PACKAGE_libpthread=y
We don’t even know what device this is?
Or what is actually compiled!?
But @josephg can search the forum for this problem until something is found that fit his unknown problem because it has happened from time to time so there is info about this on the forum already.
What changes?
whatever you will provide will be an improvement over the current status, even if it's pics of cute kittens ...
this device was dropped with 19.07 going EOL, you're pretty much on your own ...
i added wireguard as per wiki, luci-app-wireguard and qrencode. works fine till reboot.
I can imagine flash filling up and/or going read only due to insufficient space.
are you saying i should not ask for help here unless i use the latest version of openwrt?
if you call Microsoft about your Win95 issues, will they help you ?
if you want to know what's really going on, connect serial, or at least try dmesg just before a reboot.
Most likely your build is too large. If there are not 5 eraseblocks available in flash after the kernel and rootfs, a jffs filesystem can't be formatted. In that case it reverts to the only storage of configuration on a RAM disk.
that's what i thought too, but i seem to have enough space and memory, or i don't understand what i'm looking at.
root@OpenWrt:~# free
total used free shared buff/cache available
Mem: 29224 14008 5280 120 9936 12984
Swap: 0 0 0
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.0M 3.0M 0 100% /rom
tmpfs 14.3M 56.0K 14.2M 0% /tmp
tmpfs 14.3M 60.0K 14.2M 0% /tmp/root
overlayfs:/tmp/root 14.3M 60.0K 14.2M 0% /
tmpfs 512.0K 0 512.0K 0% /dev
/tmp is RAM ...
how do i check how many eraseblocks are available?
how do i check if jffs filesystem can or has been formatted?
try formatting it manually ?
should it not be so?
format what how?
/tmp yes, but overlay shouldn't be mounted there.
check out the firstboot script, see what it does.