Monthly Archives: June 2012

Drive Encryption for the Layman

I had the need to consider encryption of a flash drive for various reasons. Hell, you could justify it under “don’t be stupid” if you’d like. Having not really ventured into this arena before, I thought I’d write down the step-by-step-guide for anyone who just wants security without thinking about it.

The steps
Optional step 2 will explain all that’s required in detail but the following gives the TLDR version.

  1. Download and install TrueCrypt
  2. Optionally read the Tutorial
  3. mount/insert flash device
  4. start TrueCrypt
  5. click “Create Volume”
  6. pick the location you want on your flash drive
  7. select “Serpent-Twofish-AES” if you’re just encrypting documents etc; larger file volumes than this would be slow
  8. select the maximum size that you’d like the volume to take. This should be based on your expected usage. 5GB should suffice for hundreds of word documents
  9. enter a good password e.g. lk#J4z._1Q41-lN$1″H6c!O
  10. click “finish”

Now you’ve got a “container” that’ll be heavily encrypted. What you’ll need now is to tell TrueCrypt to “mount” it.

Mounting your new volume

  1. Open TrueCrypt
  2. click “Select File” & navigate to your previously created container on your flash device
  3. click “mount”
  4. enter the password

Now you’ll have a mounted volume assigned to a “drive” letter e.g. “K”. Stick your files in here and they’ll be included in the volume for encryption.

When you’re ready to remove the device make sure you “dismount” in TrueCrypt!

Enjoy ;)

Raspberry Pi and the Asus USB-N10 WiFi Dongle

If you have an RPi and fancy WiFi then an Asus USB N-10 will do. You’ll need to manually set it up. To save anyone else the pain, the steps to get the dongle up and running on Debian are:
wget -O
cp r8712u*.zip / && cd /&& unzip r8712u*.zip
modprobe r8712u

From here on you can configure it for your network as normal.

Happy RPi!

Update: thanks to Ben for emailing me and pointing out the lack of -O for the wget line which made the remaining commands fail due to the download being saved as 7ZYhZ! So much for ninja-edits to shorten the original URL!