Linux Unwired
Infrared, Bluetooth, 802.11 (in current a, b and g offerings, 802.11i is also being discussed), wireless access points friendly to Linux, United States commercial cellular networks and GPS systems are all covered in a single title that surprisingly fits all of this information into 284 pages. All the chapters can be subdivided into two large parts - familiarizing yourself with the technology (the primer on GPS is pretty good) and running Linux on it (with code and shell command samples and lots of URLs).
Introduction
The authors start up with introduction to wireless, intended for Linux geeks who are not quite up to speed on radio technologies. The concepts of waves, spectrum and radio wave behavior are explained, so later the reader can explain what a retracted radio wave is. Then the first chapter moves on to explain antenna behavior, wireless infrastructure modes and some common problem, like a hidden node in ad-hoc infrastructure. The chapter is well-written, and you're not expected to have an advanced radio degree or ARRL membership to understand the terms.
WiFi cards
Chapters 2, 3 and 4 deal with connecting a Linux desktop or notebook to a wireless 802.11 network. The first issue is that of chipsets used in the wireless card, and even though enough research has been done already, authors discuss different quirks relevant to Intersil Prism, Lucent WavelLan/Orinoco, Aironet/Cisco, Symbol, Atmel, Atheros and Broadcom chipsets. We need to discuss chipsets instead of discussing the actual wireless cards, since some hardware may be shipped under the same brand name with different internals. "A good case in point: the D-Link DWL-650. This radio card initially shipped with a Prism II chipset and was very popular, because it worked on a Linux box. However, D-Link changed chipsets when it released the DWL-650 Version 2, choosing the ADMtek chipset. It is very difficult to tell from the packaging which version of the DWL-650 you are purchasing".
The chapters are done in traditional walk-through mode. They are not HOWTOs or compendia of reference information, available from the manufacturer's Web sites. The authors made an effort to ensure the reader is capable of starting up a wireless connection on Linux box, knowing nothing about it while learning important technology in the process. Certain wireless drivers need to be compiled into Linux kernel, so the task is not for the meek, but with detailed explanation, plenty of URLs and nice fonts and paragraph formatting O'Reilly Publishing uses to differentiate between the text, commands entered at the shell, and URLs, the book is easy to read.
Chapter 3 (available in PDF) teaches the reader how to connect to existing wireless network once the wireless card has been recognized by the system and proven functional. By the time the book hit the stores it was already a bit out of date, since the very first hotspot operator, Cometa Networks, shut down in May 2004. Chapter 4 discusses wireless security, touching WEP settings, a $20 Linuxant utility allowing the user to implement WiFi Protected Access, as well as authentication utilities wpa_supplicant and XSupplicant.
WiFi access points
The issue of WiFi access points is not trivial either, as many vendors out there will ship the product with a Windows app being the only way to set it up. However, for the access point setups that are Web-based, a browser in Linux will do the job. The most Linux-friendly access point include Linksys, Netgear, D-Link, Cisco, SMC, EnGenius, Belkin, US Robotics, Microsoft and ActionTec. Again, harsh reality kicked in between the time the book was written and went to press, and it's sad to see yet another Linux-friendly access point vendor quitting the market.
Not satisfied with commercial offerings out there? Chapter 6 takes the reader into the task of building your own access point. Don't forget that an access point doesn't need to be a compact portable - your old 486 with Linux on it and a wireless card connected to it might serve the purpose. Unfortunately, after all the hardware is bought and assembled, the final product might still cost you the quadruple (in case you go with smaller form-factor motherboards and CompactFlash cards for software storage), so consider this more as a geek project, not a viable solution. The authors use LinuxAP distribution for this task.
16 pages are dedicated to hacking Linksys WRT54G access point with Sveasoft, described as disruptive technology by Robert X. Cringely. The authors also take a brief look at Wifi-box and OpenWRT.
Other wireless technologies
Bluetooth, Infrared, cellular and GPS chapters follow the same chapter plan - first the basics of the technology and simple use case scenarios of what you might use it for, then the hardware needed to implement the wireless technology, available Linux software to do the jobs, accompanied with the list of shell commands to successfully talk to a wireless product, and after that typical applications of the working link.
The authors tested various wireless data plans in the United States, although this data, once again, is constantly changing as the operators buy one another and introduce new data plans. The winner of the quality and the fastest download tests, by the way, was a Motorola v120e phone on Verizon Wireless network. In upload speed tests a Merlin C201 PCMCIA card on Sprint PCS network won. T-Mobile also offers a PCMCIA card for its GPRS network, so the authors install and run it under Linux in Chapter 9.
The last chapter discusses using Linux computers with GPS devices and open-source GPSdrive project for reading GPS data.
The book
For those just venturing into the wireless world, the book would be useful. All the information provided on WiFi connectivity can perhaps be googled and found in various HOWTOs. With wireless operators, GPS systems and Infrared connection one would have to rely on enthusiast sites and newsgroups. Having such informative title that covers all of the technologies would be very useful to a Linux enthusiast.
With that, the book can be quite overwhelming, although it's probably not intended to be read from page 1 to the end. There's usually more than one correct way to do things in Linux, and for each successful project another competitor appears on SourceForge the next day. I like the authors' approach of dedicating most of the chapter space to one, leading, Linux package that seems to be dominant in the field, and then briefly mentioning the others. A notable omission is Intel's Centrino drivers for Linux, as the company is bound to become a leader in the chipset marketplace with 42% of notebooks shipped in 2003 running Centrino chipsets.
But overall the book proved to have a high informational and educational value, not only you follow the steps on setting up wireless technologies on Linux, but you also learn the internals of the technology and why certain things are done that way, but not another.
You can purchase Linux Unwired from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, carefully read the book review guidelines, then visit the submission page.
I was one of those users who read about DWL-650, went to buy one and came back with a DWL-650+ without noticing it. It sucks. At my Computer Sciense Departament (like 12 AP), my laptop gets frozen because the driver and the computers turns very unstable. At home it works well because I have only one AP. Wireless tools are very primitive also. You can't scan networks not being root. I started writing a KDE tool emulating the funcionality of the new Win XP Service Pack 2 wireless tool but libiw is a pain. I ended importing a patched sources (from some Ximian guy) to use it. Still havent figured how to scan available networks being a user. Design flaws from a server oriented operating system.
I am an avid unix/linux user and I pretty much prefer to run my boxen in non-Windows mode. I also am an information security professional and use many tools such as Kismet to do wireless discovery. After much reading and research I decided on a Cisco/Aeronet card as my card of choice for both sniffing and wireless use in Linux. Well low and behold once I got the Cisco card, which was stated as being supported in the OS, I managed to get it installed and compiled to be used as a sniffer but to date and after a solid year of trying I have not been able to get the damn thing to work as just a network card. After months of frustration I finally gave up and went and bought an Orinoco card that I thought I would use for both sniffing and network access. Again, I managed to get things compiled and working this time with network support for the Orinoco card and no ability to sniff. Although both vendors claim full functionality within Linux I am to date still carrying around two wireless cards to get the job done. Sadly, when I boot Windows and plug in either card in XP they both seem to just work. Ah, the bitter irony.
It all depends on your needs or work habits. Here are my personal reasons:
GreyPoopon
--
Why is it I can write insightful comments but can't come up with a clever signature?
Turn off the power saving options for the wifi card. do not allow windows to put the device in sleep mode and use the least power friendly option avalible for the card. these have to be changed in the driver prefs under the hardware management. i was getting the exact same problem even when sitting >10ft from the ap. when i turned off all the power save features for the card these problems went away.
-foxxz
as much as the many complaints about xp & wifi I have not had as many problems, I have found if you turn off wep (which is pretty much useless anyways) and leave only mac address protection to your wireless router the amount of lost packets/connection drops to next to nothing. Mind you it does mean someone might find out im posting at slashdot (oh the horror!) and I have to manually encrypt files that have sensative material (which you should anyways) Under Linux though as much as once the connection is started its great, getting that 1st connection is hard as hell, showing windows (in general) one point where it beats linux consistantly (and its not our exactly our fault either) hardware support.
That will allow the machine to quickly reconnect, but it doesn't solve the actual problem. It just remedies the symptom a bit.
It is unacceptable to be disconnected, even if you are immediately reconnected. This is the situation of one of my clients.
His PC bounces while his two laptops, both on the same desk, all of which are no more than 5 feet without obstruction from the wireless router, never have a problem.
Plus his PC didn't always do that. And changing router frequency channels doesn't solve it.
Dumping the MS config and moving to a manufacturer connector is the only solution for hosed XP machines like this.
.sigs are for post^Hers.
Besides user convenience, one of the benefits of wireless networks (particularly long-range wireless) is that they can compete directly with DSL, Cable modem, and landline phone service. My parents live out in the country on a hill about five miles from the nearest large town (McMinnville, OR). They have fast internet service thanks to a reasonably forward-looking ISP who set up a wireless network using radios from waverider. Unfortunately, the waverider site doesn't list prices anymore (I believe they used to sell an access point and five client radio modems for about $5000 or so, and additional radios were about $400). It uses the 902-928 mhz ISM band, so there's no FCC license required, and the line-of-sight requirements aren't as strict as 802.11. Once 802.16 (wimax) gets established, similar performing, cheaper, non-proprietary radios may become available.
This is a great way to compete with cable modem and DSL without needing to deploy much infrustructure. Any well-motivated party can set up one of these networks. It may also compel landline internet providers to offer higher throughput and better service, which is good for everyone.
-jim
From my dealings with BCM, I wouldn't expect them, ever. They have a profit model where they provide basic functionality and docs with their product. Everything above that, including non-MS drivers, is pretty much an additional cost, typically assessed as an NRE, and can run to the tens of thousands of USD. So you get two results:
1. No 3rd party will write Linux drivers, nor will BCM, until there is a clear need from a profit standpoint. This is like trying to get major software vendors to make a port.
2. BCM certainly won't release the docs, because then they'd lose this part of their business.
Someone, please, please tell me BCM is going to play nice and let us have a Linux driver. I'd like to hear that I'm wrong here, but just about every BCM product has worked this way.
Any recommendations on the best wireless card for Linux? Both PCI and PCMCIA.
As long as a lot of people are complaining about XP's wireless configuration, could someone point me in the direction of the corresponding tool for Linux? I'd really like to be able to bring my laptop out of suspend in a new place and have a little dialog pop up showing me what wireless networks are around.
For added points, it should work with any wireless card and driver that is supported under Linux.
-allen