Giter Club home page Giter Club logo

pi-gen's People

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  avatar  avatar  avatar  avatar  avatar

Watchers

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

pi-gen's Issues

SSD not being used

I have set up the PI with the ETH2 image. I had the 1tb SSD plugged in and waited for the setup etc. But it doesn't look have used the SSD in anyway. How can get it switched it over?

Cannot access dashboard

Followed the steps as mentioned in the guide. I have been running the process for the past two days. I cannot access the dash board. I keep getting the message 'refused to connect'. I started out with Eth2 image.

eth1 node using incorrect chain id, 0 != 1

After manually adding the http flag, the GETH service is up and listening.

telnet 127.0.0.1 8545
Trying 127.0.0.1...
Connected to 127.0.0.1.

But becon-chain doesn't accept it:
level=error msg="Could not connect to powchain endpoint" error="could not dial eth1 nodes: eth1 node using incorrect chain id, 0 != 1" prefix=powchain

Add CPU Temp to Grafana

I figured it is possible read the PI cpu temp easly. For this Prometheus provides a collector called "thermal_zone" which basically reads from

/sys/class/thermal/thermal_zone0/temp

I think users would appreciate the CPU temp to estimate wheter CPU throttling is a thing for them. Maybe add even CPU freq?

no systemctl service geth, no admin page, no /etc/ethereum directory

It doesn't seem to be working as documented.

ethereum@ethnode-123:/etc$ sudo systemctl enable geth
Failed to enable unit: Unit file geth.service does not exist.

also, there is no admin page at :3000

also, there is no /etc/ethereum directory or /etc/nethermind directory

i'm just running apt-get updates right now, and i'll update if that fixes.

Please let me know anything i can try to diagnose the issue. Many thanks

Installation fails due to repository not reachable

Hi,
I am trying to install on RPi4 8GB with 1TB SSD, but installation fails. No services are started. I checked the syslog and it seems like your repo apt.ethraspbian.com can not be reached so no software is installed and the node can not start.

What I see from the logs is this:

