On Sat, Oct 24, 2009 at 09:07:28AM -0400 or thereabouts, Brian J. Murrell wrote:
> I'm about to upgrade my (asus wl-500gp) router but I don't know which of
> the many .trx files I have built in the past year is actually the one
> currently existing on it, should I need to back-out of the upgrade for
> whatever reason.
> 
> How can I save the image that's on an existing router so that I can
> flash it back using the normal .trx flashing (i.e. mdt write)
> techniques?

I grabbed this from somewhere on the OpenWRT wiki:

ssh r...@host -C 'mount -o remount,ro /dev/mtdblock/4 /jffs ; \
dd if=/dev/mtdblock/1 ; mount -o remount,rw /dev/mtdblock/4 /jffs' > \
wrt-linux.trx

It works very well.

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to