Cutting the Cord While Full Time RVing

Every now and then I have the rare treat of geeking out with some of my most technical readers.  This is one of those times.  LOL I'm kidding, nobody reads this.  But anyway, if you don't understand what I'm talking about here I would recommend hitting Google and figuring things out.  Knowing this stuff can earn you lots of money as full time RVers.  Everything IT can be done remotely and if you have a formidable IT skillset you are in demand...

Hey Buddy

Cutting the cord - aka a ridiculous phrase coming from the same clowns who brought you the word cloud.  If you get past silly C level friendly terminology, the idea is to get your media - music and movies from the internet instead of a paid cable or satellite subscription.  The typical way this would be done is to use Netflix, Amazon Prime, etc and stream it.  Obviously this is a big big problem for someone on a 10GB LTE data cap.  Personally, while we have a grandfathered Verizon LTE plan, I try my very best to not abuse it which means using campground wifi for media.  This also means that the streaming services are out.  What I do instead is queue up my media on a server with a proper internet connection and then download all that media whenever I have a good connection.  If you don't have such resources I would recommend looking for one of the many VPS providers that have accounts for $60/year with more than 100GB disk space available.  Ramnode is a good one.  You could put things into AWS S3 as well which would be pretty cheap but less convenient for this exercise.  After you have enough media the task becomes to transfer it from your server to your own systems where you are at.

This distance would be no problem if it wasn't for a bunch of trees

Trees ruin the signal

The problem is that even with copious amounts of long range wifi gear (seriously it's bad in our rv, 3 antennas, 4 cables, 6 routers) sometimes it's simply not possible to reach the wifi.  Actually this is a whole other subject I have a lot of experience with that is going to be a whole other article.  It's going to be titled something like "long range wifi gear is a collossal waste of money".  Anyway, in our experience a lot of campgrounds have free wifi but only at the office.

A Pwnie in it's native environment - CC Ariel Zambelich/Wired

Now for a bit of recent history...  In the hacking world there is a device called a Pwnie.  The idea behind it is a small computer that you nefariously dispatch in a hidden location within a corporate office of some unwitting company in the hopes that you can get around their firewall.  Most companies have very few restrictions on outbound communications so get a device inside and communicate OUT and you've got your window.  Most places really use the firewall as their only serious line of defense too. Once inside the network you can access pretty much everything in short order whether it's through weak passwords, unpatched systems, etc.  The original Pwnie is just a Marvell Sheevaplug SBC with a special Linux distribution and an inflated price.  Because certainly hackers can't customize their own Sheevaplug and save some money.  Whatever ;)  

Marvell Sheevaplug

Anyway, I happen to own one of these devices bought years and years ago as part of my "failed due to apathy" pool automation business venture.  The nice thing here is that we've come up with an actual legitimate use of a pwnie versus the rare occasions when someone pays me to penetration test their systems.  This device though, as small as it is is a brick.  That was then and this is now.  These days you can buy a similar computer that is the size of a pack of gum. 

This has built in wifi and can take a 32, 64 or even 128GB micro SD card.  You can probably guess where we're going with this.

As it turns out these devices are not exactly huge power hogs.  4 AA batteries rigged up to it can power it for 10-12 hours.  I happened to have a Sony PSP battery pack lying around so I used that.  I simply chopped up one of my numerous USB cables and soldered it right into the case of the battery to provide power.  The inaugural run didn't work well so I cracked open the case and extracted the antenna.  The second run was a marvellous success, downloading 2.5GB in just a few hours.  The PSP battery isn't great though and was pretty dead after a 4 hour run.  I'll probably have to do something bettery for batteries eventually.

There are MANY ways of making this happen so you are really limited only by your imagination.  I installed Lubuntu on my old school (original) MK802 system.  This is worth probably $20 now.  I put in a $4 16GB micro SD card and used a damn near free battery pack for it.  If it walks away I simply have to invalidate an ssh key and I'm good to go.  So quite simply you boot this thing up with a Linux distro installed on the Micro SD card, and use rsync to sync with your server.  I made a script and simply added it to /etc/rc.local and viola, the MK802 boots up and starts trying to download media from my server.  My script looks like this

# Trap interrupts and exit instead of continuing the loop
trap "echo Exited!; exit;" SIGINT SIGTERM
# Set the initial return value to failure
while [ $? -ne 0 ]
 sleep 1
 rsync -av --progress --partial --timeout 15 -e* .

My little battery powered wifi Pwnie

 So what's going on here?  We simply retry rsync indefinitely until it succeeds to download our stuff from our server.  Note that you'll have to use key based ssh authentication since you won't exactly be around to enter the password.  Walk over and get the wifi details ahead of time and set it up as a hidden network.  Save everything to the MK802, walk it over, hook up the battery and dump it.  Come back and pick it up later.  You can verify that it's working by doing a ps ax | grep rsync on the server side.  If you see an rsync process you know it's connected.  Now, you can be parked a huge distance from free wifi, and can download huge amounts without waiting around.  Awesome!  A pwnie with a legitimate purpose!

So that leaves the final 4 concerns:

  1. What if it walks away?  Who cares!  It costs less than a month worth of LTE.  Invalidate the SSH key and move on.  Be ready for this possibility and accept it.  Hope it doesn't happen.
  2. Where can I stash it?  Numerous places really.  I put mine in our mailbox at the office which about 50 feet from the wifi.  You could put it on top of a railing, on top of or behind a soda machine, behind a bush, etc.  The key is that as long as nobody sees you toss it and as long as you go pick it up before falling asleep for the evening, most likely nobody will see it and snag it.
  3. And probably the most important thing - remove your wifi credentials from the device.  If you forget and you turn it on when you get home, it will download everything over your own connection.  Kind of defeats the point.
  4. If the wifi has some sort of gateway that you have to accept you'll have to do that manually.  I recommend a lapdock which is basically an HDMI screen and USB keyboard/trackpad you can hook up to whatever device (with some adapters).  People use these things for Raspberry Pi's for instance.  I found one on ebay a long time ago for $20 and it really does the job with these tiny headless boards.

Another way you could do this is with an old cell phone, but somehow I suspect an old cell phone would walk away a LOT more quickly than a $35 SBC with no screen even if they are actually similar value.

Add new comment