Archiv der Kategorie: openwrt

Linux distribution for embedded devices.
Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developer, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.


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

we see

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
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
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


Available through pineapple repository from hak5

some missing  packages in normal openwrt