Linux Makes Wi-Fi Happen in New York City
On Sunday I returned to Alt.Coffee to meet with Ahmi Wolf. He and Mark Argo are the creators of the Bass-Station, a turn-of-the-80s suitcase-size ghetto blaster that also happens to be a digital juke box and a Wi-Fi hot spot. Ahmi and Mark removed the radio and cassette components of this funky old thing and replaced them with a variety of modern portable Wi-Fi goods: Via mini-ITX motherboard, wireless interface card hooked to an antenna, Debian (Woody) loaded onto a CompactFlash card, and a 120GB hard drive. They left the amplifier and speakers and hooked them up to the board's audio output.
Boom-Box: the Guts behind the Glory
The Bass-Station's guts consist of a mini-ITX motherboard using an 800MHz processor (www.viatech.com), 256MB of RAM, a Prism-based PCI wireless interface card and a 120GB IDE hard drive. It runs Debian Linux (Woody 3.01), which uses the HostAP drivers (hostap.epitest.fi) to put the Wi-Fi card into an access-point mode so the machine appears as a managed node as opposed to an ad hoc client mode. We have a DHCP server for dishing out IP addresses to wireless clients. It is the standard ISC DHCP server that comes with almost all Linux distros, configured in the standard manner. The Bass-Station also runs a DNS server configured to serve as the top-most authoritative DNS server on the Net—the so-called dot (.) domain, which resolves all domains to the IP address of the Bass-Station. This way any URL a user points to takes that user to the Bass-Station's Web server.
There also are alternative ways to take users to a specific Web page. Using active portal software like NoCat (www.nocat.net) will do this, but the purpose of such software is to be a portal or entryway to a network. The problem with this software is that it tries to resolve the intended URL before it shows you the portal page. Because the Bass-Station is not connected to or associated with any other network, there is no means to resolve an external intended address, so the program tries to resolve and resolve and doesn't show anything. So here's the hack-around. Start with a clean installation of the DNS system Bind (we used version 9). Then, in /etc/bind/named.conf change the zone “.” entry to the following:
zone "." {
type master;
file "/etc/bind/db.root";
notify no;
};
Then, replace the default db,root file (back it up first) with a file that contains only the following:
;-----------Beginning of file------------; $TTL 604800 @ IN SOA . root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL @ IN NS . * IN A 192.168.23.1 ;-----------End of File----------------;
Replace the IP address 192.168.23.1 with the IP address to which you want all domains to be resolved.
Data lives in a MySQL database and is displayed through the Apache Web server. Together these provide the interface to all functionalities. For now these include:
Uploading files (we're using HTTP, so all interaction can happen through a browser).
Browsing/viewing/downloading of files located on the Bass-Station.
Controlling the playback of music from the stereo.
We use mpg123 for media file playback. I also wrote the back-end program for control of mpg123 and interaction with our databases. C++ source should be available on our site some time in the future.
—Ahmi Wolf
The result is the social and aesthetic opposite of an iPod: a big ugly stereo that's also a Linux-based Wi-Fi access point, plus a juke box with a big-ass hard drive. The idea was to create a juke box for all kinds of convivial settings—from parties in parks to hang-outs on college campuses. Everyone connected by Wi-Fi to the Bass-Station gets to contribute music and play disk jockey, so it rewards cooperation as well.
The Bass-Station belongs to the neighborhood extranet—not to an individual and not to the whole world. Ahmi explains:
The Bass-Station is not connected to or a part of another network. It creates it's own network that exists only within the range of the Bass-Station itself. On one hand, the range of Wi-Fi is limited, but the limited range makes it special. Users of the network are all in close proximity to each other, making them members of a community—be it a stable, persistent community or a spontaneous and mobile one like the Bass-Station's network.
Ahmi's Bulgarian friend Milena Iossifova, a fellow student at NYU's Interactive Telecommunications Program, has a way-cool Wi-Fi creation of her own called Wi-Fisense, which she calls “a wearable scanner for wireless networks”. It's a handbag with 64 LEDs in three different colors, each turned on by Wi-Fi activity on a different channel.
The optimism and energy of all this reminded me of what Silicon Valley felt like back in the 80s and 90s but without the corrupting context of other people's money. Ahmi, Milena and Dave already have produced enabling goods in this new culture.
Doc Searls is Senior Editor of Linux Journal
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.
Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.
Sponsored by ActiveState
| Speed Up Your Web Site with Varnish | Jun 19, 2013 |
| Non-Linux FOSS: libnotify, OS X Style | Jun 18, 2013 |
| Containers—Not Virtual Machines—Are the Future Cloud | Jun 17, 2013 |
| Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer | Jun 12, 2013 |
| Weechat, Irssi's Little Brother | Jun 11, 2013 |
| One Tail Just Isn't Enough | Jun 07, 2013 |
- Speed Up Your Web Site with Varnish
- Containers—Not Virtual Machines—Are the Future Cloud
- Linux Systems Administrator
- Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer
- Non-Linux FOSS: libnotify, OS X Style
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- RSS Feeds
- Reply to comment | Linux Journal
43 min 23 sec ago - Reply to comment | Linux Journal
4 hours 43 min ago - Yeah, user namespaces are
5 hours 59 min ago - Cari Uang
9 hours 30 min ago - user namespaces
12 hours 24 min ago - yea
12 hours 49 min ago - One advantage with VMs
15 hours 18 min ago - about info
15 hours 51 min ago - info
15 hours 52 min ago - info
15 hours 53 min ago
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
Re: Linux Makes Wi-Fi Happen in New York City
Personally, I'm looking for this kind of 'exciting development' in my neighborhood, but rural New Hampshire is not going to go WiFi for a few decades, I'm certain!!! I'm glad someone is doing it, though.
I really loved the ghetto blaster conversion idea - very reminiscent of the 1970s trend of converting floor standing 78 RPM Victrolas to use 'modern' turntables (to play LPs/45s) and adding an AM/FM reciever to make a former cast-off into a retro home entertainment center.... just like this Bass-Station, for today.
Great article!