2015-05-15

healthy breakfast ?

It is said that breakfast is the most important meal of the day.

Here is mine (often);
picture of 6 seeds and oat

- hemp seed (hennepzaad)
- brown flax seed (lijnzaad)
- golden flax seed (geel lijnzaad)
- sesame seed (sesamzaad)
- Chia seed (chiazaad)
- Sun Flower seeds (zonnebloempitten)- Oatmeal (havervlokken)

mixed with:
picture of a plate with 6 berry types
- redcurrant (rode bessen)
- strawberries (aardbeien)
- raspberries (frambozen)
- rubus (braambes)
- blackcurrant (zwarte bes)
- cranberries? (wilde bosbes)

mixed with lots of soy milk and let it soak for half an hour.

Healthy ?

2015-05-11

new data center

My new data center is under construction (two Raspberry Pi 2 and one Raspberry pi model B).


2015-05-03

encrypted storage (on Pi-2)

I used this procedure today to create encrypted storage on two 64GB-usb sticks on a Raspberry Pi 2.

Advantage: nobody can read the backups but me
Disadvantage: I need to type a long passphrase at boot (twice)


# prepare to enter a passphrase
cryptsetup luksFormat /dev/sda --cipher=aes --key-size=256
cryptsetup luksFormat /dev/sdb --cipher=aes --key-size=256

# verify device
cryptsetup isLuks /dev/sda -v
cryptsetup isLuks /dev/sdb -v

# dump metadata (just for information)
cryptsetup luksDump /dev/sda
cryptsetup luksDump /dev/sdb

# find uuid (so you can add them with uuid to /etc/crypttab)
cryptsetup luksUUID /dev/sda
cryptsetup luksUUID /dev/sdb

# create mapper devices
cryptsetup luksOpen /dev/sda encrypt-backup
cryptsetup luksOpen /dev/sdb encrypt-archive

# verify dm devices
dmsetup info

# mkfs (Wouter told me to use ext4 ;-)
mkfs.ext4 /dev/mapper/encrypt-backup
mkfs.ext4 /dev/mapper/encrypt-archive

# tune reserved space for root
tune2fs -m2 /dev/mapper/encrypt-backup
tune2fs -m2 /dev/mapper/encrypt-archive

# mount
mount /dev/mapper/encrypt-backup /srv/encrypt-backup
mount /dev/mapper/encrypt-archive /srv/encrypt-archive