Eth(Embedded) Raspberry Pi/Ethereum Install Instructions
Supported Boards:
- Raspberry Pi 2
- Raspberry Pi 3
Materials Needed:
- Raspberry Pi
- 32-64GB micro SD Card (This is not mandatory, however the blockchain is growing every day so if your project is long term then 64GB is advised)
- Power Supply for Raspberry Pi(minimum 5VDC 1Amp micro USB)
- Ethernet cable (to connect to available, DHCP enabled, internet router)
Note: although 64GB is not immediately necessary, as the ethereum blockchain grows you will need the room to store it. (At least until the LES light client is available) Another strong suggestion is to use Class 10 SanDisk Ultra or Extreme models with higher R/W speeds
Optional Materials:
- HDMI cable
- Monitor with HDMI input(or apropriate adapter)
- USB Keyboard
Installation Method
Disclaimer – If you will be formatting an SD card be aware that you will be deleting all information stored on said card. Eth(Embedded) is NOT responsible for any data loss that may occur during the format process.
- Insert a FAT formatted SD card into your linux PC or Laptop.
- Download image for
eth
orgeth
from previous page. - Once you have downloaded the .img file we will need to extract it using 7zip, and then burn the image to our SD card using WinDiskImager on Windows, or just use
tar
anddd
on Linux following the how-to here:https://www.raspberrypi.org/documentation/installation/installing-images/linux.md - Safely remove and install SD card into a powered down Raspberry Pi with ethernet cable connected between your device and an internet enabled DHCP router.
- Power on your Raspberry Pi.
- While theRaspberry Pi is booting, we need to log in to our router and look at the dhcp client list to find the IP address assigned to our device, alternately you can use one of my favorite mobile apps, FING, as long as your android phone is connected to the same network. We can then, using a linux cli or putty, ssh(instructions) into the device with the following default credentials:
- At this point lets take the opportunity to change the Raspberry Pi users password by typing
passwd
and following the on screen instructions… - Next lets re-login as the
eth
user and expand partition #2 to utilize the entire SD Card by typing:sudo fdisk /dev/mmcblk0
- We can press
p
for print to see our current setup and give you a reference before we begin.
- Next we need to delete and then re-create partition #2 by selecting:
d
– delete2
– partition to be deletedn
– create new partitionp
– select partition type primaryenter
– select default start blockenter
– select default last blockw
– to write our changesreboot
sudo resize2fs /dev/mmcblk0p2
– to perform expansion
Thats it!! You can now run your ethereum client with the followign commands depending on which one you’ve installed:
geth --fast
eth
What now?
To learn more about Ethereum.org get involved!
A great place to start are the forums at https://forum.ethereum.org/
OR
Learn more about creating DApps by visiting https://dappsforbeginners.wordpress.com/