Slashdot Mirror


Wireless Hacks

hanksdc writes "With the proliferation of wireless networking over the past year, it has become easier and easier for even the most budget-minded geeks to afford wireless gear for their homes, offices, and neighborhoods. Rob Flickenger's latest, Wireless Hacks expands upon his previous book on the topic, Building Wireless Community Networks , and takes its reader by the hand on a fast-paced run through a large assortment of hacks related to wireless networking." Read on for the rest of hanksdc's review. Wireless Hacks author Rob Flickenger pages 286 publisher O'Reilly rating 8 reviewer hanksdc ISBN 0596005598 summary Tips and Tricks for getting the most out of your wireless network

From the back cover we find that the book is targeted towards the intermediate to advanced wireless user, and I found that definitely to be the case. Some of the hacks use a lot of technical jargon, and assume a fair amount of background knowledge from the reader. You should probably already know how to get a wireless link up and running to really benefit from the book. But don't let that be a deterrent if you're a newbie. It's still a fun read, and provides a lot of ideas for the inquisitive and creative mind.

The book is very readable, (all the Hacks series books I have read would, like their venerable ancestor, UNIX Power Tools , make for great bathroom books). Each hack is self-contained, and can be read in just a few minutes. You can read the book straight through, or browse around, find what interests you and go from there. Most hacks have references to other hacks in the book, so reading it can be like browsing a web page sometimes. Many hacks also have references to further sources of information on the topic covered.

