The TP-Link WR-703N is a nice, hackable pocket WiFi router. I’ve seen them put to some interesting purposes, but I didn’t own one until yesterday when the kind folk at QCon Shanghai gave me one. I’m not a fan of factory TP-Link firmware at the best of times, but more so when it defaults to Chinese, so it was time for another OpenWRT install (like I’ve done in the past with my TL-WR2543ND and TL-WR841N [1]).

First read the official OpenWRT Wiki article. The point of this post is to cover stuff that’s not presently covered in the Wiki.

I downloaded the stable Barrier Breaker release 14.07, r42625 factory update image and blundered through the Chinese language web UI to upload the new firmware and flash it.

By default the OpenWRT image comes up with no WiFi, and the ethernet port configured as LAN. This makes perfect sense from a security perspective, but not much sense for this particular device.

Turning on WiFi

Having connected to the ethernet port from my laptop I was able to access the web UI (and SSH). From there the WiFi can be set up by clicking on Network > WiFi.

Enable WiFi:

TL-WR703N-WiFi-enable

Provide a name for the network and make it part of the LAN:

TL-WR703N-WiFi-name

Then turn on security and provide a key:

TL-WR703N-WiFi-key

At this stage it’s time to connect to the WiFi interface – using the SSID and security key that were just configured. Unplug the ethernet cable to confirm that connectivity is still OK.

Ethernet == WAN

Next go to Network > Interfaces and Add new interface…

TL-WR703N-WAN

At this point the ethernet port (eth0) is on both the lan and wan, which isn’t good, so go back to the lan interface and edit out the eth0:

TL-WR703N-LAN

It should now be OK to plug the ethernet into a hotel outlet, your home network or whatever else you’re trying to WiFi enable with the mini router.

WiFi bridging (not working)

One of the things I love about WRTNode is the ability for it to route on from another WiFi access point, so with hotel WiFi you can sign in many devices but only need one registration. I’m told that it should be possible with the TL-WR703N, but I haven’t figured out how to do it. Putting in a similar block of config to what I use on WRTNode doesn’t seem to have the desired effect of creating an apcli0 device:

config wifi-iface
    ....
    option ApCliEnable '1'
    option ApCliSsid 'theSSID'
    option ApCliAuthMode 'WPA2PSK'
    option ApCliEncrypType 'AES'
    option ApCliPassWord 'theWiFiKey'

Note

[1] Both of these routers support the Barrier Breaker release 14.07, r42625 firmware, though the relevant Wiki articles haven’t been updated to reflect that.



CloudFlare have made SSL available to all free subscribers to its content delivery network (CDN) with Universal SSL. The move addresses both cost and complexity issues that have previously confronted web site and application owners wanting to deploy SSL. CloudFlare takes care of issuing a certificate at no cost to the end user, and enabling SSL becomes a selection from a dropdown menu.

continue reading the full story at InfoQ

UniversalSSL



The WRTnode is a great new open source hardware dev board that takes the guts of a typical home router and makes it hackable. It’s more than an Arduino, less than a Raspberry Pi, and very network capable. WRTnode runs the OpenWRT Linux distribution, which I’ve used in the past on some of my home routers (to replace the awful firmware that gets shipped by OEMs).

One of its neat little party tricks is that it can be used to share a WiFi connection to multiple devices, so as I type I’m making use of that to share a hotel WiFi connection between my laptop, tablet and phone.

Developing for the WRTnode

The WRTnode Wiki has a section on OpenWRT Development with a classic HelloWorld application that’s build from source, packaged into an ipk file and installed. I struggled with this because copy/paste of the make files from the web to my text editor stripped out the tabs, and make needs those tabs otherwise you get ‘Make error: missing separator’.

Introducing wrthelp

The WRTnode has a number of commands to simplify getting online, which are covered in the Starting section of the Wiki. That’s fine if you can see the Wiki, but what if you need reminders of the commands so that you can get online (in order to see the Wiki)?

wrthelp is a simple command line tool (adapted from the helloworld example) that prints out the key instructions needed to get the WRTnode connected to a WiFi access point. The Github repo contains the source code and details for how to build, install and run.

Todo

Getting a working SDK was something of a pain, so I should probably Dockerise the one that I have to make it easily accessible.

I’m looking forward to doing some proper hacking with WRTnode (probably at the ThingMonk hack day.)

Update

1. The WRTnode SDK can be run in a Docker container using:


sudo docker run -it cpswan/wrtnodesdk

Take a look at the image and Dockerfile on Docker Hub and Github if you’re interested in the details.



Here’s my presentation from container.camp:


Weave is an overlay networking system for Docker containers. Whilst Docker can already link containers on a single host, Weave provides connectivity for containers that are spread across multiple hosts. It has been released under the Apache 2 open source license by Zettio, a new company targeting ‘apps for the zettabyte era’ founded by RabbitMQ creators Alexis Richardson and Matthias Radestock.

continue reading the full story at InfoQ

Weave500px


One of the big news items from last week’s VMworld was the launch of EVO:RAIL, a ‘hyperconverged infrastructure’ reference design with software from VMware and hardware from a variety of partners. The RAIL part of the name comes from the smallest unit of deployment that fits into 2U of standard rack space, and onto a single rail within that rack. EVO:RAIL is described as delivering ‘compute, network, storage and management’, and it’s worth picking apart what’s going on in each of those areas.

Continue reading at The Stack


This is my first longer article for InfoQ (rather than being a news item), and it’s intended to be a comprehensive backgrounder on Docker: ‘an overview of the Docker journey so far and where it is headed along with its growing ecosystem of tools for orchestration, composition and scaling. This article provides both a business and a technical point of view on Docker and separates the hype from the reality.’

continue reading the full article at InfoQ




Follow

Get every new post delivered to your Inbox.

Join 97 other followers