Giter VIP home page Giter VIP logo

raspi-eth-install's Introduction

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/

raspi-eth-install's People

Contributors

phonikg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspi-eth-install's Issues

Permission Denied When Downloading

Hello,

I've added a new user to the sudo group, and the next step is to download the install files. However I am getting some errors when I run wget https://github.com/EthEmbedded/Raspi-Eth-Install/archive/v0.3.3.tar.gz . I am told that I 'Cannot write to 'v0.3.3.tar.gz' (Permission denied).' Any idea what's wrong?

RPI 3 and Geth

Hi
As I have a RPI3, I have used the procedure you described: http://ethembedded.com/?page_id=102
This procedure provides an image with Ubuntu Mate for RPI 2/3 and Geth 1.4.10.
The version of Geth is very old.

Which command(s) should be launched to ensure that Geth is up-to-date?

Thanks

S.

Any way to use an external storage device to run geth?

I currently own a Raspberry Pi 3 B+, with a 32GB SD card for the system.

After reading that this installer will consume all the space on the SD card, I'm wondering if there's a way I can use an external USB drive for geth instead?

Thanks!

Geth will not install

Performing Housekeeping - Update...
Hit http://mirrordirector.raspbian.org stretch InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org stretch/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org stretch/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org stretch/non-free armhf Packages
Hit http://mirrordirector.raspbian.org stretch/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org stretch/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org stretch/contrib Translation-en
Ign http://mirrordirector.raspbian.org stretch/main Translation-en_GB
Ign http://mirrordirector.raspbian.org stretch/main Translation-en
Ign http://mirrordirector.raspbian.org stretch/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org stretch/non-free Translation-en
Ign http://mirrordirector.raspbian.org stretch/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org stretch/rpi Translation-en
Reading package lists... Done
Performing Housekeeping - Upgrade...
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
clang-3.8 : Depends: libobjc-4.9-dev but it is not installed
dpkg-dev : Depends: libdpkg-perl (= 1.18.10) but 1.18.9 is installed
libclang-3.8-dev : Depends: libobjc-4.9-dev but it is not installed
libclang1-3.8 : Depends: libobjc-4.9-dev but it is not installed
libclang1-3.8-dbg : Depends: libobjc-4.9-dev but it is not installed
llvm-3.8-dev : Depends: libjsoncpp0 but it is not installable
Depends: libffi-dev (>= 3.0.9) but it is not installed
Depends: libtinfo-dev but it is not installed
llvm-3.8-runtime : Depends: binfmt-support but it is not installed
E: Unmet dependencies. Try using -f.
./geth-installer.sh: line 11: Jessie: command not found
./geth-installer.sh: line 11: Stretch: command not found
Performing Debian Upgrade from to ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
clang-3.8 : Depends: libobjc-4.9-dev but it is not installed
dpkg-dev : Depends: libdpkg-perl (= 1.18.10) but 1.18.9 is installed
libclang-3.8-dev : Depends: libobjc-4.9-dev but it is not installed
libclang1-3.8 : Depends: libobjc-4.9-dev but it is not installed
libclang1-3.8-dbg : Depends: libobjc-4.9-dev but it is not installed
llvm-3.8-dev : Depends: libjsoncpp0 but it is not installable
Depends: libffi-dev (>= 3.0.9) but it is not installed
Depends: libtinfo-dev but it is not installed
llvm-3.8-runtime : Depends: binfmt-support but it is not installed
E: Unmet dependencies. Try using -f.
Installing Dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
dphys-swapfile is already the newest version.
git is already the newest version.
git set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential : Depends: gcc (>= 4:5.3) but 4:4.9.2-2 is to be installed
Depends: g++ (>= 4:5.3) but 4:4.9.2-2 is to be installed
clang-3.8 : Depends: libobjc-4.9-dev but it is not going to be installed
curl : Depends: libcurl3-gnutls (= 7.47.0-1) but 7.38.0-4+deb8u3 is to be installed
dpkg-dev : Depends: libdpkg-perl (= 1.18.10) but 1.18.9 is to be installed
golang : Depends: golang-1.6 but it is not going to be installed
Depends: golang-doc (>= 2:1.6.1+1) but it is not going to be installed
Depends: golang-go (>= 2:1.6.1+1) but it is not going to be installed
Depends: golang-src (>= 2:1.6.1+1) but it is not going to be installed
libclang-3.8-dev : Depends: libobjc-4.9-dev but it is not going to be installed
libclang1-3.8 : Depends: libobjc-4.9-dev but it is not going to be installed
libclang1-3.8-dbg : Depends: libobjc-4.9-dev but it is not going to be installed
libgmp3-dev : Depends: libgmp-dev (= 2:6.1.1+dfsg-1) but it is not going to be installed
llvm-3.8-dev : Depends: libjsoncpp0 but it is not installable
Depends: libffi-dev (>= 3.0.9) but it is not going to be installed
Depends: libtinfo-dev but it is not going to be installed
llvm-3.8-runtime : Depends: binfmt-support but it is not going to be installed
python : Depends: python2.7 (>= 2.7.11-11~) but 2.7.9-2 is to be installed
Depends: libpython-stdlib (= 2.7.11-2) but 2.7.9-1 is to be installed
PreDepends: python-minimal (= 2.7.11-2) but 2.7.9-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Installing go-ethereum...
fatal: could not create work tree dir 'go-ethereum': Structure needs cleaning
./geth-installer.sh: line 22: cd: go-ethereum: Structure needs cleaning
make: *** No rule to make target 'geth'. Stop.

Unable to change DHCP to static IP

Hi,I have the same setting on another ubuntu image and it works,but on eth image when I change /etc/network/interfaces to following it still using DHCP rather then static IP.

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
gateway 27.147.28.1
netmask 255.255.255.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.