Using Unison with Android over USB

For some time, I've been happily using Unison in conjunction with my Android phone's USB mass storage function to synchronize files between my phone and my desktop. It was simple: I'd plug in my phone with USB and enable the SD card to be used as a mass storage device, then mount it in Linux and run Unison as if the phone was a local folder (with appropriate tweaks to support the FAT filesystem).

Alas, my phone was getting on in years (or months, as it is in tech), and with support long dropped and capacity nigh exhausted, I had to upgrade. With my new phone I've been promoted to the “new hotness” that is Android 6 Marshmallow, but one of the functions that was dropped along the way was the ability to expose the SD card as mass storage over USB. Admittedly it wasn't a perfect solution, requiring unmounting …

Read this post

Accessing machines on a home network with sshuttle

You might have noticed that I'm running a little Raspberry Pi, acting as a server for my website as well as some other small server-ish tasks. This machine is actually on my home network and I also use it as the front-face to that network for incoming connections. There are other machines on this network, and while they are behind a NAT and so not addressible from the outside world, this is fine most of the time. But on the odd occasion where I'd like to directly address any other machine on that network, I have to do so through the Raspberry Pi. Depending on what it is I'm trying to do, exactly, that can be tricky.

I've just discovered sshuttle. It acts similarly to a VPN, using SSH under the hood to transport TCP packets through a server that you specify. The cool thing is that it doesn't require …

Read this post

A new beginning: Relaunching my website

Some time ago in a far off land, I kept a website. It was a cozy little website, housing a few bits and bobs that I had made and thought to share should other people find them at all useful. It was hosted with my ISP, accessible via a free domain, which made things cheap and easy for me, but also meant that if I were ever to move I'd have to find a new host, or lose my site.

Of course I moved and I lost my site. This was a couple of years ago, now. From then until now I've been meaning to get this thing back up and running at some point, but lack of time and real impetus meant that it didn't happen. Recently I got my butt into gear and began a focused effort to finally get it off the ground, getting myself some cheap …

Read this post


Page 1 of 1