Configuring Raspberry pi 3 b+ for crypto specific use.

We’re planning to use the raspberry pi to manage your crypto sites. The idea is simple, try not to visit websites using your main laptop. You should have a dedicated machine. This machine, we’re using a raspberry pi 3 b+, is small lightweight and can be powered by a micro usb cable. These are available everywhere and can reuse the sdcard in a different pi.

The concept is simple, everything is interchangeable and should not rely on anything other than the storage of the data. The data is encrypted as well as the drive.

Using this method, I consider it a safer way to browse crypto. You have some flexibility with security, but you will need to enable them manually. Security is always in layers and its up to you to see how many layers you want to go. Ultimately the last thing is the data, it is up to you how much you feel the threat is. Let’s get going…

What you need

  • raspberry pi 3 b+
  • SD card loaded with the stretch-lite image.

What we will do

turn on the firewall on all services

Install vnc software ( Optional )

Install keepasXC ( Password Manager )

Install X-windows

 

When updating the lite, we’re now at the next step.

https://www.raspberrypi.org/forums/viewtopic.php?t=133691

Plug in the pi and follow the following, a more in depth look can be seen in the link

The short steps are:

  1. sudo raspi-config
  2. sudo apt-get update
  3. sudo apt-get upgrade
  4. sudo apt-get dist-upgrade
  5. sudo apt-get clean

Change the locale

  1. sudo raspi-config
  2. deselect en.GB-UTF.utf8
  3. select en.US-UTF.utf
  4. save
  5. reboot

Install UI dependencies and Desktop and packages

  1. sudo apt-get install –no-install-recommends xserver-xorg
  2. sudo apt-get install –no-install-recommends xinit
  3. sudo apt-get install raspberrypi-ui-mods
  4. sudo apt-get install chromium-browser
  5. sudo apt-get install python3-pip
  6. sudo apt-get install lxde-core lxappearance
  7. sudo apt-get install -y rpi-chromium-mods
  8. sudo apt-get install -y python-sense-emu python3-sense-emu
  9. mkdir -p /home/pi/.config/lxsession/LXDE-pi/

 

sudo apt-get install -y rpi-chromium-mods
sudo apt-get install -y python-sense-emu python3-sense-emu

Using tips from to get the best performance with the gui. You can choose which one you want.

The Best Lean Linux Desktop Environment: LXDE Vs Xfce Vs MATE

 

Install

apt-get install software-properties-common

Cloning your SD Card on Mac

In this article we’ll clone the sdcard

Using a mac load up the file

using diskutil

sudo diskutil list

Write the file out to an image file.

sudo dd if=/dev/disk2 of=~/Desktop/stretchlite.dmg

diskutil eject /dev/disk2

Once complete and you’ve ejected the sdcard, insert the new sdcard and swap the command to beigin cloning.

sudo dd if=~/Desktop/stretchlite.dmg of=/dev/rdisk2 bs=16m

You now have a base image. Confirm the validity Test your image to make sure it works by cloning a new sdcard. bs=16 is used for the blocksize. It speeds up the cloning process. The base image is 1.4GB

 

$sudo dd if=~/Desktop/stretchlite.dmg of=/dev/rdisk2 bs=16m
1902+1 records in
1902+1 records out
31914983424 bytes transferred in 2491.935825 secs (12807306 bytes/sec)

diskutil eject /dev/disk2

 

I use the site below as a reference.

https://computers.tutsplus.com/articles/how-to-clone-raspberry-pi-sd-cards-using-the-command-line-in-os-x–mac-59911

Installing Raspbian stretch Raspberry Pi 3 B+

This is the simple way to create an SD image for your raspberry pi using mac os x high sierra. The purpose is to create a base image then add the desktop so minimal installation and add as necessary.

Required:

  • Mac OSX
  • microSD 8GB min

Download the image:

Raspbian

Select desktop or lite.

I chose lite as the base and will add my own packages.

https://downloads.raspberrypi.org/raspbian_lite_latest

After downloading unzip the file

unzip 2018-04-18-raspbian-stretch-lite.zip

Use this file or the latest updated version for when you are reading this.

2018-04-18-raspbian-stretch-lite.img

Open up the Terminal Window

Look for the SDcard after running the disk utility. It should look like /dev/disk# (# being number of the disk, it should look like /dev/disk2, confirm by checking the size and match the SDcard

  1. diskutil list
  2. sudo diskutil unmountDisk /dev/disk#
  3. sudo dd bs=1m if=~/Downloads/2018-04-18-raspbian-stretch-lite.img of=/dev/rdisk# conv=sync
  4. sudo diskutil unmountDisk /dev/disk#
  5. sudo diskutil eject /dev/disk#

After ejecting, place the SD file in the pi.

First boot of raspbian stretch on pi 3 b+ the default password is:

Raspbian | pi | raspberry

After logging in you can do whatever you want.

I used the following https://www.raspberrypi.org/documentation/installation/installing-images/mac.md for reference.

For windows or linux you can reference here