The OSS Solution to the Linux Wi-Fi Problem
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."
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?
It is by my will alone my thoughts acquire motion; it is by the juice of the coffee bean that the thoughts acquire speed
After spending hours on breaking and re-breaking wifi on my laptop, I went out and bought a $20 wifi card with an Atheros chipset. It has worked flawlessly sense, without having to jump through the ndiswrapper hoops.
And any time someone new the *nix asks me about wireless, and why it isn't working, I always insist they spend the $20 on the Atheros chipset, as, again, it is damn near flawless.
What confuses me so much (and I really am ignorant in this department) is why the ethernet chipsets were seemingly conquered right off the bat? I tried my first Linux distro (debian) in 2001 and ever since then no matter what the machine, no matter what the distro, no matter how confused I was the NICs always came up ready to go when I installed Linux. I've done this on a lot of machines, from obscure to well known Dells and used most of the major distributions. They just 'worked' and it was good.
Now, wireless is here and for some reason, there must be a thousand different manufacturers with their own proprietary chipsets with completely different drivers & BIOS data on the flash memory stored in those chips because I've only had Ubuntu work once out of the box on a Linksys PCI WiFi card. Why? Why isn't that standardized? What do the companies gain from that? Is it because of the ever changing standards that the chips are so wacky? Is it because the A, B, G, N, etc. protocols? I don't understand this because I've never coded drivers.
I understand what MadWiFi & OpenHal are trying to do. I now know to look for "Atheros" chipsets when I buy my wireless stuff but they are often more well known brands and more expensive. A reason I switched to Linux was to save money in college, not spend more on the hardware.
Maybe a more helpful article would be detailing the real underlying issue--that these no name brands that get huge rebates at CompUSA or where ever (Hawking Technologies, generic boxes, etc.) are targeting Windows because of the number of users. How do you change their minds or show them a market for an OSS driver? Is there a way to even open up a channel of communication with them to discover how to write drivers for their chispets? How do you convince them it's worth their time/resources?
That would be a solution moving forward.
The next best thing would be to post an article about how to get started making these drivers. I'm a coder (though not the greatest one) with a little bit of free time. How do I start? How do I get access to the BIOS pages on the chipsets? What do I do with that, how does the Linux kernel use it? What books do I read that teach me how to start with a chipset I know nothing about, have no resources on the data or mechanics and then poke it, prod it until I know enough about it that I can set it up for the kernel to use it?
My work here is dung.
I remember feeling that way around when the internet was gaining traction. It was so hard to find a linux compatible modem in stores since almost everything at the time was a winmodem piece of trash that let windows control everything and had almost no on board processing. I couldn't believe how many hardware vendors wouldn't be bothered to make standalone modems, instead opting for the cheaper windows only idea. Though with my current laptop I got lucky, had an atheros chipset that was supported by madwifi. Took some tooling around to get WPA-PSK to work; but it's ok now.
It is by my will alone my thoughts acquire motion; it is by the juice of the coffee bean that the thoughts acquire speed
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.
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.
I'm confused. The past three notebooks I've owned have all been immediately recognized as using WiFi cards with accompanying drivers.
Seriously, I think the article is trying to find a solution in the wrong area. If I want a laptop and I plan to use Linux (which I always do) then I plan to get a wifi card compatible with such. I have no idea how ndiswrapper works and have no plans to ever use it.
My most recent notebook - an HP/Compaq nw9440 - came with the option of a Broadcom or an Intel wireless card. I went with Intel for the simple fact that I know intel works.
Sure enough, wireless was up and running as soon as I installed SUSE 10.2 on the machine. (It initially came with Vista but I upgraded pretty quickly.)
The answer to WiFi is to ensure the manufacturers supply drivers - open source or not - to their chipsets, since they're no longer putting them in the firmware. Intel does. I believe Broadcom is now. Anybody else?
End of story.
The Kai's Semi-Updated Website Thingy
http://linux-wless.passys.nl/. Just search the complete listing and look for the Atheros chipset.
That's generally the solution to the wireless problem in linux. Get a notebook with an intel based wireless card built in. And if you don't want to fool around with graphics drivers for 3d acceleration, do the same - buy a laptop with integrated intel graphics.
Since i have a Medion Mim with some proprietry medion chipset, i'm stuck with no wireless for ubuntu.. :(
the driver doesnt work with NDIS wrapper either...
of course...
that doesn't stop me using debian stable on my desktop!
It's not pretty, but I found a solution which even works with old Windows 95 (for testing) and enables full WBA encryption. It works on any OS that can use the wired NIC in a machine. Are you ready...
Use an access point which is capable of Client Mode operation. I use a D-Link AP in client mode. I configure it with my browser. It requires no software install of any kind. Testing was done on the D-link AP and now a Linksys 54G router has been added to my travel pack because it cost less (lucky find, a version 4 for $12 at Goodwill).
I have been running wireless with an AP in client mode since Breezy Badger. Upgrading the firmware to DD-WRT has added the client mode. As a bonus, you get to use high gain antennas with much better range than a stock laptop provides, and the power is adjustable for use in poor signal locations. The router does the site survey for you internally, so you don't even need to know the SSID ahead of time. It is as simple as switching to either client or client bridge mode, scanning, choosing an AP, and picking the encryption and entering the key. After that it's net, nothing but net.
There are hardware solutions out there. The package may be a little big and bulky and not run on self contained batteries, but it provides excellent connections in hotels in marginal reception areas. With the external box, it can be positioned in a window where the neighbors open AP may provide better bandwidth than the hotel provides. I went to a Starbucks once not knowing the wireless wasn't free (T-mobile). I was able to find 2 unsecured APs from inside Starbucks to use instead. Nobody at Starbucks was the wiser. It beats getting busted for sitting in a car leaching on some residential street.
The truth shall set you free!