There are hacks here for UNIX/Linux platforms mainly, but all you Ti/Al-Powerbook zealots will find plenty to lick your lips over as well, with several of the hacks devoted to wireless networking with OS X. There are even some for the Windows users as well. Many of the hacks (since they deal with hardware) could be utilized on any platform. Well, ok, you might have a bit of a hurdle to get your Pirouette cantenna hooked up to your vintage Apple ][c, but this book makes a good breeding-ground of ideas for those so inclined.

The book is divided into several chapters, each devoted to a particular topic. Each chapter contains a number of hacks related to that topic:

  • Chapter 1, "The Standards," covers the alphabet soup of current wireless protocols, with a brief introduction to each.
  • Chapter 2, "Bluetooth and Mobile Data," covers Bluetooth technology (need to use your Bluetooth-enabled cell phone to act as a modem for your laptop in a pinch? If only those phones weren't so pricey...*sigh*)
  • Chapter 3, "Network Monitoring," is all about finding out what's going on on the local network, including various ways to sniff traffic, broadcast network services, perform network discovery, and analyze traffic.
  • Chapter 4, "Hardware Hacks," gets down to the metal, discussing topics ranging from boosting signal strength to building your own access point from micro form-factor hardware to cabling and antenna guides.
  • Chapter 5, "Do-it-Yourself Antennas," describes various ways to build your own antennas all the way from Pringles cans to milled aluminum wave guides (Don't forget to use ventilation when soldering ;-).
  • Chapter 6, "Long distance Links," offers tips on setting up, well, long distance wireless links.
  • Chapter 7, "Wireless Security," dispels the vendor-propagated myths of WEP 'security,' and gives practical advice on how you can avoid the guy next door from sniffing your private traffic (not that you'd have anything to hide, of course...).
The book's website has a full table of contents, listing each hack, if you're interested.

Throughout the book there is a lot of information repeated from Building Wireless Community Networks, as well as a few hacks copied over from Linux Server Hacks [Slashdot review here], but all together it makes a very useful collection, and a nice addition to O'Reilly's Hacks series.

So what's my take on it? If you're doing just about anything with an 802.11x network, you'll likely find something fun or useful here. If you're brand new to wireless networking, you may want to come up to speed with something a bit more tutorial-oriented. Perhaps one drawback to the book is its recipe-style format. There's not a lot of background information offered with each hack, but rather a lot "do this, then this, and you get this." If you're not used to hacking and experimenting with things, you might find yourself a bit lost. It certainly isn't a college textbook, which can be both good and bad, depending on what you're looking for.

Overall, if you're the forward-thinking, range-extending, hardware-tinkering, soldering-iron wielding, average slashdot reader, you'll probably find it a fun read with lots of good ideas to offer.

You can purchase Wireless Hacks from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

19 of 134 comments (clear)

  1. Hacker's challenge 2 by Sir+Haxalot · · Score: 5, Insightful

    is also a useful book on the subject, covering 'a few scenarios involving wireless access that each manage to point out a different facet of wireless security.'

    --
    I have over 70 freaks, do you?
  2. www. no cat . net by fluor2 · · Score: 3, Informative

    We use nocat ( www.nocat.net ) at work. Its free, its open source, and it is highly customizeable.

  3. Speaking of wireless by Anonymous Coward · · Score: 4, Interesting

    I live pretty close to a Starbucks with wireless. Has anyone had any experience using their service from home? Can you do it? Is it worth it? Do they leave wireless on when the store is closed?

    1. Re:Speaking of wireless by LinuxOnHal · · Score: 3, Informative

      You probably are resolving name lookups, but I'll bet what you are seeing one of two things:

      1. They set a wildcard in their DNS server, so every query returns the same IP address, probably of their authentication server.

      or

      2. They have an HTTP proxy server that intercepts everybody who is not authorized for access, and then the DNS could still function normally.

      The problem with number two is then in theory, if DNS queries still work right, then SSH, POP3, IMAP, etc probably works fine, and that would defeat the purpose. One #1, they could even assign a dummy IP address that doesn't route or translate to give internet access.

      --
      Trying is the First Step to Failing --Homer Simpson
    2. Re:Speaking of wireless by John+Hurliman · · Score: 2, Informative

      I don't know how Starbucks does it in particular, but I've seen several different setups. Often times the authentication is done at the DHCP server, where a temporary IP on a network with no net access is assigned to unauthenticated clients, and an IP on the net-connected network is assigned once you have authenticated and restarted your network connection. On campus here @ WSU, your wifi will pick up a good IP but the only route to the internet is through a VPN tunnel you have to authenticate with, and load a kernel module that only exists for 2.2 and 2.4 Linux :-(. Another popular scheme is redirecting HTTP with a proxy, as was already mentioned.

  4. What about the rest of us... by GillBates0 · · Score: 4, Funny
    Overall, if you're the forward-thinking, range-extending, hardware-tinkering, soldering-iron wielding, average slashdot reader, you'll probably find it a fun read with lots of good ideas to offer.

    ...woman-fearing, microsoft hating, RIAA loathing, SCO bashing, tinfoil hat-wearing, troll-posting, penguin-loving, overlord-welcoming, beowulf-clustering, and russia-sovieting slashdot readers? Will we find it a good read too?

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
  5. Why Wireless? by Eberlin · · Score: 5, Insightful

    I'm questioning the purpose of wireless technology. I understand that it's more convenient than a wired network but is there anything else?

    Unless you've got an office full of notebooks, the best solution still seems to be a mixture of both wireless and wired...with wireless locked down as much as possible (even to the point of having to VPN through to the internal network).

    It's fairly scary that one of the main reasons people go wireless if for convenience (and supposed simplicity for home users) -- and it's these same home users that will probably not take the time and effort to learn how to secure their network.

    1. Re:Why Wireless? by Tumbleweed · · Score: 2, Insightful

      I'm renting a room in a house - we can't run cabling since it's not our space, thus, wireless, no choice.

      Is this that hard of a concept? Sometimes cabled just isn't an option.

    2. Re:Why Wireless? by Matey-O · · Score: 2, Insightful

      #include(You_Are_New_Here_arent_You.h)

      If the bandwidth is adequate, you have ZERO cost in moving a wireless office from point A to point B.

      Wireless has been a GODSEND in/under/around Hotel conferences (the SANS security conference was REALLY cool: Track 1 was how to hack, Track 3 was how to catch the hackers...the wireless packets came rapidly and were Very Interesting.)

      Any traveler with a reasonably secure setup has an office just about anywhere he opens the lid on his laptop.

      Why wireless? If you spent ANY TIME with a wireless system? Ever find that Cat5e cable you ran thru the walls at home is No Longer Necessary?

      As far as clueless newbies using quicken in an open WLAN, this is still early cutting edge stuff, reguardless of what the Slashdot fanboys say. There's a window of opportunity with wardriving that won't exist in 5 years time. The current firmware for linksys' router now contains WEP, Raduis, WPA+Radius, and WPA pre-shared keys. That's a heckuva lot better than a 56 bit Orinoco Silver card you got two years ago.

      --
      "Draco dormiens nunquam titillandus."
    3. Re:Why Wireless? by Anonymous Coward · · Score: 2, Funny

      You can take your laptop to the toilet with you and surf the web. I thought everyone knew this.

  6. Coolest Hack I've seen in awhile by Matey-O · · Score: 4, Interesting

    The Linksys WRT54g basestation/firewall/router/toaster is a MIPS box with 16mb of ram and linux...

    This guy's got snort running on it:http://www.batbox.org/wrt54g.html (with a remote nfsmount for logs)

    and these guys have info on hackin 'em:
    http://www.seattlewireless.net/index.cgi/Lin ksysWr t54g

    (I'm lazy, look out for the spaces)

    --
    "Draco dormiens nunquam titillandus."
  7. Re:Wireless still = Dangerous by lanswitch · · Score: 4, Interesting
    In the Netherlands there is an experiment going on with WIFI, www.wirelessleiden.nl

    Right now I can use the 'net all around the center of the city I live in, Leiden (of Pilgrims fame). In a few months a commercial ISP will provide internet access through the wifi-network. Quite how they want to make profit, I don't know. Still, it's cool to walk with my Ipaq (opie linux) in my hand and see all the networks around me. Most people just think I'm playing with some pda or gameboy.

  8. Dispelling the Myth of Wireless Security by Slashdolt · · Score: 3, Interesting

    I read this article awhile ago. Given that so many people are setting up wireless networks in their homes/apartments, it really makes me wonder how many of them are being hacked, and allowing their neighbors to get free Internet access.

    On the other hand, it could be a good defense if you actually wanted to give your neighbor free access. ;-)

    --
    Slash

    1. Re:Dispelling the Myth of Wireless Security by Mars+Saxman · · Score: 2, Interesting

      Hacked? I left mine open on purpose. I'm not using most of the bandwidth anyway, so why keep it locked up?

      -Mars

    2. Re:Dispelling the Myth of Wireless Security by peter_gzowski · · Score: 3, Interesting

      A guy I do computer work for actually accidentally hacked his neighbours wireless network. His wireless network that I set up for him (with a WEP key, for what it's worth...) went down because somebody reset the box, but his laptop upstairs just picked up another network and started using it. He wouldn't have even noticed except the signal strength was poor, so his interent was slow.

      --
      "Now gluttony and exploitation serves eight!" - TV's Frank
  9. Re:Wireless still = Dangerous by cybermace5 · · Score: 2, Insightful

    Are talking about sharing your bandwidth, or sharing the cost? Because Speakeasy has a setup where you can share your cable connection with a neighbor, and they will handle the billing.

    Too bad I can only get Roadrunner. My neighbor has Roadrunner also, but they are home at different times of the day and really just use it as a faster AOL so they don't have to wait so long for pages to load. For a 50% reduction in costs, I'd probably see barely a 5% reduction in service.

    --
    ...
  10. Why wires? by bluGill · · Score: 2, Insightful

    I question wired networks. They make sense for servers and backbones. For most users though, wires to the desktop do not make sense. Copper isn't free, and you have to pay someone to run the wires to each desktop. Hope you run enough wires too, or you will pay him to go back latter when one guy comes up with a good reason to run 3 computers in his cube. (I've known several good reasons to do this) Of course you could run more wire to each cube just in case, but then your costs have gone up a lot more.

    I also question the idea of not having an office full of laptops. For a company of any size, having a laptop around means you get work done for the few moments that a meeting doesn't require your care.

    Run wireless and be done with it. The speed is plenty fast if you use care in the design. (Though I agree that security needs to be addressed) Servers need the bandwidth of real wires, if your desktop needs that much bandwidth you need to re-think your application.

  11. Re:Wireless still = Dangerous by PhysicsExpert · · Score: 2, Troll

    While you are right to be concerned about the security aspects of 802.11 I think that the situation will improve before too long.

    The current problem is that wireless cards work by broadcasting the signal out over a sphere, typically having a radius of around about 100m. This is great in that neither the transmitter or the receiver need to have much spatial directionality, however it meansd that anybody within that radius can tap into your traffic and start breaking any encryption you hyave going.

    Now most people are trying to solve this by improving the encryption but here in the lab we are working on a different technique. We are using a directional system whereby a conducting channel is set up between the user and the access point meaning that any intruder would have to sit directly on this lne of sight, thereby greatly increasing their chances of detection.

    The system works by not by electromagnetic radiation, but by using a stream of ions, which can be produced by common salt (NaCl), with a Na+ ion representing a binary 1 and a CL- representing a binary 0. At present the system is fairly experimental but I would expect to see it commercialized within a few years.

    --
    All that glitters has a high refractive index.
  12. Re:Wireless still = Dangerous by LarryRiedel · · Score: 2, Funny

    Last year at the WERN conference in Geneva I saw IBM demonstrate something along these lines which instead used muon and tau neutrinos to transmit data to their research facility in Kuala Lumpur. Because of the weak interaction with baryonic particles, they could use a line of sight path completely below the surface of the earth, so very secure. Although the helical magnets they used in the accelerator were relatively small, they said this would have to be a solution only for fixed wireless because of power requirements, at least until the ubiquity of fuel cell powered devices, probably at least 5 years out.