A Router-Based Dev Board That Isn’t A Router

Here’s somethirouterng that be of interest to anyone looking to hack up a router for their own connected project or IoT implementation: hardware based on a fairly standard router, loaded up with OpenWRT, with a ton of I/O to connect to anything.

It’s called the DPT Board, and it’s basically an hugely improved version of the off-the-shelf routers you can pick up through the usual channels. On board are 20 GPIOs, USB host, 16MB Flash, 64MB RAM, two Ethernet ports, on-board 802.11n and a USB host port. This small system on board is pre-installed with OpenWRT, making it relatively easy to connect this small router-like device to LED strips, sensors, or whatever other project you have in mind.

The board was designed by [Daan Pape], and he’s also working on something he calls breakoutserver There’s a uHTTP server written specifically for the board that allows any Internet connected device to control everything on the board. There’s also an HTML5 app they’re developing which could be pretty interesting.

All in all, it’s a pretty cool little device that fits nicely in between the relatively simplistic ‘Arduino with an Ethernet shield’ and a Raspi or BeagleBone.

Android Doorbell Notifier

Breadboarded circuit to detect when doorbell rings

It’s always unfortunate to find a FedEx tag on your door saying you missed a delivery; especially when you were home the whole time. After having this problem a few times [Lee] decided to rig up a doorbell notifier for his Android phone.

[Lee]’s doorbell uses a 10 VAC supply to ring a chime. To reduce modifications to the doorbell, he added an integrated rectifier and a PNP transistor. The rectifier drives the transistor when the bell rings, and pulls a line to ground.

An old Netgear router running OpenWRT senses this on a GPIO pin. Hotplugd is used to run a script when the button push is detected.

The software is discussed in a separate post. The router runs a simple UDP server written in C. The phone polls this server periodically using SL4A: a Python scripting layer for the Android platform. To put it all together, hotplugd sends a UNIX signal to the UDP server when the doorbell is pushed. Once the phone polls the server a notification will appear, and [Lee] can pick up his package without delay.

PirateBox, For All Your Wireless Dead Drop Needs

piratebox

Here’s an interesting idea: get a router, Android device, or Raspberry Pi, put it on its own wireless network, and allow anyone to upload and download files. That’s a PirateBox, a small node in the web of digital culture and also a really great way to distribute files at a LAN party.

We’ve seen these type of things before, but now, thanks to [David] and [Matthias], and a bunch of other people, there’s now an easy way to turn a Raspi, Android, or anything that runs OpenWrt into a wireless dead drop. Also included in the software is an image board (think chan) a chat room, UPnP media server, and a browser-based file sharing system. Want to share a “linux distro”? Just upload it to the box over WiFi and it’s available to anyone in range.

Installers are available for devices you probably have sitting around in a junk drawer. Great for that Pi you’re trying to find a use for, and figuring out how to run one of these completely off the grid is an interesting challenge, to boot.

 

 

VoCore, The Tiny Internet Of Things Thing

vocoreWith tiny Linux boards popping up like dandelions, it was only a matter of time before someone came out with a really tiny Linux board. This is it. It’s a tiny board less than an inch on each side with an 802.11n System on Chip running OpenWrt on Linux. The best part? You can pick one up for $20 USD.

The VoCore isn’t so much as a cut down ARM dev board as it is a cut down router capable of running OpenWrt. It’s not a power house by any means with 8MB of Flash, 32MB of SDRAM, and a 360MHz CPU, but if you ever need something that’s less than an inch square, you probably don’t need that much power.

The VoCore features interfaces for 100M Ethernet, USB host and device, UART, SPI, I2C, I2S, and 20 GPIOs for blinking LEDs and listening to sensors. There’s also a dock that breaks out the Ethernet and USB ports, available as a kit or already assembled.

It’s a pretty cool device, and with low current draw (about 200mA) and being able to accept +5V power, we can easily see this tiny board popping up in a few projects.

 

RiotNAS: Mobile Storage For Street Photography

riotnas1

You’re likely aware of the protests and demonstrations happening throughout Venezuela over the past few months, and as it has with similar public outcries in recent memory, technology can provide unique affordances to those out on the streets. [Alfredo] sent us this tip to let us know about riotNAS: a portable storage device for photos and videos taken by protesters (translated).

The premise is straightforward: social media is an ally for protesters on the ground in these situations, but phones and cameras are easily recognized and confiscated. riotNAS serves up portable backup storage via a router running OpenWRT and Samba. [Alfredo] then connected some USB memory for external storage and a battery that gives around 4 hours of operating time.

For now he’s put the equipment inside a soft, makeup-looking bag, which keeps it inconspicuous and doesn’t affect the signal.  Check out his website for future design plans—including stashing the device inside a hollowed out book—and some sample photos stored on the riotNAS system. If you’re curious what’s going on in Venezuela, hit up the Wikipedia page or visit some of the resources at the bottom of [Alfredo’s] site.

Wifi Pineapple Project Uses Updated Hardware For Man-in-the-middle Attacks

We’ve seen this small, cheap, and powerful WiFi router before. But this time it’s up to no good. [Andy] used a TP-Link WR703N to build an upgraded WiFi Pineapple hacking tool.

A WiFi Pineapple is a device spawned years ago by the Hak5 team (here’s a clip showing off the device). It uses a WiFi router that will answer to any SSID request. Basically if your computer or smart phone has an AP SSID saved and broadcasts a request to connect the pineapple will pretend to be that device and start the handshake. This provides the chance to sniff all the data passing through in a classic man-in-the-middle attack.

[Andy] is recreating the device but at a rock bottom price. He picked up this router for about $20 and added an $8 USB drive to it. The only other thing you would need is a power source and a way to hide the hardware. The code used in the Hak5 version is available for download and that’s what he worked on after flashing OpenWrt to the device.

[Thanks Midnite]

Upgrading A Router With Impeccable Soldering Skills

router

[Necromant] recently acquired a router that was nearly free. Looking his gift horse in the mouth, he hooked up a serial port to see if it could run some updated firmware such as OpenWRT. The initial findings were promising; it used the same CPU as the very popular WR703N, but this free router only had 2 MiB of Flash and 8 MiB of RAM – barely enough to do anything. His solution to this problem is in the true hacker tradition: just solder some more chips onto the router.

Upgrading the RAM was comparatively easy; [Necromant] found an old stick of RAM, desoldered one of the chips, and replaced the measly 8 MiB chip with a new 64 Megabyte chip.

The Flash, though, proved more difficult. Without the right code in the Flash for the radio test, the router wouldn’t be useful at all. The solution was to read the original 2 MiB chip, read the Flash from a  WR703, and combined the two with a simple dd command. This was written to a new SPI flash chip with a buspirate and a home etched board.