Extractin the OpenWRT bin file

Sometimes, you can find that the firmware you tried flashing doesn't correspond to the actual one on the MeshExtender. This procedure will show you how to analyze de bin file you are trying to flash which may help you understand where the error occured. Whether it was during the openwrt build or the MeshExtender flashing. This procedure is made for a flashing using TFTP server, thus if you have another way to flash your MeshExtender, adapt this procedure.

Requirements

In order to properly extract the bin file, you will need binwalk. Before downloading binwalk, follow this tutorial to install the dependencies :

Install binwalk dependencies

Then you can get binwalk :

wget https://github.com/devttys0/binwalk/archive/master.zip
unzip master.zip
(cd binwalk-master && sudo python setup.py uninstall && sudo python setup.py install)

Using binwalk

Now you can extract the bin file using :

binwalk -Me path_to_file/openwrt-domino.bin

To access the files in the firmware :

cd _openwrt-domino.bin.extracted/_40.extracted/_35D034.extracted/cpio-root

For more information about binwalk


Login