Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Wireless Networking Software Hardware Linux

The OSS Solution to the Linux Wi-Fi Problem 204

tobs writes "Matt Hartley of MadPenguin.org fame has published an open source way of solving the Linux Wi-Fi problem. He writes, "For intermediate to advanced users, who are willing to track down WiFi cards based on chipsets, live without WPA in some instances or have opted to stick with Ethernet, buying a new notebook for the sake of improved wireless connectivity may seem a little overkill. When a new user faces problems jumping through the NDISWrapper hoops, tracking down WiFi cards from HCLs and other related activities, the end result is almost always the same — they give up. What so many of us, as Linux users, fail to grasp is that projects like OpenHAL are critical to long-term development. The education on what to expect and what not to expect remains a complete load of hot air when articles claim how easy it is to setup wireless Internet on Linux machines. It's downright misleading."
This discussion has been archived. No new comments can be posted.

The OSS Solution to the Linux Wi-Fi Problem

Comments Filter:
  • Weird... (Score:5, Insightful)

    by mdm-adph ( 1030332 ) on Monday September 10, 2007 @10:31AM (#20538393)
    It's like I RTFA, but then again I don't feel like I RTFA. Anyone else notice that? Is there some "Page 2" button I'm missing?
  • by mdm-adph ( 1030332 ) on Monday September 10, 2007 @10:34AM (#20538437)

    I've been using Linux from the early days, mostly for scientific computing. For that it is great. But the problem is that linux has so many driver complications, and users tend to blame it on the companies that make the devices, and things never go anywhere as a result.
    Well, the only driver problems I've ever had with Linux have been with ATI cards (which is ATI's fault) and the aforementioned wireless mess, and I still don't see how this isn't the fault of the companies. But, if I'm wrong, someone please enlighten me.
  • I agree (Score:3, Insightful)

    by cjonslashdot ( 904508 ) on Monday September 10, 2007 @10:38AM (#20538493)
    In fact, I am an experienced IT professional, and I have only a vague idea what you are talking about. The fact is, I do not spend my time studying the innards of Linux: I have other kinds of issues that I worry about. I am sure I could get a WiFi card working on Linux if I put my mind to it, and edit the right files, find the right drivers, and upgrade the BIOS as required, but I have no inclination to spend the many hours required to learn all those picky details - which I will then forget because I will not use them again. The fact is, if one has to do this, you can kiss Linux goodbye for the typical user. If Linux cannot be made to work with most (like 99%) built-in and third party devices (graphics, WiFi, sound, Bluetooth, etc.) out of the box or with *easily* found drivers - without having to edit files - then it is not a viable desktop for the typical home user. Further, it should be installable from Windows - without having to create an ISO disk and boot. These are far bigger issues than whether the scheduler is "fair" or whether the GUI is KDE or Gnome. Who cares if you can't get it running with an hour of point-and-click effort? It will then never be adopted by the masses, unless manufacturers decide to ship it pre-installed.
  • by Kludge ( 13653 ) on Monday September 10, 2007 @10:40AM (#20538525)

    a complete load of hot air when articles claim how easy it is to setup wireless Internet on Linux machines


    I just installed Fedora 7, and I am managing multiple wireless networks with NetworkManager, no configuration at all. Zilch.

    Of course, I have a 5 year old Dell. People think they can buy whatever hardware they want and just have it work. No. You have to be selective. That's why my 3D desktop runs on Intel video.

    Buy companies that support open source from the beginning, dammit, or other companies will never see the use of providing drivers or specs PERIOD.

  • by petes_PoV ( 912422 ) on Monday September 10, 2007 @10:42AM (#20538551)
    WiFi, USB and Video

    Are the three things I get embarassed talking about when trying to promote Linux to non-technical friends and family. All they want it "to do stuff". As the article mentions, they won't spend time fiddling with drivers, checking if the hardware will/might/won't work.

    They have a real expectation that they can plug in whatever they choose to a PC and it will just work. This is their experience of (modern) MS and they won't accept any less from an alternative.

    Until peripherals become seemlessly operable ordinary people will steer clear of Linux.

    Until the applications (and I mean video playing in particular) just work, with no drama and no crashes (Kaffeine, why do you insist on popping up messages saying "The specified file or URL was not found", when you're playing it?) we're backing a loser.

  • by grahamm ( 8844 ) <gmurray@webwayone.co.uk> on Monday September 10, 2007 @11:07AM (#20539001) Homepage

    Typically a wireless card is a microcontroller with ROM, RAM, and a CPU --- usually an ARM.
    As wireless cards are intelligent with their own processor it should have been relatively simple for a high level API to have been defined (in a similar way to VESA for display cards) by which all wireless cards communicate with the host computer.

  • by Ginger Unicorn ( 952287 ) on Monday September 10, 2007 @11:08AM (#20539027)
    I want an operating system, not a political movement.

    then support that operating system by buying hardware that it is allowed to interact with by the vendor. activism is also sometimes pragmatic you know.

  • by glop ( 181086 ) on Monday September 10, 2007 @11:12AM (#20539077)
    Replying to myself as I hit submit by mistake. Sorry.

    What I meant is that many people are in different situations. Many people who are not considering Linux this week might in couple of months.

    This means that many people will wake up some day, want to install Linux and realize that Linux can or cannot manage their hardware. They will react in different ways : fix the problem by using the ndiswrapper, installing other hardware, go back to Windows or OS X etc.

    So, buying the right hardware from the start is only an option for people like us who already know they want Linux. Of course it helps as it rewards the good hardware makes who are Linux friendly, but it does not solve the problem instantly.

    As TFA said, OEM might bring a big solution : DELL/HP wants to offer Linux laptop, so they choose compatible hardware. Then they want to use the same components across the line of products, so they ditch a few incompatible components.
    This brings benefits on two sides :
      - The hardware/chipset makers then realize they need to be selected for the Linux to avoid being excluded from markets bigger than the Linux market that have suddenly become tied to the Linux market
      - The people who bought the non-Linux computers, got Linux compatible hardware anyway which makes their potential switch easier.

    So, there are many big stories playing out here and I can understand why people would want to discuss them on Slashdot.

  • Major Pain (Score:2, Insightful)

    by TargetBoy ( 322020 ) on Monday September 10, 2007 @11:20AM (#20539211)
    This was a major pain for me as well.

    I had read that WiFi has "solved" in the latest release of Ubuntu and have long been wireless in my home network, even for the desktop machines.

    After trying all the non-NDISWRAPPER options, I finally used that tool and was able to get WiFi up and running, but even with that, it fails to initialize properly about half the time and I have to manually restart networking.

    Combined with not having support for the latest NVIDIA drivers available through the package manager and having to recompile the drivers after a kernel security patch, this would have been an utter failure if I was new to this. NVIDIA is partially to blame as well, since they could well make their drivers have a safe mode that will work with cards released after the drivers, but the 8X series of cards has been out for how long and the driver still isn't in the package manager?

    The lack of fail-safe mode in X after all these years is just insane. Fortunately, we shouldn't have to wait too much longer for that to be a mainstream patch.
  • Re:I agree (Score:3, Insightful)

    by Zombie Ryushu ( 803103 ) on Monday September 10, 2007 @11:22AM (#20539241)
    I'm an experienced Linux User, and you sound like someone I know.

    Editing files has nothing to do with it. Generally, Under Linux, Wifi falls in three catagories. Those that do work. Those that work with NDISwrapper, and those that don't work. Those that work with NDIS wrapper NDIS wrapper installs the drive for you. Those that work out of the box will simply work out of the box. Those that don't work will sit there and stare at you and do nothing. There is a minor special exception for the BCM 43xx, you have to install their firmware first using something called the bcm43xx-fwcutter. But most distroes automate this.

    So stop Trolling.
  • by cdrguru ( 88047 ) on Monday September 10, 2007 @12:00PM (#20539965) Homepage
    Unfortunately, what you would like to mandate is at the same time a mandate for Chinese domination of the hardware market.

    Today the hardware is almost immaterial to a "hardware" product - it is the inner workings of the firmware, the driver and such that are where both the bulk of the engineering time and bulk of the "value" are. There are few, if any, secrets in silicon today.

    So a manufacturer puts a lot of effort into developing a new product in the US or EU. If the functionality of the hardware/firmware is then required to be disclosed it is trivial to make the same hardware product elsewhere and compete head-to-head without any real R&D cost. Sure the Linux community and a few hackers might be better off, but at what price?

    Today, the only effective way to compete against Chinese manufacture is to have the hardware, firmware and software talking behind the scenes. The firmware interface to the hardware isn't disclosed and the driver that talks to the firmware isn't disclosed. Absolutely, the hardware can be duplicated but without the firmware and driver the device requires an equivalent amount of development effort.

    Yes, that put the Chinese manufacturer on an equal footing with the US or EU manufacturer. Instead of how they would much prefer it where all the "hard" problems are solved in the US and they Chinese get to just make cheap knock-offs.

    Where was development for USB hubs done? Where are they made today? Compare this to video cards - how many 3D cards are distributed by Chinese manufacturers? Sure, they are all imported with "Made in China" stickers but they are made for US, EU and Canadian manufacturers that own the firmware and drivers.
  • by WhiteWolf666 ( 145211 ) <{sherwin} {at} {amiran.us}> on Monday September 10, 2007 @12:44PM (#20540629) Homepage Journal
    You would think so, no? Why not use TCP/IP?

    Frankly, its a shame that you can't get the equivalent of a PCI (or PCI-X) "wireless bridge". I would love a DD-WRT box that went into my system, and managed all aspects of my networking for me, addressable via some kind of internal IP address scheme.

    This would give you all sorts of cool abilities; control it via your browser or any sort of "internal" application (something like Apple's airport stuff).

    Hell, even given basic engineering skills this wouldn't take more than 3-4 chips, one for the "ethernet" card, one for the "bridge", one for RAM, and maybe one for ROM, if you didn't network "boot" the bridge.
  • package it up (Score:3, Insightful)

    by Darth Cider ( 320236 ) on Monday September 10, 2007 @01:23PM (#20541285)
    I installed Ubuntu on a computer I found at the local landfill, thrilled that it had a wireless card until discovering that ndiswrapper would be necessary to get it online. (No ethernet card.) It took hours to find all the necessary ingredients and instructions. They're all in different places. Why can't they be in just one place, with scripts to install everything automatically? Even if there are hundreds of cards, requiring more-than-hundreds of install packages, it would save millions of hours of frustration for linux newbies.

    Ndiswrapper works very well, once it's set up. Kudos to the team for their efforts.
  • by david.given ( 6740 ) <dg@cowlark.com> on Monday September 10, 2007 @04:03PM (#20543847) Homepage Journal

    Firmware is just firmware - it runs on a different CPU and only has access to the device. Binary blobs run in your kernel space and could (potentially) mess with anything on your system.

    Ah, but the firmware on the wireless card is running, effectively, at a higher privilege level than your kernel --- it can do things totally outside the kernel's control. Even if you are legally allowed to redistribute the image, how do you know what it's doing? Given that all your network traffic is passing through that thing, and that it's got complete unsupervised control over all the radio bandwidth it can eat, and that on some interfaces (such as PCI) they can even access host memory... there's a lot of scope for malicious behaviour. Without source, they can't be audited. That's what I mean by the binary blob problem.

    (The firmware source code probably includes lots of deeply patented and proprietry frequency-hopping and radio control software, which the FCC would be deeply unamused to have people play with; most likely there's also going to be a third-party embedded operating system, too, to make it all go. It would probably be a legal nightmare to release source.)

    (You're right in that there's not much difference between uploaded firmware and firmware in ROM --- it's just a variation of the same problem.)

  • by nmos ( 25822 ) on Monday September 10, 2007 @04:13PM (#20544033)
    What gets me is that the Linux community still believes, in 2007, that auto-detection of hardware isn't worth the effort.

    On what planet exactly? End user distros have been auto-detecting hardware for at least several years now. On average I'd even say that given a bare computer plus a Windows CD and a Ubuntu CD you're more likely to have everyting work on Ubuntu.

    And just recently, I bought an ASUS motherboard, and tried to install Slackware 12.0 on it. And you know what happened? The kernel hangs after reporting the serial driver message. Sure, I could trace through the code to find the likely culprit.....

    Or you could plug your Asus motherboard name/model into Google along with the words Linux and Slackware and probably have your answer in a few seconds. Better still, you could do this before buying the darn thing. If you buy from major online sites like Newegg you can search their user comments/reviews for the word Linux as well.

    But a large part of driver installation on Linux is a manual process; on my 2003 Toshiba laptop, I end up recompiling the kernel to get the sound to work.

    If you don't want to be recompiling kernels etc why on earth are you using Slackware? I can't get a standard size sheet of plywood into my wife's little Subaru hatchback either but that doesn't imply some sort of design deficiency in the Subuaru, it just wasn't designed for that.

    If you want an idea of how good the Linux hardware detection/support is just burn yourself a copy of Knoppix and try it out on a few machines.

  • by RAMMS+EIN ( 578166 ) on Monday September 10, 2007 @05:17PM (#20544971) Homepage Journal
    Or, to take a closer example, there should be something akin to the Bluetooth adapter USB device class. In fact, I don't understand why there isn't one.

"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."

Working...