Hello guys.
I appreciate the contribution of any member of this community.
The NVRAM issue persists.
I've got to some frustration level trying to fix this issue.
Two ways appear on this thread.
1. YazDHCP solution is recommended.
2. The script provided by
@RMerlin.
Results.
1. YazDHCP is no more efficient. I see in the log something consolidating nvram but no improvement is observed I have average 15bytes free.!!!!
As a result, all my 3 portfw rules were deleted and there is no solution to add (no save button).
How did that happen?
I updated the FW from 386.7_2 to 368.10 late in the evening.
Next day in the morning, the Asus router app reported the router has been reset to default.
Checked back, it was not reset to default, anyway the AImesh nodes (3xLyraAC2200) were gone.
I sad, "anyway I wanted to modify the AImesh configuration for not working properly".
(the story behind)
============
How dit this look? Wi-fi clients were disconnected after some time and no more connecting back.
Mainly there were sonoffs with Tasmota which got kicked out after some time and no more connects until the router restart.
I solved previously this issue by increasing DHCP lease to max permit, 7 days and scheduled a router reboot every wednesday on 4AM.
It worked.
I assigned static IP to all sonoffs, shelly, solarassistant, air conditioning, HomeAssistant and any other smart thing in the house (about 30 entries).
This was done by MAC-IP binding from the router interface
==============
(back in present)
so I configured manually the three AP Lyra (IP static, fixed gateway/DNS/netmask), set up for each one the ssid/pass/channel/guest, different ssids for 2.4/5GHz
I understood this MAC-IP reservations are saved in the NVRAM.
If YazDHCP took this role, would these reservations still eating NVRAM space?
I deleted 4 entries and I have seen YazDHCP deleted them from ".staticlist", after reboot the NVRAM usage is the same.
What does really do YazDHCP?
Would be better to write the IP reservations directly on dnsmasq.conf.add?
2. Regarding the script posted.
How do I run this script? I created a file named "whatever", copied on jffs/scripts/ by mc (yes Midnight Commander), and I know the question looks silly.
Please do not send me to the tutorial wiki because it does not explain how to run the script but the role of each file/script there in the directory.
A lot of us are windows users not linux CLI skilled ones. We encounter CLI only when we need to fix something that is not working as expected. For me, every time when I have to write some commands on linux, I need to perform a search on few websites to learn how to do it and what to write (despite the fact that I am somehow familiar with DOS commands on cmd and putty ssh)
So ... a simple guide how to run a script would be very helpful.
The solution to reset everything to default and start from 0 is not a go.
Many of us have some "mandatory" things on the configuration and finally ends up with NVRAM full.
I have over 30 devices with names saved and setting up again takes some time.