Slashdot Mirror


Is Linksys Violating The GPL?

jap writes "According to this post on LKML, Linksys is shipping firmware for (at least their) 802.11g access-points based on Linux - without any sourcecode available or mentioning of it on their site. This could be interesting: it might provide the possibility of building an ueber-cool accesspoint firmware with IPsec and native ipv6 support etc etc, using this information!"

37 of 524 comments (clear)

  1. Cisco IOS ? by berkeleyjunk · · Score: 5, Funny

    If you push too hard for publishing source code, this box will be running Cisco IOS soon, slowing down the box 4 fold.

    1. Re:Cisco IOS ? by prizog · · Score: 5, Interesting

      Hi. I work for the FSF investigating GPL violations (and yes, we are also working on this Linksys thing). Can you tell me more about this Cisco issue? Is there any software FSF holds copyright on (the gnu c library, bash, gnu tar, gzip ...)? Does the unit come with an offer to provide source code?

    2. Re:Cisco IOS ? by prizog · · Score: 4, Interesting

      Er, you can mail me at novalis atsign fsf.org if you have any information.

    3. Re:Cisco IOS ? by prizog · · Score: 4, Informative

      Usually, we don't do much investigation -- we rely on reports from users of the products. We never agree to EULAs, technical NDAs, etc. as a matter of principle. And usually, there's no disassembly involved -- simply grepping for a copyright notice is enough. Most violations are inadvertant -- they're still serious, but there's usually no attempt to hide what software is used.

    4. Re:Cisco IOS ? by ZorroIII · · Score: 5, Informative
      In the release notes for the software on the NM-CE card they say:
      GNU General Public License Modules Cisco Cache software, Release 3.0.2 incorporates software licensed under the GNU General Public License. If you would like the source code for any of the modified GPL code in Cisco Cache software, Release 3.0.2, send a request to ce-sw-req@cisco.com
      I sent them a mail some time ago asking for the source of GPL programs, but still havent received an answer. The card is rather interesting, one day I'll try to modify the OS to something that can be used for other stuff aswell.
  2. I'm not sure by CAIMLAS · · Score: 4, Insightful

    I'm not sure whether this is just as damaging to Open Source as the SCO thing had the potential of being, or not. On one hand, it might deter use of linux at all, and on the other it'll just be a general 'bad business practice to use linux in our commericial products' type stigma.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    1. Re:I'm not sure by Alain+Williams · · Score: 5, Funny

      Not at all -- it just gives SCO another company to sue!

  3. Man... by rindeee · · Score: 4, Insightful

    ...think of the number of APs they'd sell based on this fact alone. They obviously should abide by the GPL, but they should also shout it from the hilltops that their AP is Linux based and therefore a hackers delight (and the FCC's nightmare).

    ER

    1. Re:Man... by Fluffy+the+Cat · · Score: 4, Insightful

      That's fine. If it's impossible for Linksys to release the source, they just have to stop distributing the code (and suffer potential lawsuits about copyright infringement and the like from anyone who holds the copyright on various parts of the kernel). If the GPL doesn't apply, plain copyright law does.

  4. Better drivers? by CodeMaster · · Score: 4, Interesting

    They have been using Linux for a long time on their routers/AP's.
    Anyone who have one must have noticed it.

    The one thing to say to their defence is that they are usually "driver friendly" with their PCMCIA WiFi cards.

    I just hope that now they will wake up, straighten up the mess, and start helping the community with supporting 802.11g in Linux for their NIC's.

  5. Re:GPL by psychosis · · Score: 5, Informative
  6. In case gets /.ed by Anonymous Coward · · Score: 5, Informative

    Hi,

    Sorry for the very lengthly posting, but I want to be as precise as possible in describing this problem.

    Awhile ago, I mentioned that the Linksys WRT54G wireless access point used several GPL projects in its firmware, but did not seem to have any of the
    source available, or acknowledge the use of the GPLed software. Four weeks ago, I spoke with an employee at Linksys who confirmed that the system did use Linux, and also mentioned that he would work with his management to ensure that the source was released. Unfortunately, my e-mails to this
    individual over the past three weeks have gone unanswered. Of course, I also tried contacting Linksys through their common public e-mail accounts (, ) to no avail.

    However, it is hard for me to know if my contact in the company has just gone on a three week vacation (and not set an auto-responder), or has been asked to not answer anymore mail on this subject. Also, I should note that I don't own this product, so I can't determine if the source is shipped with it.

    However, I have gone through all the available information on the Linksys website, and can find no reference to the GPL, Linux (as it relates to this product), or the firmware source code. Also, the firmware binary (see below) is freely available from their website. There is no link from the download page to the source, or any mention of Linux or the GPL. Finally, it would be
    strange if the source was included in the physical package, as my contact at Linksys was initially unaware Linux was used in this product.

    The following steps can be used to determine the exact nature of the possible GPL violation.

    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

    You might want to know why I am interested in getting the code for the kernel used in this device.

    There's been some discussion here about Linux's lack of wireless support for a few of the newer 802.11b and (nearly?) all 802.11g chips. Incidentally, Linux has excellent support for at least one manufacturer's wireless family.
    The following Broadcom chips all appear to be supported under Linux -- if you happen to be running Linux on a MIPS processor in a Linksys router:

    Broadcom BCM4301 Wireless 802.11b Controller
    Broadcom BCM4307 Wireless 802.11b Controller
    Broadcom BCM4309 Wireless 802.11a Controller
    Broadcom BCM4309 Wireless 802.11b Controller
    Broadcom BCM4309 Wireless 802.11 Multiband Controller
    Broadcom BCM4310 Wireless 802.11b Controller
    Broadcom BCM4306 Wireless 802.11b/g Controller
    Broadcom BCM4306 Wireless 802.11a Controller
    Broadcom BCM4306 Wireless 802.11 Multiband Controller

    This list was produced by running strings on:
    lib/modules/2.4.5/kernel/drivers/net/wl/wl.o

    I am trying to determine exactly how tightly coupled these drivers are to the kernel.

    As an aside, I know that some wireless companies have been hesitant of releasing open source drivers because they are worried their radios might be pushed out of spec. However, if the drivers are alre

    1. Re:In case gets /.ed by MickLinux · · Score: 4, Interesting

      I see your point. However, if I had to guess, the silent treatment is while management tries to figure out what to do.

      I could imagine quite possibly that they've signed some NDAs that won't allow them to release all their source code. Then this GPL stuff means that they have to release all their source code -- or so it seems.

      So now they've got to figure out what to do, and while they're figuring, it's legally safer to say nothing to anyone.

      Probably their best way out is either get the NDAs released [unlikely], or find out the individual authors of their modules, and work out individual licensing agreements [difficult, but possible] that keep it outside the GPL. At that point, though, you won't have your information.

      That said, I have to think about SCO, and think that one shouldn't take a "All your codebase are belong to us" approach. My feeling is that trying to knock others out to get what you want, is kindof evil. And that goes in both directions.

      So I think persistance is key, here, but if they made a mistake, (1) don't gloat -- rather, be meek (2) still be persistent, and try to get FSF's help pursuing this (3) hopefully get the FSF to offer them help in finding for themselves a legally sound position.

      P.S. Good hacking job [and yes, that's hacking not cracking, though I hope that they don't just decide 'hit him with the DMCA -- he's too small to fight it.' Ugh. This DMCA gives all the power to big criminals, it seems to me, and takes power away from little law abiders.

      --
      Correct Horse Battery Staple: 72 bits of entropy. Enter "Correct H" into google. When it generates the phrase, that's
    2. Re:In case gets /.ed by 73939133 · · Score: 4, Interesting

      Probably their best way out is either get the NDAs released [unlikely], or find out the individual authors of their modules, and work out individual licensing agreements [difficult, but possible] that keep it outside the GPL.

      It's too late for that: whether they do or do not release the source code at this point, they have already lost their right to release the binary. And their GPL violation is not that they haven't put up the source code for FTP somewhere, the GPL violation is that they didn't identify the product as using GPL'ed code in the first place, accompanied by an offer to make the source code available.

      That said, I have to think about SCO, and think that one shouldn't take a "All your codebase are belong to us" approach. My feeling is that trying to knock others out to get what you want, is kindof evil. And that goes in both directions.

      If someone has violated SCO's copyright in the way they claim, they should be punished severely: copyright violations like those claimed by SCO threaten not only companies, they threaten the very existence of open source software. (However, I believe that SCO's claims are bogus, so I don't see much danger of that happening.)

      Likewise, if Linksys has violated the terms of the GPL, they should be punished severely. Linksys's behavior, shipping GPL'ed code without identifying it as such, is a fundamental violation of the GPL, and if the only consequence is that companies have their wrists slapped when found out (and it has taken years to find this out about Linksys), it undermines the whole idea of the GPL.

  7. Requirements by TWX · · Score: 5, Informative

    If they're not rewriting the source code, using it in a form that they themselves obtained it in (pre-compiling), they might not have to provide source if they disclose their source location. Also, if they were smart enough to create independent kernel modules for the rest of the device, they wouldn't have to release those anyway.

    It would be nice if they included at least a copy of the GPL and a linux installation CD in the back of their manual though, since that would be a way of distributing the code, if not more than the code, and would probably make them in compliance.

    Hell, TurboLinux install CDs came with hardware that Linux couldn't even use, for a while...

    --
    Do not look into laser with remaining eye.
  8. More From the Kernel List by OctaneZ · · Score: 5, Interesting

    A couple follow ups on the kernel mailing list:

    A very interesting bit from the busybox maintainer, who has evidently already sent linksys two letters

    A post outlinging the possibility that Belkin is also shipping GPL'd code

    A few other people are throwing their two cents in, but those were the most interesting, code be an interesting test of corporate policey, and the ability of the GPL to withstand a court battle.

  9. Alternate browser support by kien · · Score: 4, Funny
    I sent an email asking Linksys why IE was required to use their web-based admin tool for my BEFSR41.

    Here's their reply:
    Again, thank you for contacting Linksys Customer Support. Unfortunately, we do not have an advice yet when will Linksys support other operating systems. Rest assure that your message will reach the right department. If you have further questions, please contact us at (800) 326-7114 or send us an email at support@linksys.com so that we may further assist you. Please use this phone number given as reference for future support calls. Thank you and have a nice day.


    --K.
    --
    Sig: Bad people happen. Try to avoid being one of them.
  10. Only if they changed something... by pla · · Score: 5, Insightful

    Why does everyone always assume that any embedded device running Linux must have, in some way, violated the GPL?

    I worked eight years as a firmware engineer. In the last three, I dealt almost exclusively with Linux.

    And I can assure you that we didn't need to change any GPL'd code to get what we wanted. Even on fairly custom hardware, we could find preexisting GPL'd code to do 99% of what we needed (and wrote user-space drivers where possible, and modules where not). No need to release anything if you don't change anything, to comply with the GPL.

    Whether ethical or not, plenty of legal ways of circumventing the intent of the GPL exist. And, like it or not, eliminating those loopholes (which would basically require forcing any program that runs under linux to use the GPL) would kill Linux in the business world.

    1. Re:Only if they changed something... by runderwo · · Score: 4, Interesting
      No need to release anything if you don't change anything, to comply with the GPL.
      Erm, take a look at Section 3 of the GPL -- it quite clearly states that if the program is redistributed in binary form, it must be accompanied by the source code or a written offer for the source code.

      You may be thinking of the LGPL instead, which relaxes redistribution requirements.

  11. Re:Does it matter ? by blackcat++ · · Score: 5, Insightful

    The GPL has no real valid legal meaning until it has been tested in a court of law. I think the fact that no GPL violation case has ever made it into a courtroom speaks volumes!

    Yes it does. It means that until now noone has had the guts to risk a legal confrontation to free themselves from the requirements the GPL imposes.

    And even if the GPL has no valid legal meaning, what remains? Standard copyright law. So without the GPL you don't even have the right to download the source, let alone modify and republish it!

  12. It might be available by FattMattP · · Score: 4, Informative

    The source might be available but only mentioned in the documentation. He states in his message that he doesn't own one of these units so he doesn't have access to all the information that an owner of the unit would. The GPL doesn't require that the source be distributed with the binaries only that it be available. That doesn't mean downloadable. It's possible that people who have purchased the unit have instructions contained within on how to download or order a CD with the source code.

    --
    Prevent email address forgery. Publish SPF records for y
  13. Re:GPL by PhuCknuT · · Score: 5, Informative

    And I'm sure you know this, but they are not required to release all of their source code, only the code for gpl parts of tivo. Just because the OS is linux doesn't mean they have to release code for everything running on it.

  14. Would source be interesting? by harlows_monkeys · · Score: 4, Insightful
    It looks like what people want is the driver source, so that certain wireless chips can be supported under Linux.

    If Linksys did things right, however, those drivers will be compiled as modules, which they don't have to release source for (well...unless they started from GPL'ed driver source, of course).

    Aside from the drivers, everything else interesting should be implemented as applications, which can be closed source on Linux.

    So, don't get too excited: becoming fully GPL-compliant might consist of them simply putting up source for a stock kernel, and putting something about the GPL in their documentation.

  15. Obligatory "not a GPL violation" post. by mindstrm · · Score: 5, Interesting

    Two points. I always have two points.

    First, as someone else already said, just becuase it uses a linux kernel doesn't mean they modified anything, it could be a stock kernel. If they wrote userspace drivers and/or kernel modules using existing interfaces for their custom hardware, they are not obligated to release anything.

    Secondly, if they weren't abiding by terms they had to according to the GPL, it would be COPYRIGHT violation, not license violation, as if you don't comply with the license, copyright law says they can't redistribute it. I know it seems like a silly point, but it's not.

    People talk about the GPL being "tested in court" and whatnot.. but the fact is: If you don't accept the GPL as valid, then copyright law still stands, and says you can't redistribute, or make derivitive works. A judge can rule the GPL as invalid, but that would mean that nobody had any rights to redistribute anything.

    It's not a license you had to accept and agree to in order to use the product.. so you can't "violate" it.

    Linus, or any other kernel developer could go to linksys, and say "I have not granted you permission to use my copyrighted work, please demonstrate why you think you are allowed to do this". They can then either cite how the GPL allows them to do what they do, or concede that they have no right to distribute.

    So as unclear as I can be.. it's not a GPL violation... and people are not forced to release code because of a nonexistant GPL violation... although that might be an acceptable remedy to all parties in most cases. They could also be forced to simply stop doing it.

  16. Re:How did this work for the Tivo? by dsgrntlxmply · · Score: 4, Informative
    Tivo have made source code available since approximately day one of their product.

    Even before they had an FTP site, they would ship promptly and for a very reasonable fee, source on CD-R.

    The real guts of the product, including all substantial video-related drivers, are in loadable modules. The kernel and provided source have just enough hardware-specific code to calm the hardware down enough to allow the kernel to get started.

    As far as I can tell, Tivo have done everything they need to under GPL.

    [Disclosure of interests: I own a small amount of Tivo stock. When I ordered the source code way back when, they included a nice Tivo hat along with the CD.]

  17. Re:Does it matter ? by jonabbey · · Score: 4, Informative

    That's silly, and wrong. The GPL is an affirmative grant of rights, providing you comply with its terms. If you don't want to comply with its terms, no problem, you just don't have any rights to copy someone else's stuff. That prohibition on copying someone else's stuff isn't a consequence of the GPL, it's a consequence of copyright law in this country.

    The only way for the GPL to lose all effectiveness in the way that you imply would be if a court someplace were to rule that the GPL's terms were ridiculously onerous, and that by handing it out to everyone for public download without requiring a click-through license, the stuff had effectively been placed in the public domain.

    This is about as likely as a court someplace declaring that Microsoft's software was licensed with unduly onerous terms, and that their stuff was therefore public domain as well.

    I.e., not likely at all. I don't think copyright is like trademark law, where if you don't take steps to protect your mark, you can lose it.

    IANAL, but the guy who drafted the GPL is.

  18. Agreed. by mindstrm · · Score: 5, Informative

    However, the GPL still requires that they provide source, even if they have not modified it. If you redistribute, you must provide source, or at least a written offer for the source.

    You can (section c) simply pass along the written offer YOU received, if you are simply redistributing, and not modifying, but only if it's NON-COMMERCIAL, and only if you yourself received the written offer. IF they are using stock linux kernels, there is no written offer, so .. they are obligated to provide a copy of the source (sans their changes, if they are not within the scope of the gpl)

    3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

    * a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

    * b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

    * c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)

  19. Cool. by mindstrm · · Score: 5, Insightful

    But his assumption about how kernel modules work is completely wrong.. though the INTENT might be something like he describes, it's not what Linus said.

    The Linux kernel license says you can code proprietary modules, as long as the interface is part of the stock kernel (in other words, GPL)

    So you can make a proprietary network driver, as long you don't haev to modify the main kernel to get it to work; you are under no obligation to release that source at all. If you have some way of hacking an entire realtime OS to look like a network drive to the kernel, that would comply.

    So, linksys should be redistributing the linux sources, however, if their custom work is confined to modules & userland code, they are under no obligation to release the source to those drives. And as linux already has a kernel interface for network & wireless network, there is no reason to expect them to release that code.

  20. you think that's bad? by Trailer+Trash · · Score: 5, Funny

    Not only are they in violation of the GPL, they are literally costing SCO BILLIONS OF DOLLARS by violating SCO's copyrights, patents, or some contract with IBM by releasing a Linux based product! Quick, someone alert McBride!

  21. Belkin 54g WAP/Router by Anonymous Coward · · Score: 5, Informative

    Just been hacking around a Belkin 54k WAP/Router box I bought a few weeks back. NMap identifies it as Linux 2.4.0-2.4.5.

    The Belkin Networking downloads page gives an updated firmware for this. Sure enough, at offset 790393 there's a CRAM Filesystem. Mounting that shows a stock 2.4.5 kernel with three custom modules (one for the wireless card, one for the ethernet card, one for the front panel LEDs). These three modules aside it looks like non-modified GPL stuff.

    However, reading any of the binary files shows the string : "GCC: (GNU) 3.0 20010422 (prerelease) with bcm4710a0 modifications" - Modifications you say? Oh dear, I don't remember seeing a Broadcom patch submitted to GCC ...

    1. Re:Belkin 54g WAP/Router by Sancho · · Score: 4, Informative

      For the GCC modification, they don't have to release the code if they don't distribute it.

  22. Re:GPL by Cramer · · Score: 4, Informative

    To be accurate, TiVo has not (and never will) released the source to the non-GPL'd stuff that makes the Tivo what it is... the kernel modules and "tivoapp". The source to all the GPL components and the entire linux kernel running on the tivo are available.

  23. and what would that acomplish? by frovingslosh · · Score: 4, Insightful

    If the code on the Lynksys needs to be released under the terms of the Linux license, then replacing that code with Cisco code in future releases would not change their obligation to release the code for a current product. Rather, it would be an admission that they did indeed have an obligation to release the current code, an would leave them with an inferior produvct while not removing that obligation to release the source for the good code.

    --
    I'm an American. I love this country and the freedoms that we used to have.
  24. BusyBox GPL violation by andersen · · Score: 5, Interesting

    <BusyBox maintainer hat on>

    This is what I did to verify that the Linksys firmware was violating the GPL....

    #!/bin/sh
    wget ftp://ftp.linksys.com/pub/network/WRT54G_1.02.1_US _code.bin
    # I noticed a GZIP signature for a file name "piggy" at offset
    # 60 bytes from the start, suggesting we have a compressed Linux
    # kernel
    dd if=WRT54G_1.02.1_US_code.bin bs=60 skip=1 | zcat > kernel

    # Noticed there was a cramfs magic signature at offset 786464
    dd if=WRT54G_1.02.1_US_code.bin of=cramfs.image bs=786464 skip=1
    file cramfs.image

    sudo mount -o loop,ro -t cramfs ./cramfs.image /mnt
    ls -la /mnt/bin
    file /mnt/bin/busybox
    strings /mnt/bin/busybox | grep BusyBox
    /usr/i386-linux-uclibc/bin/i386-uclibc-ld d /mnt/bin/busybox

    --
    -Erik -- --This message was written using 73% post-consumer electrons--
  25. Comment removed by account_deleted · · Score: 4, Interesting

    Comment removed based on user account deletion

  26. Linksys NAS device also rips off linux by UncleSocks · · Score: 4, Informative

    Hi,

    A few months ago I was poking around their "network file server in a box" - I forget the model number, but it is shoebox sized and purple.

    I can say for a fact that they used Linux and a number of other GPL bits in this box. I almost sounded the alarm, but I was way too busy with other things.

    What I found:
    1) Open case
    2) Remove small compact flash card that contains the software for this product
    3) Install compact flash card into my notebook
    4) Use cfdisk, notice that there are three ext2 filesystems
    5) Mount ext2 filesystem
    6) See that they are using a 2.4.x kernel
    7) See that they are using GPL print spooling software (I forget which)
    8) Try to find _any_ notice about the GPL in the docs or via the debug serial port _NO NOTICE_.
    9) Visit linksys website to find GPL required sources, not there.

    If anyone wants more details please message me off list.

  27. Re:frankly, this seems stupid by Fnkmaster · · Score: 5, Insightful
    Because it allows the community to get any of their changes back into the mainline codebase. If there are no changes, then they should be willing to provide the source. If that's the real source, it should be demonstrably equivalent to the binaries on the box. If it's not, then they are probably not releasing their real codebase.


    Think of this as a check on honesty of GPL adherents. If you don't make the offer or even admit that there is GPLed code in your product, you are probably doing it for a reason (i.e. you are hiding something). If they really aren't hiding anything, and it was a simple oversight, then why don't they reply to emails about it and just point out that no modifications were made, and stick a source mirror up on their FTP site? The cost is practically nil to them to adhere to the license, assuming they are playing by the rules, so what's the big deal?