OpenWrt Forum Archive

Topic: How to I extract a bin file ?

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

IIRC, there is something like unsquashfs...

Thanks!
But:
trying:
unsquashfs openwrt-wrt54g-squashfs.bin
gave:
Can't find a SQUASHFS superblock on openwrt-wrt54g-squashfs.bin

any ideas?
Mark

the .bin file you refer to does not require a bin extraction. Be aware that Winrar may try to associate itself with certain files with extension .tar, .bin, .uni, .trx and imply that they are compressed files but they are not compressed and should be extracted.

The trunk files are ready to flash in the format required by your router but may also require additional Luci files to added in telnet via Command Prompt, telnet 192.168.1.1 (Internet connection required for the following), then opkg update to update package list and then opkg install missing or optional packages.

Here's a list of Luci packages required by my router:

luci-admin-core
luci-admin-full
Luci-fastindex
luci-app-firewall (optional but needed for configuration)
luci-app-qos (optional but may need for prioritising WAN traffic)
luci-cbi
luci-core
luci-http
luci-i18n-english
luci-ipkg
luci-lmo
luci-lucid
luci-nixio
luci-px5g
luci-sgi-cgi
luci-sys
luci-theme-base
luci-theme-openwrt
luci-uci
luci-uvl
luci-web

BTW, telnet works much faster for installing packages and if there's concern for space when loading options, you can use the --noaction command at end of opkg install package to check for fit. If it will fit then you can install it. If not, check fit for another package option.

Update: I now realize the duality of the question; the post below may be the answer you're seeking. I would delete the post but on the odd chance that someone finds it useful, I'll leave it to to humor the rest of you. Sorry, I assumed the question was an easy one.

(Last edited by armchair on 9 Feb 2010, 06:29)

markryde wrote:

Thanks!
But:
trying:
unsquashfs openwrt-wrt54g-squashfs.bin
gave:
Can't find a SQUASHFS superblock on openwrt-wrt54g-squashfs.bin

any ideas?
Mark

http://www.bitsum.com/firmware_mod_kit.htm

The discussion might have continued from here.