Re: Linksys WRT54G and the GPL

From: Dave Jones (davej@codemonkey.org.uk)
Date: Sun Jun 08 2003 - 06:54:02 EST


On Sat, Jun 07, 2003 at 10:41:23PM -0400, Andrew Miklas wrote:
> 1. Go to the following URL:
> http://www.linksys.com/download/firmware.asp?fwid=178
>
> 2. Download the "firmware upgrade files":
> ftp://ftp.linksys.com/pub/network/WRT54G_1.02.1_US_code.bin
> (MD5SUM: b54475a81bc18462d3754f96c9c7cc0f)
>
> 3. While it is downloading, confirm that there is nothing on the webpage to
> indicate that this binary contains GPLed software.
>
> 4. Once the download is complete, copy the contents of the file from offset
> 0xC0020 onward into a new file.
> dd if=WRT54G_1.02.1_US_code.bin of=test.dump skip=24577c bs=32c
>
> 5. Notice that this file is an image of a CramFS filesystem.
> Mount it.
>
> 6. Explore the filesystem. You will notice that the system appears to be
> based on Linux 2.4.5.
> Incidentally, there is at least one other GPLed project in the firmware:
> the BusyBox userland component: (http://www.busybox.net/)
>
> 7. The Linux kernel (I think) is mixed up with a bunch of other stuff in:
> bin/boot.bin

Curiously, the Belkin products (http://networking.belkin.com) also seem
to be based upon the same source. Looks like they could just be
rebranded firmware images with some features disabled.

Additionally, strings(1) output of firmware image may be interesting
to users of their 54g WAPs. Seems it has a lot more html pages inside
than what is documented. The 'low-end' version I bought doesn't mention
anything about firewall, dhcp, dns configuration, or parental controls,
however it's all in there if you know the right URLs. Fun.

                Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:18 EST