Slashdot Mirror


Linksys Releases GPLed Code for WRT54G

petree writes "I stumbled across this on the Linksys website. Linksys has apparently caved to community pressure and released the GPLed source for linux running on their WRT54G. Cool Beans!"

93 of 335 comments (clear)

  1. Nice, but not a ton of info from it. by draziw · · Score: 3, Interesting

    It's nice that you can see the GPL bits running on their box (Hey running a 2.4.5 kernel) - but it doesn't give you drivers, or scripts, etc. :(

    No I don't think they need to provide the other bits, but it sure would be nice to get some 802.11 drivers, etc.

    --
    +1 Karma bonus due to GPL Love & Low User ID.

    1. Re:Nice, but not a ton of info from it. by 1010011010 · · Score: 4, Insightful

      Yes, it would be nice to get the "Secret bits," like drivers, but this is actually better for the community in the long run. Why? Because Linksys will have released the GPL parts publically, without losing control of their "I.P." or the "I.P." of companies providing components for this product (if any).

      "Viral" GPL gobbling "I.P." like pac-man with melanoma? Not really!

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    2. Re:Nice, but not a ton of info from it. by Anonymous Coward · · Score: 5, Insightful

      Agreed. It makes good engineering sense too. By leaving the kernel unmodified, it removes a maintenance headache. Engineers can design their IP to interface with the kernel in the standard way. The kernel then becomes a "black box" and is decoupled from the internals of the company's IP. It allows for a more modular and maintainable design.

    3. Re:Nice, but not a ton of info from it. by Daniel+Phillips · · Score: 4, Insightful

      It's nice that you can see the GPL bits running on their box (Hey running a 2.4.5 kernel) - but it doesn't give you drivers, or scripts, etc.

      The original flash image was decoded (by Andrew Miklas) as a cramfs filesystem. We have *all* the components available in binary form. Unless there is crytographic checking in the bootloader (i.e. a signed flash image) we're all set to go make our own images complete with Linksys's proprietary binaries and our hacked/improved GPL binaries.

      To my knowledge, nobody has done this yet. I hope that doesn't last long. These units will make lovely general-purpose embedded machines if we can put our own code in them. We'd have to rely on Linksys binaries for some of the hardware, but personally I have no ideological problem with that. What I want is to be able to fix some bugs of the bugs and interface stupidities in the darn thing, and to add some of my own functionality, such as being able to ssh into it. Of course, I'd like it even more if Linksys released the full hardware specs, but hey. It's a start.

      Now, I see the kind of hacking I described above, and which I fully intend to get involved in, as nothing but good for Linksys. If it turns out we can reflash the unit as it appears we can, I for one will be in the market for a few more of these.

      --
      Have you got your LWN subscription yet?
    4. Re:Nice, but not a ton of info from it. by Christopher+Thomas · · Score: 4, Insightful

      And this is exactly why companies should stay the hell away from Linux - the pirate mentality that goes with it.

      This is using Linksys software on the Linksys hardware that it was provided with. How is it copyright violation?

    5. Re:Nice, but not a ton of info from it. by BJH · · Score: 2, Interesting

      Since it's not likely that Linksys have added 14MB worth of changes to the kernel, I'd say you've done something wrong.

    6. Re:Nice, but not a ton of info from it. by kasperd · · Score: 2, Interesting

      How is it copyright violation?

      I don't think it could possibly be a copyright violation. Linksys more or less have to allow it, otherwise I think they could be in violation with the GPL on the kernel and some of the other stuff they are using.

      --

      Do you care about the security of your wireless mouse?
    7. Re:Nice, but not a ton of info from it. by Anonymous Coward · · Score: 2, Interesting

      Okay, but without drivers for that wireless hardware (which is closed and proprietary), you've got yourself a nice little doorstop to hack at your own will...

      Seriously. What good is a WIRELESS ROUTER without WIRELESS SUPPORT. That's why we shouldn't particularly care about hacking most of this thing. Now, if you can hack it to be better at what it currently does, then more power to you... Since the source of the non-closed parts were already available, I don't see that as much of a problem.

      Does this product support IPV6, for example? If not, it would be interesting to just do a couple recompiles and see if we can make it do so.

    8. Re:Nice, but not a ton of info from it. by jjackson · · Score: 5, Insightful

      RIGHT... because nobody ever hacks, cracks, or pirates stuff on Windows. Never mind the fact that the most widely pirated piece of software in existance is Windows itself.

      Provided you are modifying the unit for your own purposes and not redistributing the Liksys binary code, how exactly does this qualify as pirating?

      Personally, I run my business on Linux and have implemented it in several companies where the Linux system itself was replacing a pirated copy of Linux.

      I can only assume you are trolling here...

    9. Re:Nice, but not a ton of info from it. by oohp · · Score: 5, Insightful

      Pirate mentality? If I buy a car I could disassemble it and change some components, right? How is this pirating?

      They should've used NetBSD if they don't like the GPL and releasing the source.

    10. Re:Nice, but not a ton of info from it. by kasperd · · Score: 2, Informative

      Since it's not likely that Linksys have added 14MB worth of changes to the kernel, I'd say you've done something wrong.

      There is nothing wrong with the test he performed. I tried the same and got a 14.3MB patch. But though there is this amount of changes, I don't believe Linksys wrote it all. In particular I noticed a lot of XFS stuff. It could be that Linksys is really using a different kernel version and just changed the version number to match a closed source driver, they didn't want to recompile. Or it could be that Linksys has applied third party patches. So who is going to search for the kernel version resulting in the smallest diff. I tried with kernel version 2.4.6, which resulted in a larger patch, so it is probably not just a later version.

      --

      Do you care about the security of your wireless mouse?
    11. Re:Nice, but not a ton of info from it. by jjackson · · Score: 3, Informative

      Err... make that a pirate copy of Windows not *Linux*. Must have been that Linux pirate mentality :)

  2. Does this mean we can work on the firmware? by fishynet · · Score: 5, Interesting

    Can the OSS community now modify the firmware and make custom things for it?

    --

    Cats: All your base are belong to us.
    Captain: Take off every sig !!
  3. New linux toy? Oh yeah by petree · · Score: 4, Interesting

    Now that all of this has been released, I wonder if we will be seeing alternative firmwares with support for new features (detailed external logging, radius server, wireless VLANs like the cisco APs, traffic shaping, oh, and MeshAP could be cool too.) A friend of mine already bought his WRT54G and likes it, but after I found this out (and submitted the story to slashdot) I ordered mine from Amazon($130 with free shipping) along with the NetGear WAG511($85 - 802.11a, 802.11g, 802.11b) as recommended by a Toms Hardware review. I'm so excited that I am going to have a dope 54mbps wireless network in my dorm room for only $215. A little excessive, maybe, but hey I will probably keep this for another 5+ yrs. Especially the 802.11a 802.11g cardbus card. Oh hey, if you are shopping, check out the SeattleWireless Hardware Comparison. They have all sorts of info there and it made it easier to decide what to buy.

  4. What about the BEFW11S4? by SirDrinksAlot · · Score: 4, Interesting

    Isnt the BEFW11S4 in the same boat as the WRT54G? Isnt it based on linux as well?

  5. Ah, Linksys by Anonymous Coward · · Score: 4, Funny

    They're too lazy to code proper, secure solutions for their products, so they send it to the OSS community to do.

    1. Re:Ah, Linksys by Anonymous Coward · · Score: 2, Insightful

      A company makes hardware, they don't release software & driver code to public.

      People say they are an evil corporation trying to hide their secrets and prevent users of rare operating systems from using their product.

      A company makes hardware, they release software & driver code to public.

      People say they want others to do their coding.

      You just can't win can you?

    2. Re:Ah, Linksys by RAMMS+EIN · · Score: 2, Insightful

      Which is a Good Thing, actually. Everybody should do what they do best. Linksys is good at making hardware, so let them do that. Open source hackers are good at writing software, so let them do that. All companies have to do is enable those hackers to code for their products, and they'll get all sorts of stuff for free. Company happy, hackers happy, and end-users happy, because they can rest assured that the products can be supported even after the original creator stops supporting them (or never supports them in the first place).

      --
      Please correct me if I got my facts wrong.
  6. Next stop: Drivers by InfiniterX · · Score: 2, Interesting

    Hopefully this means that they'll release drivers for their 54-mbit cards already, then.

    From what I read, they use the same Broadcom chipset as the access points, which means Linux drivers do exist, in spite of their not being released to anyone.

    1. Re:Next stop: Drivers by tigga · · Score: 2, Informative
      Hopefully this means that they'll release drivers for their 54-mbit cards already, then.

      There are drivers: http://sourceforge.net/projects/madwifi/ and ath driver for FreeBSD.

  7. Finally by rkz · · Score: 2, Insightful

    I was vary suprised that there wasn't a huge uproar when this was coverd on /. earlier.
    If they had not released the source would buy their products again, to be honest I certainly would because they are the cheapest.
    If you would not, does their decision to release the source change your mind?

    1. Re:Finally by noda132 · · Score: 2, Insightful

      If they had not released the source would buy their products again...

      If they had not released the source, they would be breaking the law. The world is still holding its breath for the first case of the FSF kicking ass in court.

  8. And now what? by ObviousGuy · · Score: 5, Funny

    Are you going to go build your own router?

    Are you going to comb through the code only to find that it's not that much different from the other code you never look at?

    Face it, if it some source is vital to your company staying competitive, it isn't going to be GPL'd.

    --
    I have been pwned because my /. password was too easy to guess.
    1. Re:And now what? by ryanr · · Score: 4, Funny

      No, I'm going to load strange software on it, and make it do things that have little or no practical value.

      Because I can.

  9. A wireless network. For a dorm room. by rob-fu · · Score: 4, Insightful

    I'm so excited that I am going to have a dope 54mbps wireless network in my dorm room for only $215. No offense, but I think your money is better spent elsewhere :) How big can your dorm room possibly be to the point where 54mbs wireless would be necessary?

  10. Its nice to see by Crashmarik · · Score: 4, Insightful

    It's really great to see a company that saw it had made a mistake, corrected it and moved on. My only wish is that more companies would take that attitude.

  11. Cool Beans? by aaron240 · · Score: 5, Funny

    What is this, 1988?

    Is it also "rad" that the code was released?

    My apologies, I'm on a tear today. Hella has to go the way of "cool beans", but it looks like these things never die. *sighs*

  12. Not the full OS by KentoNET · · Score: 3, Informative

    Linksys only released the GPL pieces of what's running on that router. The way it looks, they haven't really put out anything that would help much to create a customized ROM for that device (web frontend specs, scripts, etc.). This isn't that much of a move for them, as it appears they've only released info of what they used, as well as a centralized location for exactly what GPL software is on their router.

    --
    "You tried your best and failed miserably. The lesson is...never try. Heh!" -Homer
    1. Re:Not the full OS by psyconaut · · Score: 5, Insightful

      Did you really expect them to release proprietary intellectual property?

      They complied with the GPL...they weren't required to do anything else, nor should a commercial enterpise be expected to do more if it doesn't aid their business.

      -psy

    2. Re:Not the full OS by psyconaut · · Score: 2, Insightful

      I design embedded systems.....and I can tell you that the last thing you want to do is to make it even easier to reverse engineer stuff. Things are bad enough as it is ;-)

      Plus, if people were able to reprogram the unit, I'm not sure how that'd really help the community. You'd probably see a bunch of people doing silly "hacks" with the system and a bunch of confused users not knowing what "distribution" to run on their Linksys access point.

      -psy

    3. Re:Not the full OS by NetJunkie · · Score: 2, Informative

      They don't want you to hack their boxes and add cool features. They want you to buy their next product which will include those features.

    4. Re:Not the full OS by cyberformer · · Score: 2, Insightful

      They don't have to, but it would have been nice!

      Several companies have released (under GPL or otherwise) software that they don't legally have to. Apple (Darwin) is a prominent example.

    5. Re:Not the full OS by runderwo · · Score: 2, Insightful
      Plus, if people were able to reprogram the unit, I'm not sure how that'd really help the community. You'd probably see a bunch of people doing silly "hacks" with the system and a bunch of confused users not knowing what "distribution" to run on their [Linksys access point].
      Replace "Linksys access point" with "computer", another term that accurately describes the unit. See the problem? Thing is, people like things they can play with, and other people like those people to play with those things, because innovative stuff comes out of it in the end.

      How else is Linksys going to distinguish itself from the rest of the Taiwanese crowd?

    6. Re:Not the full OS by kasperd · · Score: 2, Interesting

      they weren't required to do anything else

      From the GPL: For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable.

      Now what I miss is the .config file for their kernel. I'm not sure if that is a requirement from the statement above.

      --

      Do you care about the security of your wireless mouse?
    7. Re:Not the full OS by ocelotbob · · Score: 2, Interesting
      and a bunch of confused users not knowing what "distribution" to run on their Linksys access point.

      I call bullshit on this one. Most users will go about their merry day not caring about what their AP runs, because they don't need to. TiVOs run Linux, have a vocal hacking community, and do you see the average TiVO user thinking about distros? No. This allows those people that want to play with their hardware a bit larger of an opportunity to do so. Giving their kernel patches back to the community just makes sense.

      --

      Marxism is the opiate of dumbasses

  13. Come out of the closet by poptones · · Score: 4, Insightful
    For one one-hundredth that price you could have bought twenty feet of cat-5, which would have given you 100mbps networking in that dorm room.

    I bet you like playing raquetball in the closet, too, don'tcha?

  14. Re:A wireless network. For a dorm room. by soulsteal · · Score: 5, Funny

    Maybe he's decided to take a different course of action in the killing of superfluous sperm.

  15. Re:A wireless network. For a dorm room. by Pirogoeth · · Score: 5, Interesting

    Excessive perhaps, for just the room, but if their dorm is anything like mine was with a den down the hall or a study room in the basement or grassy areas out in front, a wireless connection like this would be pretty sweet.

    --
    Happiness is like peeing yourself. Everybody can see it but only you can feel its warmth.
  16. Hidden costs of cat5 by Anonymous Coward · · Score: 3, Funny

    What about the duct tape to hold it to the walls? Did you think about that when you came up with that outrageous $5.00 figure??

  17. Need drivers for the 802.11g by Yonder+Way · · Score: 3, Informative

    With drivers for the 802.11g adapter, more people would look at providing alternative firmwares. I've recently started working on such a project for the Dell TrueMobile 1184 because Dell actually provided source code when asked, and all the hardware support is there with open source drivers.

  18. Re:A wireless network. For a dorm room. by petree · · Score: 2

    Well first off, with WEP on, in real world conditions, you are only going to have a total of 20-25mbits or so of real bandwidth available. Don't forget, that's shared amongst all wireless users. So if I want to send a file to another wireless user (like my friend standing next to me with his powerbook) I only will get like 10mbits or so of throughput. 1.3 to 1.6MB/sec. All of a sudden it doesn't seem like that much bandwidth to me.

  19. Re:They are still in violation by Anonymous Coward · · Score: 4, Funny

    Dear Link$y$:

    I am aghast and appalled at your continuing flagrant violation of the GNU Public License. Your paws are dirty with the hard work of many hundreds of thousands of kernel developers who you ripped off by $elling the kernel code back to them without supplying the full source code for your product. Through this illegal action you have raised my and The Community's ire and we will stand and fight until you fully comply with the GPL. All your source MUST be turned over to The Community at once.

    Please be aware that I am not alone in this battle. I am dogged and relentless and using the power of the Internet I will bring you into compliance with the GPL.

    Don't fuck with us, Link$y$.

    Sincerely,

    Anonymous Coward

  20. More Info by heli0 · · Score: 5, Informative

    The original post from:
    http://lkml.org/archive/2003/6/7/164/index. html
    is not up right now so here is the text.


    Andrew Miklas
    linux.kernel
    Jun 7 2003

    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 (pr@linksys.com, mailroom@linksys.com) 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 ontents 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 t

    --
    Whenever the offence inspires less horror than the punishment, the rigour of penal law is obliged to give way...
    1. Re:More Info by lazyBob · · Score: 2, Informative

      As far as I know, wl.o is made by Broadcomm and is provided as part of Board Support Package (bsp). Linksys may not have its source code too.

      Even if wl.o is binary only, you may still use iwconfig/iwpriv to set wireless parameters.

      I don't agree your opinion that Broadcomm wireless module has to be covered by GPL. How can NVIDIA do binary-only driver but not Broadcomm?

  21. Well... by wadetemp · · Score: 5, Funny

    ... it's not just for him, it's so his neighbors can connect to his network too. Whether he knows this or not, I don't know.

  22. Thank them by geekoid · · Score: 4, Insightful

    If you use there products, shoot them a quick email to say 'thanks'.
    It really is the polite thing to do. Plus it always feels good to be appreciated, and that goes for people who run big companies.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    1. Re:Thank them by Jeffrey+Baker · · Score: 2

      What the fuck for? Thanks ... for not ripping off our work? Thanks ... for actually complying with copyright laws? Thanks ... for not contributing your changes back to the projects bolstering your profit margins?

      About the only thing Linksys deserves is being closely watched for future violations (or piracy, to use an industry term).

    2. Re:Thank them by ozzee · · Score: 2, Interesting
      What the fuck for? Thanks ... for not ripping off our work? Thanks ... for actually complying with copyright laws? Thanks ... for not contributing your changes back to the projects bolstering your profit margins?

      If you don't like their product then don't do it. If you do like their product more than alternatives because it is GPL'd (parts of it at least) then it makes sense to let the marketting bods know you like it this way so that they continue to do so. In fact, say that you bought their product specifically becuase it had GPL'd code and in the future you will prefer to buy GPL'd alternatives if they exist.

      On the other hand, if you want to use closed source prodcuts and don't care about the GPL buy somthing else.

      You choose.

      It's not about "thanking them", you did that when you boaught the product, it's about letting the manufacturer know what YOU want as a product.

      I'm in the market for a new wireless router, this product is definitly ahead of non-GPL'd alternatives in my purchasing decision tree.

  23. Hella? by geekoid · · Score: 3, Funny

    You really shouldn't condem the age of 'cool beans' and still use the word 'Hella'.

    really, I've been hating the term hella since the late 80's.

    Now if you'll excuse me, I have some rad code to write that is really too hip to be square, dude.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  24. i'll GPL you by lurgyman · · Score: 5, Funny

    Slashdot... where the GNU Public License became a verb ;)

  25. Comment removed by account_deleted · · Score: 5, Insightful

    Comment removed based on user account deletion

  26. Re:gpl strikes again by geekoid · · Score: 4, Insightful

    BSD: free as in 'Look someone else did our work for us, and we don't have to give anything back'

    GPL: free as in 'we can use it but we have to share.'

    "...NetBSD is the most supperior embeded Open Source OS on Earth which runs on over 35 architectures."

    what does the number of architectures have to do with whether or not its good?

    Impressive, but one doesn't mean the other.

    I like BSD, but statements lke that are just irritating.

    Now if you'll excuse be, I have a bike shed to paint.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  27. Still in violation by Anonymous Coward · · Score: 4, Interesting

    Vixie cron isn't a pure gpl license as you can read from their own source in the README file:

    #/* Copyright 1988,1990,1993 by Paul Vixie
    # * All rights reserved
    # *
    # * Distribute freely, except: don't remove my name from the source or
    # * documentation (don't take credit for my work), mark your changes (don't
    # * get me blamed for your possible bugs), don't alter or remove this
    # * notice. May be sold if buildable source is provided to buyer. No
    # * warrantee of any kind, express or implied, is included with this
    # * software; use at your own risk, responsibility for damages (if any) to
    # * anyone resulting from the use of this software rests entirely with the
    # * user.
    # *
    # * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
    # * I'll try to keep a version up to date. I can be reached as follows:
    # * Paul Vixie uunet!decwrl!vixie!paul
    # */

    And so it looks like until linksys gives credit properly in the documentation to Paul Vixie they are still in violation of licensing agreements.

  28. Some of the released code isn't GPL... by diamond0 · · Score: 4, Interesting
    I see vixie-cron in there, which isn't GPL. Paul Vixie, a former student at Berkeley, uses the BSD license last I knew.

    (He's better known for BIND, MAPS, PAIX, MFNX, etc.)

    --

    --
    There is no hatred more pure and true than that expressed by children.
  29. Re:just one product by Daniel+Phillips · · Score: 2, Interesting

    Good first step, but that's far from the only Linksys device running Linux. Where are the sources for the other devices?

    Of course you're correct about that. But what's wrong with being nice to them just now. Let's watch them be shocked when sales of the unit tick upward, then let's ask for more, ok? :-)

    Of course, the above depends on being able to reflash the thing successfully, and as far as I can see, that's going to be a whole lot easier than the XBox was, plus more useful, including being useful to Linksys. Unlike Microsoft, they make money every time they sell one.

    --
    Have you got your LWN subscription yet?
  30. Okay, so now what? by jforman · · Score: 3, Interesting

    I have this actual piece of equipment, the WRT54G. Now that I've got this code, what do I do now? I am still unable (as far as i know) to edit this code, and safely reflash my router so i can run snmp off of it, or run snort/acid/etc.

    Great, GPL the code. But now make it useful for me.

    1. Re:Okay, so now what? by ryanr · · Score: 2, Interesting

      Wait a while, and I'll bet you'll be able to. Not from Linksys, neccessarily... but from people like me who have taken a sudden interest due to this article.

      Looks like it might be pretty straightforward to unpack the cramfs system, add a tiny .asp file to the www directory, repack, and upload. The .asp file could, say, allow shell commands. I'll let you know when my wrt54g arrives. :)

  31. Re:A wireless network. For a dorm room. by leshert · · Score: 2, Informative

    Perhaps he has a laptop. Wireless and laptops are good, mutually supportive technologies.

    I'm posting this from my laptop, which is only 20 feet from my AP, firewall, and DSL modem, but it's still nice not to have to run a cable across the room for someone to trip over...

  32. So when does SCO file suit? by Camel+Racer · · Score: 2, Funny

    If it contains OSS, it _must_ have been taken from SCO.... ;-) for the humor impaired

    --
    Anybody can work under ideal circumstances. -- Jeff K. (January 4, 2001)
  33. Gotta love Open Source by Dewars · · Score: 4, Funny
    From the Linksys code (udhcp/packet.c)
    const char broken_vendors[][8] = {
    "MSFT 98",
    ""
    };
    --
    --my other user id's Karma is capped
  34. Terms of Use? by femto · · Score: 2, Interesting
    Does anyone find it ironic that Linksys's GPL download page includes a link to their usual Draconian terms of use?

    On a different topic, even if Linksys hasn't provided the 'correct' source code, as suggested by some, their acknowledgement of the GPL should at least mean open slather on reverse engineering any binary which has a hint of GPL to it.

  35. Re:gpl strikes again by DASHSL0T · · Score: 4, Insightful

    Dude, license your code however you want to and let others do the same. That is freedom, not the preachy stuff you just wrote.

    Not very hard, is it?

    --
    Freedom Is Universal
    Linux-Universe
  36. Re:gpl strikes again by Daniel+Phillips · · Score: 3, Insightful

    This type of license strong-arming is the reason embeded market should choose BSD.

    Sure, Linksys would have used BSD if BSD worked as well for them as Linux does. But Linux is better, supports more hardware, and supplies more of the features they need. That's because more programmers work on Linux, and that in turn is because of the licence - we know that our contributions to the public are going to *stay* public.

    And by the way, I like BSD. I think there's some stuff in BSD that's better than Linux. I'm no fanatic, I'm just explaining the phenomenon.

    Anyway, what's the big deal for Linksys if they accidently ended up letting everybody reprogram their hardware? It just means they sell more of it and make more money. That's gotta hurt, huh?

    --
    Have you got your LWN subscription yet?
  37. Binary modules are legal. by EmbeddedJanitor · · Score: 3, Insightful
    Assuming they are loading their drivers as modules (ie. not statically linking), then I do not beleive they are obligued to release them under GPL unless the modules were themselves based on GPL code.

    Keeping IP in binary modules is fairly straght formward way to partition IP in kernel space and is fairly common in the embedded industry.

    Now I know RMS and others frown on this, but it is not illegal.

    --
    Engineering is the art of compromise.
    1. Re:Binary modules are legal. by Anonymous Coward · · Score: 2, Interesting

      This has nothing to do with drivers. The question is, "is the source code released by linksys actually what they use on the router product?"

      Forget the drivers. Just look through the application source. Where are the linksys mods?? Are you telling me that they took the stock version of those OSS projects and just shipped them? Bullshit! There are always local mods, even trivial ones, so where are they? Take a look at what transmeta does to their open sources. They have local mods all over the place. And you're telling me that linksys shipped the sources without a single change?

  38. Still in violation -- I don't think so.... by muonzoo · · Score: 3, Insightful
    In violation of what ?...
    Paul Vixie's license perhaps? ...
    I don't think so:
    # * Distribute freely, except: don't remove my name from the source or
    # * documentation [1] (don't take credit for my work), mark your changes (don't
    # * get me blamed for your possible bugs)[2], don't alter or remove this
    # * notice.[3] May be sold if buildable source is provided to buyer.[4] No
    1. Safe on this account -- you are reading the license itself, as redistributed
    2. Source appears to be unmodified -- all diffs that I can see are known patches.
    3. There it is, no problem
    4. Again, here's the source, compliant again.
    The license as stated applies to Vixie Cron, not necessarily to the aggregation of parts that is the entire product. IANAL so interpret this with council if it matters to you.
  39. Calm down, folks. by leshert · · Score: 4, Insightful

    Having followed this since the original post to the LKML, I have a slightly different viewpoint.

    Linksys got caught with their hands in the cookie jar. They probably didn't think twice about using embedded Linux; in fact, they may not have even made the decision themselves.

    When the problem was pointed out to them, they gave several weeks of no conclusive answers, and now they've put up a simple web page with some source tarballs, all or none of which may be what's actually running on the APs. You can't even FIND the page using their support search engine (a search on GPL shows no hits), and they're certainly not announcing it anywhere I've seen.

    It's the least they could do. Approximately.

    1. Re:Calm down, folks. by leshert · · Score: 2, Informative

      Indeed, it does.

      The paths I tried were:

      1. Search box from the front page of www.linksys.com.
      2. Product page for the AP in question.
      3. Downloads section of the site.

      You're right, it is obvious if you go to the support page first (I usually don't for this site, because having been there so many times, there are less clicks involved to get to drivers via the products page). But one would think that the search engine would index a superset of the support section...

      In any event, the rest of my comment stands. That , as well as the sparseness of the download page, makes be think they're doing this because they got stared down, not because they intended to do so all along. I've seen hardware companies that buy into open source/Free software, and this isn't one of them.

  40. Wireless is subject to FCC regulations by yerricde · · Score: 5, Insightful

    What I want, and what I know many other people want, is an 802.11g driver.

    Many makers of 802.11g cards cannot lawfully provide such a driver under various radio frequency emission regulations. Because it's more expensive to build interlocks that prevent over-powered transmissions in hardware than in software, many cards implement the interlocks only in the driver. This makes it a bit harder to justify getting FCC approval for a driver for each platform.

    Linksys has one. They choose not to release it?

    Is it Linksys's choice, or is the Federal Communications Commission's choice to delay approval?

    --
    Will I retire or break 10K?
    1. Re:Wireless is subject to FCC regulations by benjamindees · · Score: 4, Informative

      Linksys has one. They choose not to release it?

      Is it Linksys's choice, or is the Federal Communications Commission's choice to delay approval?


      Actually, it's probably neither. The driver is from Broadcom. It's mentioned in some of their online documentation. They probably haven't and won't release it, even as binary-only, because they'd rather license it to Linksys for an additional fee. I'm assuming a binary-only driver wouldn't incur the FCC regulations you're referring to.

      --
      "I assumed blithely that there were no elves out there in the darkness"
    2. Re:Wireless is subject to FCC regulations by tigga · · Score: 5, Informative

      There are drivers for FreeBSD (ath) and Linux http://sourceforge.net/projects/madwifi
      Supported cards:
      Card Chip Bus
      D-Link DWL-AB650 AR5211 Cardbus
      D-Link DWL-AG520 AR5212 PCI
      D-Link DWL-AG650 AR5212 Cardbus
      Linksys WMP55AG AR5212 Cardbus
      Linksys WPC51AB AR5211 Cardbus
      Linksys WPC55AG AR5212 PCI
      Netgear WAB501 AR5211 Cardbus
      Netgear WAG511 AR5212 Cardbus

      Those drivers are beta quality but work.

      There is object file which hides radio interface.
      AFAIK everything else is open.

    3. Re:Wireless is subject to FCC regulations by Florian+Weimer · · Score: 3, Insightful

      Many makers of 802.11g cards cannot lawfully provide such a driver under various radio frequency emission regulations.

      Irrelevant. The ISDN subsystem of Linux has exactly the same problem (well, even worse, regulation is stricter in the old telco world), and there is source code. Some versions have even been certified, and it's legal to run them on public networks.

  41. Not only Linksys... by lobsterturd · · Score: 2, Informative

    I know that many more networking equipment manufacturers use GPL'd code in their products. Buffalo's wireless broadband routers use almost the same code as the WRT54G, and earlier Linksys routers used Linux as well.

  42. Re:What the heck by MoOsEb0y · · Score: 2, Informative

    Wireless RouTer operating at 54mbps using the 802.11g protocol

  43. Re:gpl strikes again by merdark · · Score: 5, Insightful

    BSD: free as in 'Look someone else did our work for us, and we don't have to give anything back'

    Umm. Look, this is EXACTLY what BSD developers expect. This why it's released BSD. Shall I break out the dictionary definition of free? I'll give you a hint, it means having no restrictions. The GPL is very much a restriction. It is a very different philosophy than BSD and public domain code. It is in no way free as in the definition of the word.

    Rather, it caters to a specific ideology, namely that of the FSF. Granted, you may consider GPL to be free, and it is certainly freer than proprietary software, but it is not quite as free as BSD and public domain.

    You can be selfish and require people to share with you if you like. But, statements like yours are really irritating to those of us who want to give our code away for free.

    The guys comment was very informative given the news story. Linksys doesn't want to 'share' with you. They shouldn't have used GPL code then, but rather BSD code. Right?

    And please don't go on about how they *should* share. They are under no obligation to do so, if they did the country they operate from would certainly not be considered a free country anymore.

  44. Sweet! by appleLaserWriter · · Score: 2, Funny

    Now SCO can sue Linksys too!

  45. Re:802.11g *nix drivers by KiloYankee · · Score: 5, Informative

    There's beta drivers from Atheros that supports 802.11g. Check it out. http://sourceforge.net/projects/madwifi/

  46. What linksys didnt release is... by jonwil · · Score: 5, Interesting

    The code to whatever custom build of GCC was used to compile the things in the first place...

    1. Re:What linksys didnt release is... by beezly · · Score: 2, Interesting

      That's probably because they don't have to. GCC isn't included with the AP.

    2. Re:What linksys didnt release is... by ryanr · · Score: 2, Insightful

      Most of the binaries say:

      GCC: (GNU) 3.0 20010422 (prerelease) with bcm4710a0 modifications

      I don't follow GCC versions that closely. Does that indicate a customized (non-public) version of GCC?

      Any reason to think that a current GCC 3.xx won't work with this target hardware?

    3. Re:What linksys didnt release is... by QuMa · · Score: 2, Informative

      You have to distribute the preferred form for editing, at least for the GPL. So encrypted source wouldn't be allowed. If you wanted to design a new language, convert the GPLed code you want to use to that language and write a compiler for that language which you don't distribute, you could do that however.

  47. Re:I didn't think it was shared... by YOU+LIKEWISE+FAIL+IT · · Score: 2, Interesting
    Nope. 802.11b ( probably g too ) has different frequencies or channels ( different numbers thereof in different places too, e.g. 13 channels in Japan, 11? in Australia ), but this is for the separation of logical networks and/or separation of AP's on the same logical network / coverage range ( can someone confirm that last bit? ).

    Harvards wireless network usage notes includes the following:

    All devices associated with a wireless access point are in contention for part of the 11 Mbps (802.11b IETF Standard) shared bandwidth. It is for this reason that certain bandwidth intensive applications may be more appropriate for the wired network.

    It's good advice. I run mixed wireless / wireful in my house for this reason.

    YLFI

    --
    One god, one market, one truth, one consumer.
  48. Re:A wireless network. For a dorm room. by Gumber · · Score: 2, Insightful

    Why should there be any relationship between the size of his dormroom and the throughput of his wireless net?

    I often use my wireless connection sitting just a few yards from my access point. Sure beats dealing with a cable.

  49. Re:gpl strikes again by YOU+LIKEWISE+FAIL+IT · · Score: 3, Insightful
    You can be selfish and require people to share with you if you like.

    I don't know if I'd consider that too selfish. Sometimes, code takes a lot of effort to design, write, test etc. And I think some return on that investment is not an unreasonable desire. Is it selfish to go to your employer at the end of the day and ask for a paycheck? A share of the value that both of you have produced together?

    Some software I release under the BSD license. I do this when I don't ever want to hear from that particular piece of software again. Some software is released under the GPL. Still other stuff goes out as Public Domain. But please don't tell me I'm selfish because I sometimes want the user community to share back with me what I've shared with them in the first place.

    I don't understand how people get into mildly flamey discussions like this. Nobody asked or forced Linksys to use Linux and other GPL'd software as the basis of their AP. They chose to do it, nodoubt for reasons of their own, and initially at least, decided not to stick to the letter with the terms of the license. They could have chosen BSD. They didn't. I'm sure they were aware of the licensing differences at the time.

    Now, hypothetically, do you think if they'd used BSD, they would have been good little angels, dilligently having their binaries displaying your copyright notice as clause two mandates? I honestly don't think so. I think they would have just appropriated the source as 'freeware', which it certainly isn't, and then we might have had the same scenes we're seeing here, but a little more low key.

    YLFI

    P.S.: I like *BSD. I like the license too. But I feel that the attitude behind the license is largely influenced by its tumultuous history intertwined with AT&T up until 1988. I think the fact that the BSD folks got to bootstrap their way up from earlier Unix sources ( and the misappropriation by AT&T of same BSD sources ) has led to a somewhat fuzzier perception of where their work ends and the work of others begins, and a less territorial mentality than the second wave GPL developers.

    These are just some thoughts. I apologise for any factual innacuracies in the above... I believe I was still playing cricket in the backyard and jumping off wharves when all this was going on.

    --
    One god, one market, one truth, one consumer.
  50. Caved in due to "Community Pressure" by svachi · · Score: 3, Interesting
    Maybe it's just me, but after reading the term, I visioned a "community" mob treatening to burn Linksys's complex to the ground, Linksys gave in, the mob get what they want, and Linksys swear they won't do anything with the community again.

    IMHO, Linksys just honors the license of the software they used. Maybe they just strayed a bit, but it's not like they are actively trying to violate it. Why don't we put a better positive word to the situation? It will make the "community" sound like a more pleasant entity to interact with when we don't go pressuring people for what we want.

    --
    --- (The signature is intentionally left blank)
  51. Broadcom violates the GPL, not LinkSys? by Anonymous Coward · · Score: 2, Interesting

    Broadcom distributes/sells the GPL'd code including a modified GCC compiler ("GCC: (GNU) 3.0 20010422 (prerelease) with bcm4710a0 modifications."), allowing the OEMs to modify the sources and recompile. They didn't release the sources of the GCC compiler, which is required IMHO. The code released by LinkSys cannot be modified without this compiler because the Broadcom CPU has extra instructions in addition to the MIPS3000 instruction set.
    Using GPL'd software to make a profit and not releasing (available) drivers to support their hardware on the same GPL'd software does also not feel right to me. At least morally.

  52. Find a security crack... by Ian+Jefferies · · Score: 2, Funny

    Can the OSS community now modify the firmware and make custom things for it?

    Perhaps we can find a security crack and get Linux to run on it.

    Uh... cancel that.

    --
    A physicist is an atom's way of thinking about atoms
  53. Actual text of GPL by penguinrenegade · · Score: 3, Interesting

    This is how you can get away with releasing only the ORIGINAL code, and not the Linksys mods.

    Quote:
    The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language.

    Think about it. They distributed the source for the "Program" as outlined above. "A work based on the Program" can refer to either the Program (the original) or the "work based on the program" - that is, the derivative. So, if you take it to always mean "The Program" or the ORIGINAL program - then you only must distribute the ORIGINAL PROGRAM and not the mods! Perfectly within the GPL.

    I'll get modded down on this, but HONESTLY the GPL says this. It does not say that "The Program" means BOTH, but EITHER.

    The GPL doesn't say you have to release your mods, but only a list of the changes and what dates. Have you actually read the GPL?

    The other problem with the GPL is that there is conjecture and opinion throughout, not fact, as there must be in an Agreement. IANAL but I worked in the world of Contracting (as in Construction) and you must specify everything, not give opinion.

    "If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms."

    This is an OPINION that "the best way to achieve this." Sometimes making it of the greatest possible use to the public is to never use it. For instance, the software that drives nuclear missles. This is a deterrent. The best way to use this technology MIGHT be not to use it, not make it software which everyone can redistribute.

    The first time the GPL gets tried in court it will get thrown out because it's full of opinion, and holes like I just pointed out. And remember, I'm FOR Open Source. I just think that Richard Stallman tried to force his opinions on everyone else's work. "Free" my butt. (And I know the difference between free as in beer, etc.) Here's a quote from the FSF website:

    "The $5000 Deluxe Distribution includes all GNU software compiled for your choice of computing platform (micro-chip and operating system). Please contact the FSF Office if you are interested."

    "Free" my butt. $5000 US is a LOT of money for a program, period, ESPECIALLY for one user.

    Go Linksys. MAKE money. PROVIDE a valuable service!

  54. Speaking as one of the upstream authors... by timbrown · · Score: 2, Informative

    Glad to see the GPL is now being honoured, although this issue would have made an interesting test case.

    I'm a shade confused though, I can't see any good reason why Linksys rebranded from ez-ipupdate to ipupdate.

    Anyway, as far as ez-ipupdate itself goes, the version in the firmware appears to be the same as source that has been released although it is nowhere near the latest version. It doesn't appear LinkSys have made any changes.

    --
    Tim Brown
  55. Re:A wireless network. For a dorm room. by cscx · · Score: 4, Funny

    Apparently he hasn't discovered beer yet.

  56. This reminds me... by TeknoHog · · Score: 2, Funny
    ..of a loonie running around in our physics department, furiously yelling things like "I'll differentiate you!".

    So, this other guy comes along and says, "I'm not afraid of you! I'm e to the x."

    "Well that's just too bad, I'm d/dy!"

    --
    Escher was the first MC and Giger invented the HR department.
  57. great, but what about the WPC54G? by DuckWing · · Score: 2, Insightful

    Great news that they released GPL'd source for the wireless router, but now what about the real need, code/drivers for their wireless cards like the WPC54G? I searched /. for info on it and found an old Ask Slashdot thread, but nothing has improved yet. I wnat drivers for the wireless card dang it!

    --
    -- DuckWing
  58. No such luck by CausticWindow · · Score: 3, Funny

    with the Barricade I've got from SMC (it's got Linksys firmware).

    The firmware .bin is an arj'ed file, but the only thing of interest in the unpacked file is this string:

    Hey Moe, it dont woik. NYUK NYUK NYUK NYUK *bop* Owww!

    In the WRT54G, one of the first strings is:

    piggy

    Hm

    --
    How small a thought it takes to fill a whole life