Jul 8 16:14:23 ubuntu dbus-daemon[1262]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jul 8 16:14:23 ubuntu systemd[1]: Started PackageKit Daemon.
Jul 8 16:14:48 ubuntu rc.local[3041]: Fetched 10.7 MB in 26s (408 kB/s)
Jul 8 16:14:50 ubuntu rc.local[3041]: Reading package lists...
Jul 8 16:14:50 ubuntu rc.local[3041]: W: Failed to fetch http://apt.ethraspbian.com/dists/bionic/InRelease Temporary failure resolving 'apt.ethraspbian.com'
Jul 8 16:14:50 ubuntu rc.local[3041]: W: Some index files failed to download. They have been ignored, or old ones used instead.
Jul 8 16:14:50 ubuntu rc.local[1295]: Installing Ethereum packages
Jul 8 16:14:50 ubuntu rc.local[3513]: Reading package lists...
Jul 8 16:14:50 ubuntu rc.local[3513]: Building dependency tree...
Jul 8 16:14:50 ubuntu rc.local[3513]: Reading state information...
Jul 8 16:14:51 ubuntu rc.local[3513]: The following NEW packages will be installed:
Jul 8 16:14:51 ubuntu rc.local[3513]: geth
Jul 8 16:14:56 ubuntu systemd-resolved[1176]: Using degraded feature set (TCP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:05 ubuntu systemd-resolved[1176]: Using degraded feature set (UDP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:08 ubuntu systemd-resolved[1176]: Using degraded feature set (TCP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:14 ubuntu systemd-resolved[1176]: Using degraded feature set (UDP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:17 ubuntu systemd-resolved[1176]: Using degraded feature set (TCP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:19 ubuntu rc.local[3513]: 0 upgraded, 1 newly installed, 0 to remove and 89 not upgraded.
Jul 8 16:15:19 ubuntu rc.local[3513]: Need to get 13.8 MB of archives.
Jul 8 16:15:19 ubuntu rc.local[3513]: After this operation, 0 B of additional disk space will be used.
Jul 8 16:15:19 ubuntu rc.local[3513]: Err:1 http://apt.ethraspbian.com bionic-security/main arm64 geth arm64 1.9.5-0
Jul 8 16:15:19 ubuntu rc.local[3513]: Temporary failure resolving 'apt.ethraspbian.com'
Jul 8 16:15:19 ubuntu rc.local[3513]: E: Failed to fetch http://apt.ethraspbian.com/pool/main/g/geth/geth_1.9.5-0_arm64.deb Temporary failure resolving 'apt.ethraspbian.com'
Jul 8 16:15:19 ubuntu rc.local[3513]: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Jul 8 16:15:19 ubuntu rc.local[3536]: Failed to stop geth.service: Unit geth.service not loaded.
Jul 8 16:15:19 ubuntu rc.local[3537]: Reading package lists...
Jul 8 16:15:19 ubuntu rc.local[3537]: Building dependency tree...
Jul 8 16:15:19 ubuntu rc.local[3537]: Reading state information...
Jul 8 16:15:19 ubuntu rc.local[3537]: Package swarm is not available, but is referred to by another package.
Jul 8 16:15:19 ubuntu rc.local[3537]: This may mean that the package is missing, has been obsoleted, or
Jul 8 16:15:19 ubuntu rc.local[3537]: is only available from another source
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package nethermind
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package hyperledger-besu
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Package 'swarm' has no installation candidate
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package ipfs
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package raiden
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package statusd
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package vipnode
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package prysm-beacon
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package prysm-validator
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package prysm-slasher
Jul 8 16:15:20 ubuntu rc.local[3537]: E: Unable to locate package lighthouse
Jul 8 16:15:20 ubuntu rc.local[3550]: --2020-07-08 16:15:20-- https://dl.grafana.com/oss/release/grafana_6.7.3_arm64.deb
Jul 8 16:15:23 ubuntu systemd-resolved[1176]: Using degraded feature set (UDP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:29 ubuntu systemd-resolved[1176]: Using degraded feature set (TCP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:35 ubuntu systemd-resolved[1176]: Using degraded feature set (UDP) for DNS server fd00:4697:3d81:b810:c8e5::.
Jul 8 16:15:36 ubuntu rc.local[3550]: Resolving dl.grafana.com (dl.grafana.com)... failed: Temporary failure in name resolution.
Jul 8 16:15:36 ubuntu rc.local[3550]: wget: unable to resolve host address โ€˜dl.grafana.comโ€™
Jul 8 16:15:36 ubuntu rc.local[3551]: dpkg: error: cannot access archive '/tmp/grafana_6.7.3_arm64.deb': No such file or directory
Jul 8 16:15:36 ubuntu rc.local[3563]: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Any idea what it wrong or what I can do?

When I perform apt update now apt.ethraspbian.com can be reached. Very strange to me. Can this be related?

Jul 8 16:13:50 ubuntu rc.local[2831]: Executing: /tmp/apt-key-gpghome.Aur2l5jpg9/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 8A584409D327B0A5 Jul 8 16:13:50 ubuntu systemd-resolved[1176]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Jul 8 16:13:50 ubuntu systemd-resolved[1176]: message repeated 2 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.] Jul 8 16:13:51 ubuntu rc.local[2890]: gpg: key 96B52AFDF8C1BD5E: public key "Diego Losada Eth On ARM <[email protected]>" imported Jul 8 16:13:51 ubuntu rc.local[2890]: gpg: Total number processed: 1 Jul 8 16:13:51 ubuntu rc.local[2890]: gpg: imported: 1

Can't SSH to Raspberry Pi ethnode, or ping

Hi,

Thank you for all your efforst to provide an 64-bit image for the Raspberry Pi 4. I have a Samsung 1TB T5 SSD drive and followed the installation guide at https://github.com/diglos/pi-gen.

The Pi boots up with "ubuntu" host name and then after a few minutes reboots with "ethnode-xxx" host name as expected. The NIC and SSD are flashing indicating synchronisation with the blockchain has started, but I can't SSH in, or even ping from my local network.

I also have attached keyboard, mouse and HDMI monitor, but nothing shows up there either. First attempt I tried without attached monitor, KB and mouse, rather just remote SSH in. When that didn't work I attached HDMI, KB and mouse - no good. Second time (after flashing SD card with your image again), I attached HDMI, KB and mouse before power-up, but no output from HDMI and I still can't ping or SSH in.

Any thoughts?

Many thanks

Not booting up

I downloaded and loaded eth1 and eth2 img to sd card (both on class 10 card) but the system is not booting up. kept it running for about 24 hours but still, no luck tried to flash using rpi-imager and etcher

Could not connect to powchain endpoint

I boot the first time my raspberry with an ssd attached, I can see that it install a few things, then reboot.
But then I see this fail log on syslog, I think it's fatal, so geth and prysm is not syncing, right?

Nov 30 19:50:30 ethnode-287315211 beacon-chain[1656]: time="2020-11-30 19:50:30" level=error msg="Could not connect to powchain endpoint" error="could not dial eth1 nodes: Post "http://localhost:8545": dial tcp [::1]:8545: connect: connection refused" prefix=powchain

I've the right port opened on my router

update firewall rules for security

FYR https://hive.blog/ethereum/@tarekadam/altona-test-net-validator-using-raspberry-pi4b-8-gb

Seems a good addition to add some firewall rules for security

Allow connection via port 22 which is SSH.
sudo ufw allow 22/tcp

Allow connection via port 3000 which is used by Grafana.
sudo ufw allow 3000/tcp

Allow connection to port 30303 udp and tcp for Geth (Ethereum Blockchain)
sudo ufw allow 30303/tcp
sudo ufw allow 30303/udp

Allow connection to port 13000 udp and tcp for Prysm (Ethereum 2.0)
sudo ufw allow 13000/tcp
sudo ufw allow 13000/udp

Enable the firewall with ufw enable. To check the status type ufw status

Update Docs

Some information I would like to know is "How to update the software" Eg. Prysm. How can I edit or run the systemctl with flags for eg. --graffiti or --medalla

Option to not format SSD on setup

Almost synced up after a couple of weeks, looks like my SD card is dead/dying as I'm getting errors like:

blk_update_request: I/O error, dev mmcblk0, sector 5434354 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

(Could this be an issue in itself? SD card was of reputable brand, and completely new - surprised to see it give out so quickly)

If I flash a new SD card, and boot up with the same SSD attached, is there a way to make the sync pick up from where it left off, using the data that it finds on the SSD? It would be a shame to have the setup process format the SSD and start from scratch.

Any ideas ?

Unit lighthouse.service not found.

I'm trying to start lighthouse after a fresh install of the eth2 image on a raspi 4, 4GB. After following the README command, I get an error:

$ sudo systemctl start lighthouse && sudo systemctl enable lighthouse
Failed to start lighthouse.service: Unit lighthouse.service not found.

Cannot upgrade to 1.10.1 without losing geth.service

Geth is at version 1.10.1 at the moment. When I run update-ethereum (or apt-get install geth for that matter) on my raspberry pi 4b 8gb, it says
geth is already the newest version (1.9.25-0).

Why does it not update?

(I have followed these instructions to install EthereumOnArm on my raspberry:
https://www.reddit.com/r/ethereum/comments/gf3nhg/ethereum_on_arm_raspberry_pi_4_images_release/

When I upgrade 'manually' (which works, I then upgrade to 1.10.1) by setting the PPA, the geth.service is disappears.
(geth no longer starting during boot)
'sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get update
sudo apt-get upgrade'

When I now do sudo systemctl status geth it says:
Unit geth.service could not be found.

Corrupted image

Trying to flash my disk with balena etcher but it says the image is corrupted...

Update graffana!

I noticed that grafana is outdated when installing a dashboard for my lighthouse validator.
The latest version is 7.3.5 and the one installed is graffana 6.

MONITORING DASHBOARDS

i have installed the eth2 img.

but my MONITORING DASHBOARDS seams not to work.

i think i have to acces it with:

URL: http://192.168.0.157:3000
User: admin
Password: ethereum

the webpage dose not open..

what can i do about it?

Some basic questions

Hi, I'm following this tutorial
and I have 2 questions to check if I'm doing good so far !

1 / I have access to the logs but how I can ensure my port 13000 is opened, do we have some commands to type on linux to check everything is good ?

2 / I don't have access to grafana

I got my raspberry pi 4 ip using "hostname -I" then on my laptop (which is using the same network) i took this IP in my browser followed by the port 3000.

I have the following error from my browser:

This is is unreachable 192.168.68.112 doesnt allow the connexion.

Do I need to wait that the eth blockchain is synced on my raspberry Pi 4 before get access to the monitoring tools ?

Thanks for your help (awesome tutorial ๐Ÿ‘ )

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.