Archive: Wireless
March 26, 2008
BATMAN: adhoc mesh routing

BATMAN (Better Approach To Mobile Ad-hoc Networking) is a routing protocol designed for multi-hop ad-hoc mesh networks. When you run BATMAN on routers in an ad-hoc network, the nodes in the network constantly send out little broadcast packets that are picked up and re-broadcast by nearby machines. Rather than have each node develop a formal map of the network, they can figure out the most reliable routes to other machines in the network based on the speed and reliability of broadcast packets that they receive from other nodes.
You can imagine a scenario where router A might be a single hop away from the uplink router U, but the connection is somewhat unreliable or drops packets from time to time. If router B has a solid connection to U and also has a reliable connection to A, it might be a faster and more reliable to route A's packets through B, even though it's ultimately 2 hops to U. The way BATMAN works, router A would receive U's broadcast packets more frequently from B (due to the U<->A packet loss), which would cause it to automatically send outbound data through the more reliable B connection.
It looks like this might be fun to experiment with a neighborhood network or even in a larger home with poor coverage. BATMAN is available in OpenWRT, so you could scatter a number of cheap routers throughout an area, give one of them a DSL uplink, and have solid wireless laptop connectivity wherever you want it.
If you really want to get crazy, you can run the routing protocol on your Linux laptops too, making them full mesh participants and expanding the coverage area wherever you go.
B.A.T.M.A.N.
Using BATMAN with OpenWRT
Posted by Jason Striegel |
Mar 26, 2008 09:53 PM
Linux, Wireless |
Permalink
| Comments (3)
| TrackBack
| Digg It
| Tag w/del.icio.us
January 6, 2008
Turn a Windows Mobile 6 device into a WiFi Router
WMWifiRouter is a new utility that you can run on your WiFi-capable WM6 device to turn it into a GPRS-uplinked WiFi router. When activated, it will set up your WiFi link in ad-hoc mode and start a DHCP server. Your laptop will see a new network called WMWifiRouter, and connecting to it will funnel all of your network traffic through your phone and its GPRS connection.
It used to be that you had to use a separate laptop connected to your phone to do the routing and network address translation side of things. This hack will allow you connect 1 or more WiFi laptops anywhere where you can get a cell connection, and you can do it without additional hardware. All you need is your phone.
Why isn't this available as part of the base WM6 operating system?
WMWifiRouter - Link
WMWifiRouter forum discussion at xda-developers.com - Link
Posted by Jason Striegel |
Jan 6, 2008 07:55 PM
Mobile Phones, Wireless |
Permalink
| Comments (5)
| TrackBack
| Digg It
| Tag w/del.icio.us
January 4, 2008
Add Bluetooth to your iPod

fstedie came up with a nice hack for adding internal Bluetooth audio support to your iPod:
1st Ever Bluetooth-Enabled iPod!If you're like me, you've often asked yourself why Apple has not added native Bluetooth capability to their iPod line up. Even the iPhone only supports mono Bluetooth!
Sure, there are numerous adapters that plug into the iPod's dock connector to give you wireless music, but they are clunky, they come off easily, can't use them with your case and you have to charge them separately!
So, here is my way to add "native" internal Bluetooth support to your 4G iPod. The same method may be used with other iPod versions, I leave that up to you.
The hack essentially involves disassembling a small Bluetooth audio adapter and wiring it directly to the iPod mainboard. Audio input is tapped from the headphone jack and draws power directly from the iPod's battery, giving you a completely wireless and dongle-free audio device.
Check out the picture above, though, and you'll also notice fstedie has replaced the iPod hard disk with a CF card. He has an instructable for that, too. I mentioned Mark Hoekstra's hack to create an iPod-to-CF adapter last year, and it looks like these are now more readily available and can be ordered online. Pretty cool little iPod hacks, I must say.
Add Internal Bluetooth Capability To Your iPod - Link
Convert your 4th Gen iPod to use Flash Memory - Link
iPod CF and SD Card Capability - Link
Posted by Jason Striegel |
Jan 4, 2008 08:18 PM
Electronics, Hardware, Wireless, iPod |
Permalink
| Comments (4)
| TrackBack
| Digg It
| Tag w/del.icio.us
December 30, 2007
Eavesdropping on Bluetooth headsets
Here's a short video in which Joshua Wright demonstrates how a Bluetooth headset can be hijacked, allowing audio to be captured or sent to the device:
Few users realize that Bluetooth headsets can be exploited granting a remote attacker the ability to record and inject audio through the headset while the device is not in an active call. SANS Institute author and senior instructor Joshua Wright demonstrates.
All that is necessary is knowing the device address, which can be easily sniffed, and the secret pin, which defaults to 0000. The headset audio is tapped while not in a call, so any room conversation the headset's mic can pick up can potentially be listened to remotely.
Posted by Jason Striegel |
Dec 30, 2007 02:06 PM
Mobile Phones, Network Security, Wireless |
Permalink
| Comments (18)
| TrackBack
| Digg It
| Tag w/del.icio.us
December 16, 2007
HOWTO - DIY radio modem

