Simple reverse tunnels for your PIs!

The other day I was developing an application intended to be run on a set of distributed raspberry pi’s. The application setup is not trivial I and do expect a fair bit of problems once the devices are deployed. It is therefore important for me to be able to troubleshoot and collect information from the devices whenever I need to. The collection of information can probably be automated by letting them push logs to a central repository. But that does not allow me to correct issues or upgrade the software directly on the devices.

The ideal solution would be to be able to open an ssh session to each of the deployed devices at any time. It is usually not possible to address the devices directly since they will be using 3G dongles to connect to the rest of the world. Therefore I opted to set up reverse tunnels from the devices to a central node which I can address directly. After a couple of iterations of setting up reverse tunnels manually I was dismayed. It is boring and error prone.

[…]

Read More

FOSDEM 2014

Jag var nyligen iväg på FOSDEM, som är en årlig konferens om fri och öppen mjukvara i Bryssel. Konferensen är väldigt bred med 33 devrooms som behandlar olika områden, sammanräknat var det 512 sessioner under 2 dagar. Jag gick på en rätt stor mängd talks under tiden jag var där. För min del blev det framförallt […]

Read More

Can’t Reproduce?

Mark Shuttleworth, multimiljonären (mijardär?) bakom Canonical och Ubuntu har stängt* buggen som startade Ubuntu: When Canonical founder Mark Shuttleworth began shipping Ubuntu nine years ago, he created “Bug #1.” Its title was “Microsoft has a majority market share,” and Shuttleworth said “[t]his is a bug which Ubuntu and other projects are meant to fix. Idag […]

Read More