linksys ea6200

lets download the original fw from linksys
binwalk  FW_EA6200_1.1.41.164830_prod.img
i renamed it to ea6200_direct.img
lets binwalk a lil bit

http://www.devttys0.com/tag/binwalk/

we see

DECIMAL       HEXADECIMAL     DESCRIPTION
——————————————————————————–
0             0x0             TRX firmware header, little endian, header size: 28 bytes, image size: 14577664 bytes, CRC32: 0xF1AEBE86 flags: 0x0, version: 1
28            0x1C            LZMA compressed data, properties: 0x5D, dictionary size: 65536 bytes, uncompressed size: 4867904 bytes
1990256       0x1E5E70        Squashfs filesystem, little endian, version 4.0, compression:lzma (non-standard type definition), size: 12585799 bytes,  2986 inodes, blocksize: 131072 bytes, created: Mon Dec 22 10:14:57 2014

lets cut the trx header out
cli:
dd if=ea6200_direct.img of=trx_header.bin bs=1 count=28

we get n file called trx_header.bin
next lets cut the lzma out
cli:
dd if=ea6200_direct.img of=lzma.bin bs=1 skip=28 count=1990256
we get an file called lzma.bin out
so last is the rootfs
dd if=ea6200_direct.img of=squashfs_rootfs.bin bs=1 skip=1990256