Eric Seifert sent in some information on creating a home brew radio modem using a standard PC sound card, an iPod FM transmitter, and an FM radio. He has his current revision working at 9600 BAUD for distances in the neighborhood of hundreds of feet.
The sending side outputs an amplitude encoded data stream to the sound card, which is connected to the FM transmitter. On the receiving end, an FM radio receives the transmission, and outputs it to the receiving soundcard's line-in, where it is then decoded. The hardware set up is extremely simple. It's the software for reliably encoding and decoding the data (and handling error conditions) that's the tricky part.
Eric released some example encoding/decoding software on his site, so you can start with that and take a swing at improving its error handling ability. You'll need a Linux box with the ALSA and SDL libraries to compile it.
Radio Modem - Link
Posted by Jason Striegel |
Dec 16, 2007 09:22 PM
Electronics, Linux, Wireless |
Permalink
| Comments (3)
| TrackBack
| Digg It
| Tag w/del.icio.us
November 28, 2007
Internal bluetooth hack for the Asus Eee PC

tnkgrl spent some time exploring the motherboard of her Eee PC. Looking for available USB ports, she was able to hijack the USB trace that goes to the mini PCIe slot used by the Atheros wireless card. Since the Atheros doesn't use the USB signal, the card will still function without it. This gives you a spare USB port, perfect for embedding a tiny USB Bluetooth module!
If you don't mind soldering a few traces, you can add a built-in bluetooth device to your Eee PC. You'll still have the external ports available for other devices, and your wireless card will still function. The only difference is that when you can't find a hotspot, you'll be able to get a cellphone uplink and jack in using your new bluetooth connection.
Modding the Asus 701 (Eee) - Bluetooth - Link
Posted by Jason Striegel |
Nov 28, 2007 09:05 PM
Electronics, Wireless |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
November 23, 2007
Wifi range extender: 5 bars for 50 cents
With just a wire, a wood screw, and a drinking straw you can go MacGyver on your PC's WiFi and make yourself an omnidirectional "range extender" antenna, similar to what you'd find in the store for $30. There isn't a lot of talk about the reasoning behind the antenna design... it's just a straight duplicate of what's in the commercial product.
WIFI Range Extender Antenna - Link
Posted by Jason Striegel |
Nov 23, 2007 09:57 PM
Wireless |
Permalink
| Comments (4)
| TrackBack
| Digg It
| Tag w/del.icio.us
November 2, 2007
Verizon TOS updated; still behind the times

(image generated with HAHA FUNNY PICTURES).
James Kendrick has posted his take on Verizon's new terms of service (TOS). After recently settling claims about their unusual definition of the word "unlimited", they are up to some annoying tricks:
Verizon has posted their new TOS and sure enough they have cleared up what limits they may be placing on customer's usage and what they will do as a result. This includes a very interesting clause about throttling users who exceed the 5 GB limit.
...
You should note under the acceptable usage listed in the TOS that "automatic data feeds" are not permitted meaning no automatic RSS feed checking. Ouch.
Full details over at jkOnTheRun
Posted by Brian Jepson |
Nov 2, 2007 02:13 PM
Wireless |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
October 5, 2007
Make a cheap Xbox 360 Wireless Adapter with DD-WRT

