IPsec XAuth VPN server on Raspberry Pi behind a NAT

The goal is to setup a secured tunnel to allow road warriors to securely access our home LAN with Android native client.

1. Software installation

Install strongswan IPsec server :

sudo apt-get install strongswan libcharon-extra-plugins libstrongswan-extra-plugins

Continue reading IPsec XAuth VPN server on Raspberry Pi behind a NAT

Pre-configure Wifi on a headless Raspberry Pi Zero

After setting up the OS on the memory card, you should have 2 partitions mounted from your memory card :
– Boot partition
– Root partition

~$ mount | grep mmc
/dev/mmcblk0p1 on /media/ron/boot type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/mmcblk0p2 on /media/ron/8a9074c8-46fe-4807-8dc9-8ab1cb959010 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)

On the root partition, edit the wpa supplicant configuration file :

~$sudo vi /media/ron/8a9074c8-46fe-4807-8dc9-8ab1cb959010/etc/wpa_supplicant/wpa_supplicant.conf 

And add the following lines at the end of the file :

network={
    ssid="your-network-ssid-name"
    psk="your-network-password"
}

Adjust the SSID and password, and you’re done.

Feed Flightradar24 and Flightaware concurrently with Dump1090

dump1090-map-web

1. Installation

We’ll assume that your OS (Raspbian) is installed and the network is configured.

1.1 Preparation

Update your system and install some software that we’ll need later (to compile) :

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git cmake libusb-1.0-0-dev build-essential lsof

Continue reading Feed Flightradar24 and Flightaware concurrently with Dump1090