LuCi is not saving network settings

or time zone for that matter. The password is saved however??
This is LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685) ( a stable release I believe) on a NETGEAR WNDR3700 V1

I set a static IP address and SAVE it but a reboot leaves me back where I started at default address (and with WiFi disabled if I enabled and saved that)

This was a sys update from a OpenWRT TFTP install.
I have not installed any packages.

Edit: I see that it's a Netgear WNDR3700 V1 now.

https://openwrt.org/toh/netgear/wndr3700 -- 8/64 flash/memory

Next time you have it booted, please check

df

to see how much free you have on the overlay partition. The output of

mount

would also be helpful.

1 Like

Let me check the memory

8 MB Flash
64 RAM
from https://wiki.openwrt.org/toh/netgear/wndr3700

This is from LuCi or SSH ??

I know it from ssh access, but I believe some of the information may be present on the LuCI screens, and that there may be a LuCI screen that will let you execute a shell command.

From LuCi
Memory
Total Available
38368 kB / 60664 kB (63%)
Free
36308 kB / 60664 kB (59%)
Buffered
2060 kB / 60664 kB (3%)

This must be Ram, it would be flash that we need to know correct?

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 2304      2304         0 100% /rom
tmpfs                    30332       572     29760   2% /tmp
tmpfs                    30332        56     30276   0% /tmp/root
tmpfs                      512         0       512   0% /dev
/dev/mtdblock5            4160       344      3816   8% /overlay
overlayfs:/overlay        4160       344      3816   8% /

and mount

root@LEDE:~# 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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mtdblock5 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
overlayfs:/overlay 4160 344 3816 8% /
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)

(The </> button will format text like above for easier reading)

Both of those look good to me -- significant free space on the overlay partition and the overlay is mounted rw

It should be able to write the settings successfully.

You should be able to see the changes in /etc/config/* if they're being written. Are you comfortable with ls and the like, or would you like some explicit things to check?

1 Like

Gotcha thanks!
A couple of explicit things would be great. I have used ls in other contexts a bit but text configuration is still a learning experience!


I'd try making some changes in LuCI while logged in via ssh and double checking that the modification dates in /etc/config have changes along with them. From my running system:

jeff@office:~$ date
Fri Jul 13 15:54:15 PDT 2018
jeff@office:~$ ls -ltr /etc/config
-rw-r--r--    1 root     root           736 Oct 17  2017 ucitrack
-rw-------    1 root     root            97 Oct 17  2017 rpcd
-rw-r--r--    1 root     root           134 Oct 17  2017 dropbear
-rw-r--r--    1 root     root             0 Oct 17  2017 ubootenv
-rw-r--r--    1 root     root           742 Oct 17  2017 luci
-rw-r--r--    1 root     root           763 Oct 17  2017 dhcp
-rw-r--r--    1 root     root           151 Mar 31 09:43 fstab
-rw-rw-rw-    1 root     root           613 Apr  7 08:27 uhttpd
-rw-r--r--    1 root     root          1077 Apr  8 11:49 system
-rw-r--r--    1 root     root           692 Apr  8 11:49 firewall
-rw-r--r--    1 root     root          3142 Apr 15 06:51 network
-rw-r--r--    1 root     root          1919 May  4 19:14 wireless

I used date to double check what the system thinks the current time is. I saw you had challenges setting time zone and I don't know if you've got NTP (time sync) running yet.

ls -ltr /etc/config is "list the files in /etc/config in -l long format, -t sorted by time, -r with "reverse" sort.

You can see the ones through dhcp haven't been modified since installed by the date. The others have been modified (or added) on the dates shown.

1 Like

I changed wireless state and got a new size and date on 'wireless' upon reboot I got the original size and the same oct date as the other directories there. It seems to be rebuilding things on reboot.

This router is not on the internet now.
I will investigate more tomorrow thanks.

Something's very strange there. As you haven't made significant changes to your config, I'd suggest a "clean" flash of the "sysupgrade" version either through LuCI or from the command line, whichever you are most comfortable with. I would not save the config across the flash and "start fresh".

I am thinking that will be my next move. Will recheck check sums first.
Thanks again jeff

Well strange thing happened....
I decided that since I was going to redo the flash I would try out a few things w/o fear of trashing what was already not working.
I connected to the internet and d/l the package list and installed usb driver and utility and samba.
Then out of curiosity about whether the packages where actually saved I rebooted and
Wala the settings took!!

Maybe something to learn there to a wiser man but I am just happy its working now. Well the saving part is working .

Samba is not,with a ps I get : 3201 root 2388 S /usr/sbin/smbd **-F** 3202 root 2468 S /usr/sbin/nmbd **-F**
which I believe means samba is not running.
I will have a look around and see if I can find a solution to that, if not I will start another thread.
Thanks again

OK what the heck! seems like THAT does NOT mean samba isn't running.
a direct address in explorer works and has forced the share to be shown, i have mapped it anyway. what does the -F indicate anyway ???
edit >> Answer runs in Foreground!