DD-WRT, the awesome open source router firmware, has a feature that will turn your router into a wireless client instead of an access point. In this configuration, a cheap 802.11 access point can be transformed into a wireless adapter that you can plug standard ethernet-bound devices into.
This project will help you change a cheap wireless router into a wireless receiver for your Xbox 360. The total cost of this project can be as low as twenty or thirty dollars, compared to the one hundred dollars Microsoft wants for their little wireless dongle.
If you have a PC or two without a wireless connection, this hack is also a nice way to extend your network throughout your house without needing to pull any cables. I have a feeling that the hardware in most routers will pick up a stronger signal than built-in PC/laptop wireless adapters, so it may also be worth checking out if you get a spotty signal in your corner office.
DD-WRT Client Mode: Cheap Wireless For Your Xbox 360 - Link
Posted by Jason Striegel |
Oct 5, 2007 08:33 PM
Wireless, Xbox |
Permalink
| Comments (1)
| TrackBack
| Digg It
| Tag w/del.icio.us
July 30, 2007
iPhone tether: enable EDGE wireless on your laptop

Of all the applications you can upload to the iPhone thanks to the Jailbreak and iPhoneInterface hacks, a SOCKS proxy daemon is perhaps the most useful. It's also the best way to make full use of an unlimited data plan.
Recent developments have allowed iPhone hackers to compile background applications for the iPhone - among the most interesting so far is srelay, a SOCKS proxy server.srelay running on your iPhone opens up a very exciting possibility - you can use your iPhone's EDGE connection with a laptop or other Wifi-enabled device.
This is about as essential as it gets for laptop users who regularly travel outside the range of reliable WiFi. When this is activated, you'll be able to browse the web on your laptop just about anywhere you can get a cell signal. Your laptop will connect to the iPhone over an adhoc WiFi network, and the SOCKS proxy will happly funnel your web requests over the iPhone's EDGE data connection.
I should also mention that this sort of functionality is a typical feature for just about every other phone on the market -- I've been doing this with my GPRS Windows Mobile phone for years -- so it's nice to see the iPhone finally get with the program.
Tether your iPhone: EDGE internet on your laptop - Link
Posted by Jason Striegel |
Jul 30, 2007 07:57 PM
Wireless, iPhone |
Permalink
| Comments (1)
| TrackBack
| Digg It
| Tag w/del.icio.us
May 31, 2007
Build a Universal Wireless Repeater appliance

The beta-v24 version of the DD-WRT firmware has a new feature that allows it to function as a standalone range expander. This is similar to the functionality provided by a wireless distribution system (WDS) network configuration, but unlike traditional WDS, the repeater router emulates a standard client connection to the parent router. This eliminates the need to have two DD-WRT supported routers, running the same firmware, both set up specially for this purpose.
Simply put, you can configure a single repeater appliance and it will work in conjunction with the wireless router you normaly use at your home or office, regardless of the primary router's model or firmware. There's even an "AutoAP" option, which will allow your repeater to automatically monitor and connect to the access point with the strongest signal.
Complete instructions for getting this set up are available at the DD-WRT forums - Link.
Posted by Jason Striegel |
May 31, 2007 10:28 PM
Wireless |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
March 29, 2007
Upside-Down-Ternet: Having Fun With Wireless Interlopers

I'm a big fan of open wireless access points. As long as my neighbors are respectful, I've got more downstream bandwidth than I really need most of the time. That said, I can understand the frustration with having a persistant freeloader, so I can really appreciate this hack which allows you to send a "knock it off" message, without having to close down your blessed open network.
The Upside-Down-Ternet works like this:
- You set up a DHCP server to assign addresses from one IP netblock to known MAC addresses, and another "untrusted" netblock to unknown MACs.
- The trusted netblock is routed normally, but the untrusted netblock gets all port 80 traffic forwarded to a transparent squid proxy using iptables.
- The squid proxy filters all HTTP traffic, looking for URLs ending in jpg or gif.
- If a jpg or gif is encountered, the image is flipped using morgrify and the untrusted user is sent the upside down image instead of the original.
This could be easily modified to default to giving normal access. You could then direct known abusers to the crippled network. Another option would be to provide "degraded" access using a blur or desaturate filter on images. This would allow people to make use of the free service, but would require them to ask permission to be on the trusted list before having full access.
How do you like to deal with wireless interlopers? What's your ideal wireless setup - one that balances security, ease of use for legitimate visitors or passers-by, and quality of service? Give us a shout in the comments!
Posted by Jason Striegel |
Mar 29, 2007 08:19 PM
Network Security, Wireless |
Permalink
| Comments (3)
| TrackBack
| Digg It
| Tag w/del.icio.us
Keep Your Verizon EV-DO from Bouncing Between 1xRTT and 1xEV-DO

