Genuine ASUS RT-AC68U (NOT the T-Mobile one) running Merline 396.3.2
Running AMTM with Diversion, Skynet, Scribe, Unbound Manager, NSRUM, scMerlin, uiDivStats, uiScribe, Entware packages, Disk Check Script, Reboot Scheduler
I currently have 39 DHCP reservations:
3 Switches
2 Wired APs
7 MOCA Devices
3 Printers
8 Cameras
1 VOIP Phone
10 VM Host, NAS, two Pi-Holes, Web Server and other VMs
4 My personal devices like Desktop, Laptop, Tablet, Cell Phone also have reservations because access to my Router, VM Host, NAS are restricted to those specific IPs.
The TVs were starting to buffer at night (no other traffic but them).
Check my router but it was becoming very unresponsive in the web interface and SMB does not work from the router (only allows router admin access despite users being set up and me even manually editing my smb.conf file)
So, I did a 30-30-30 reset my router and configured everything from scratch.
(Note: I did not include my OpenVPN stuff *yet* until this testing was complete.)
After all this, I checked and I was still running very low on NVRAM.
So, I backup up my NVRAM, router config and jffs. Then I tried this script and it worked:
#!/bin/sh
logger -t "started - /jffs/scripts/$0"
sleep 1m
for line in `nvram show | grep ^[^=]*=$ `; do var=${line%*=}; nvram unset $var; done; nvram commit
Below is what I am showing now:
size: 54681 bytes (10855 left)
2813 custom_clientlist
1327 dhcp_staticlist
1134 dhcp_hostnames
931 nc_setting_conf
549 rc_support
347 dnsfilter_rulelist
295 vts_rulelist
251 asus_device_list
175 acc_list
164 subnet_rulelist
142 cfg_device_list
131 wl1_chansps
120 qos_rulelist
112 vlan_rulelist
109 restrict_rulelist
92 1
a5ga2
92 1
a5ga1
92 1
a5ga0
89 vpn_server2_ncp_ciphers
89 vpn_server1_ncp_ciphers
Can I just put the above script commands in my post-mount script or do I need to move it to another startup script? If so, then what.
BTW, the Pi-Holes were recently put up and the router definitely seems more responsive..
Hope this gives you enough information.
Should I move all my DHCP to dnsmasq.conf.add ?
Is the RT-AC68U just NVRAM Starved and near EOL ?
I cannot remove any of the equipment mentioned above but am working on getting rid of three NAS's.
Of course, any suggestions would be helpful.