Page 1 of 1

Reverting back to Tomato

Posted: Sun Feb 14, 2016 8:22 am
by ultraSsak
Hello,
Recently i was trying different firmware's on my Linksys wrt54gl.
I had DD-WRT/Tomato/Gargoyle on it (in that order).
Gargoyle doesn't work for me as i would like (very slow on this router) so i want to revert back to Tomato.

The problem is - that i cannot flash back - i use the Web interface to upgrade firmware, pick Tomato.trx and ... after router restarts im still back with Gargoyle.

Is there a way to Flash it more "manualy" like using ssh?

Re: Reverting back to Tomato

Posted: Sun Feb 14, 2016 8:40 am
by tapper
Rename the file to .bin

Re: Reverting back to Tomato

Posted: Sun Feb 14, 2016 8:52 am
by ultraSsak
I tried *.bin and *.trx files, both dont work.
I found this solution :
viewtopic.php?f=6&t=646

But when i try to upload the file by SCP router hangs and i loose connection near the finish of uploading file.

Edit:
Maybe its end of space on device?
I can upload small files without problem
But then again it says if there is not enought space..
http://s28.postimg.org/bkhjkdv7h/router.png

So, is there anything i can remove to make space?
All i need is to preserve SSH connections, and tools to flash,
/rom/ is 8mb...

Which folder contains all the files for "backup", the thing that restores all the orginal files when we hold Reset button?

Re: Reverting back to Tomato

Posted: Sun Feb 14, 2016 3:40 pm
by Lantis
Shut down processes to free memory.

Default everything is stored in /rom

Re: Reverting back to Tomato

Posted: Sun Feb 14, 2016 6:00 pm
by ultraSsak
I thought so that this might be the one ;)
I see its SquashFS, after quick research i cant find a way to get rid of it...

How to remove it?
Or is there anything else i can remove?
I already removed whole /www folder, but still.

EDIT:
after shutting down processes i managed to copy the image file to /tmp
But

Code: Select all

mtd write tomato.trx
doesn't do anything (like wrong usage of command)

What should i put as the <device> parameter?
I see i have :

Code: Select all

cat /proc/mtd
"cfe"
"linux"
"rootfs"
"rootfs_data"
"nvram"
Last Edit :
Found the answer to my last question (about device) here :
http://www.techrapid.co.uk/openwrt/guid ... -firmware/

Code: Select all

mtd write tomato.trx linux
Got Tomato working.
Thanks for helping (im linux newbie, didnt know processes take "normal" memory)

Re: Reverting back to Tomato

Posted: Sun Feb 14, 2016 7:13 pm
by Lantis
No worries mate glad you're sorted :)