(screenshot from James Kendrick's blog entry)
I had this problems a couple of years ago when Verizon upgraded southern Rhode Island from 1xRTT to 1xEV-DO. I would constantly bounce between 1xRTT and 1xEV-DO, and couldn't maintain a stable connection, so the service became useless and I canceled (I was out of contract at the time). James Kendrick has found some hidden settings that force it to operate in one mode or the other.
I spoke with someone who wishes to remain anonymous who showed me how to do what I needed to see if it would fix my problem. Open up the Verizon Access Manager program and while disconnected from the network hit CTRL-D. Enter the password "diagvzw" in the dialog that pops up and you'll see a dialog where you can change a couple of modem settings.
Read all about it for complete details and the results. Link
Posted by Brian Jepson |
Mar 29, 2007 10:03 AM
Wireless |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
February 6, 2007
Un-Unwire Your Home

I've been a wireless fan for years now; my home network is pretty much an AirPort Extreme Base Station and an AirPort Express in WDS mode. I have a 5-port hub in my office for a desktop PC and my networked printer. But most of the bits that fly here, fly over wireless. However, I started getting some hints that I might be pushing it to the limit:
- AirTunes would constantly drop out whenever someone was moving large files across the network
- My Xbox 360 told me that my network was not fast enough to run Media Center Extender
And just a few days ago, Andy Oram
Posted by Brian Jepson |
Feb 6, 2007 08:06 AM
Wireless |
Permalink
| Comments (2)
| TrackBack
| Digg It
| Tag w/del.icio.us
Bypass Pay WiFi With Ping Tunnel

A lot of hotels, coffee shops, and airports are sporting pay-per-hour 802.11 service these days. In most cases, you'll be presented with what appears to be an open hotspot and a DHCP server will give you an IP address. When you open your web browser, though, a transparent proxy will deliver you a page that asks for you to enter a credit card number. Until you've paid, outgoing TCP traffic will be blocked.
More often than not, though, the network is configured to allow ICMP packets through unfiltered. If you find one of these lucky hotspots, you can ping google.com or another external server and you'll get a response back. You can use this feature to tunnel TCP traffic through an ICMP echo request to a proxy server that you've set up on an unrestricted network!
Ptunnel is an application that allows you to reliably tunnel TCP connections to a remote host using ICMP echo request and reply packets, commonly known as ping requests and replies.Setting: You're on the go, and stumble across an open wireless network. The network gives you an IP address, but won't let you send TCP or UDP packets out to the rest of the internet, for instance to check your mail. What to do? By chance, you discover that the network will allow you to ping any computer on the rest of the internet. With ptunnel, you can utilize this feature to check your mail, or do other things that require TCP.
To use Ptunnel, you'll need a server to run the proxy on. Your bandwidth will be a bit limited, but the software includes a simple authentication mechanism so that you can ensure you're the only one using your proxy. The way it works, it's more useful for connecting to your server via ssh than it is browsing the web. That said, it's pretty darn cool and awfully handy, especially if you need to check your mail and don't feel comfortable passing a credit card to a random wireless account server.
Download Ptunnel here and give it a shot - Link.
Nulldigital.net has a good writeup on configuration and usage - Link.
Related:
Posted by Jason Striegel |
Feb 6, 2007 07:47 AM
Network Security, Wireless |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- AppleTV
- Astronomy
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- OpenOffice
- Outdoor
- Parenting
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
Recent Posts
- Robosapien has a coil gun
- Faster Windows shutdown
- Assign USB drives to a folder
- Little drummer bot
- CSS ad blocking for Firefox and Safari
- Design Coding: web standards rap
- Shredz64: Guitar Hero for C64
- BATMAN: adhoc mesh routing
- iNoteBook: repurpose an old laptop
- Safari single window mode
www.flickr.com
|




