Skip to content

EthEmbedded/Raspi-Eth-Install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eth(Embedded) Raspberry Pi/Ethereum Install Instructions

Utilizing Raspbian Unattended Installer - ua-netinst

Ua-netinst is a great tool that will install a minimal(no GUI) Debian based Raspbian OS. It is Raspberry Pi agnostic, therefore there is only one set of instructions to follow, no matter which model of RasPi you have.

Supported Boards:

  1. Raspberry Pi B (SD Card)
  2. Raspberry Pi B+ (SD Card)
  3. Raspberry Pi 2 (Micro SD Card)
  4. ***May work on "Model A", but has not been tested

Materials Needed:

  • Raspberry Pi development board (one of the models listed above, preferably the RasPi2)
  • 64GB micro SD Card(Raspi2) or with SD Adapter(RasPiB/B+).
  • 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 SPV 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.
  1. Download, unzip and copy the ua-netinst files to your SD card.

  2. Download, unzip and copy ONLY the file installer-config.txt from Raspi-Ethereum-Installv0.3.x to your SD card

  3. The contents of your SD card should be the exact same 19 files as in this screenshot. Next, safely remove and install SD card into a powered down Raspberry Pi (1B, 1B+, or 2) with ethernet cable connected between RasPi and an internet enabled DHCP router.

  4. Power on your Pi... Make sure there is activity with the RasPi's onboard led's(you should see green led's flashing as well as activity on the ethernet port led's)

    • If you see led's flashing you can walk away...go grab a coffee, or spend some time with your family:)
    • If you do not see led's flashing something may have gone wrong... If this is the case, the only way to truly diagnose what has happened is to connect a Monitor and Keyboard, and reference the ua-netinst github for troubleshooting steps.
  5. Once ua-netinst is complete, 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:

    • login: root
    • password: root
  6. At this point, we need to change the root password

    passwd

    and add a user other than root with:

    adduser <newusername>

    Choose a strong password and enter it twice, accept all default values, and then add new user to admin group with:

    adduser <newusername> sudo

  7. Log in as your new user, and download, unzip, and choose eth-install.sh OR geth-install.sh:

    wget https://github.com/EthEmbedded/Raspi-Eth-Install/archive/v0.3.3.tar.gz

    tar -xvzf v0.3.3.tar.gz

    cd Raspi-Eth-Install-0.3.3

    sudo chmod +x geth-installer.sh OR sudo chmod +x eth-installer.sh

    WARNING Installation of eth on ver 1B & 1B+ of the Pi can take as much as 12 hours to compile... we will be working on cross compiling with crosstools-ng in the very near future.

  8. Now lets run the install script for either geth or eth

    ./geth-installer.sh

    OR

    ./eth-installer.sh

  9. Finally lets start the client:

    For geth :

    cd ~/go-ethereum/build/bin

    ./geth

    For eth:

    cd ~/cpp-ethereum/build/eth

    ./eth

####For more info regarding running cli clients please visit the following links:

For geth/go-ethereum visit: https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options

For eth/cpp-ethereum visit: https://github.com/ethereum/cpp-ethereum/wiki/Using-Ethereum-CLI-Client

####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/