Posted: Tue Oct 22, 2024 4:35 Post subject: Delete the \jffs in NVRAM as a second instance to \jfss USB
Router Name
DD-WRT
Router Model
Asus RT-AC5300
Firmware Version
DD-WRT v3.0-r58568 std (10/15/24)
Kernel Version
Linux 4.4.302-rt232-st56 #12481 SMP Tue Oct 15 05:05:13 +07 2024 armv7l
I used administration/factory defaults but the \jffs remained in NVRAM as a second instance to \jfss USB (see below).
On services/services tab
Ticked Use JFFS2 for Client Lease DB
Unticked Use NVRAM for Client Lease DB
Do I need to delete the \jffs in NVRAM (/dev/mtdblock/4) ?
It says the various resets don't clear the NVRAM so perhaps removing it is important. What is the correct method and that command line above seems like it is the way?
nvram set sys_enable_jffs2=0
nvram set sys_clean_jffs2=0
nvram set jffs_mounted=0
nvram commit
reboot
Afterwards you can delete these variables with "nvram unset <variable>".
Thanks for pointing me to this wiki article. I have read this before. However, at my novice level of experience, I don't necessarily realize what its saying and how to apply it. This kind of experience needs guidance from users who know and a chance for me to grow my understanding.
I assume the commands are run in Telnet? Scripting is new to me.
Similar to above, but using a web browser instead of the ASUS Firmware Restoration Tool
Set a static IP of 192.168.1.10 with subnet mask of /24 (255.255.255.0) on the PC you are using to flash the router.
Connect PC to one of the router's LAN ports with an ethernet cable.
Place the router in Rescue Mode using the steps above.
Open a browser and go to http://192.168.1.1
NOTE: It is recommended to click on "Clear NVRAM" / "Restore default NVRAM values" and return to page before proceeding.
Click on "Browse" and select the previously downloaded asus_rt-ac5300-firmware.trx file and click "Upload".
NOTE: Wait a minimum of 3 minutes, up to 10 minutes before proceeding. Do not disconnect from the router or power off the router.
Upon completion of upload, you should return to the page, where you can click "Reboot".
IF not, power cycle router with on/off button.
You should now be able to go to http://192.168.1.1 and be greeted by the password change page of the DD-WRT webUI.
Set username and/or password and configure to your needs.
NOTE: You will need to enter username and password to navigate away from the information page.