Blogs

Dangers of Open WiFi

Open WiFi Is Scary

Write Raspbian to SD Card from Linux

There is a perfectly good how-to at https://www.raspberrypi.org/documentation/installation/installing-images/linux.md.

Once you follow that, be sure to create an empty file named "ssh" in /boot on the SD Card. This will enable you to connect to your Pi via SSH, even if you're running a "headless" Pi with no monitor.


Return to Basic Raspberry Pi Setup

How Does a VPN Work?

The short form is that a VPN securely transports your data from one point to another. It's not about end-to-end. It's about point-to-point.

Write Raspbian to SD Card from Mac

  • Run:

    diskutil list
    
  • Review the output. Identify the device for your SD. On mine, it was "disk2". Substitute 2 (or your digit) for # below.

  • Run:

    diskutil unmountDisk /dev/disk#
    
  • Run (this takes a few minutes):

    sudo dd bs=1m if=2017-01-11-raspbian-jessie-lite.img of=/dev/rdisk#
    
  • Create a "ssh" file on the SD card to enable ssh on first boot and un-mount the SD card:

Write Raspbian to SD Card from Windows

  • Download Win32DiskImager
  • Unzip it to Win32DiskImager.exe
  • Right-click Win32DiskImager.exe and select Run as Administrator
  • Select the image file you extracted (2017-01-11-raspbian-jessie-lite.img)
  • Select the drive letter of the SD card in the device box. Be careful! You don't want to write to C:\
  • Click Write and wait for it to finish

Install and Configure an OpenVPN Server on Linux

Install

  • sudo apt-get update
  • sudo apt-get install openvpn

Copy Your Server Keys to the Production Directory

If you built your keys on a separate key generation machine:

  • Run these commands on your key generation machine (and select keys_raspivpn or your key directory, if you put your Pi VPN keys elsewhere):

Basic Raspberry Pi Setup - Installing Raspbian

Note to self: If you've done this once before, instead of re-installing, why not restore from your backup?

Buy a Raspberry Pi "kit" from someone like Amazon. Although you can buy a bare Pi for less, the kit should include:

Surf Safe at Starbucks


Running your own OpenVPN service, and why you would want to...

Dangers of Open WiFi

It is dangerous! See Dangers of Open WiFi.


Solution: OpenVPN

There is a solution. Shucks, there are two solutions!

What is On My Android Phone

I'm having trouble with bluetooth breaking up and not connecting. It happens on multiple headsets, so I suspect the phone. I'm going to try wiping it. Here's what I had before the wipe.

Change Autohotkey Editor

I wanted to change the editor used when clicking on "Edit this Script" on an Autohotkey icon, from Notepad to Notepad++. There are many references to this, but they all assume that Autohotkey is installed and I'm running it semi-portably. (i.e. I have the files on a flash drive and I never installed it.)

I saved the following in a .reg file in my Autohotkey folder, so I can load it into the registry wherever I plug in my flash drive.

Pages

Subscribe to RSS - blogs