OpenWrt Forum Archive

Topic: De-bricking a WAG54G

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Would someone be able to help me extract the kernel and squashfs from the official linksys image for the WAG54G? I accidentally erased mtd0 and mtd1 (squashfs, kernel) and I need to get the kernel and squashfs from the original image to fix it.

The original image can be downloaded here.

Thank you for any help. smile

There's one large bzip2 image at offset 0xd0 which contains the entire system (os, webpages, etc ...). It's not linux and it's not squashfs.

That is strange, I know for a fact this router is running linux... perhaps that file is for the old version 1, which did not run linux.

I will look for the v2 file.

The discussion might have continued from here.