0

I want to use a raspberry for IoT. For this project I need to start Ethereum (Geth) at privat chain in the boot state.

When I have some data, I would like to make a transaction (contract) to store the data.

Is there anybody who can help me?

  • I removed the pyethereum tag. If there is a connection I missed, please update your question to explain the connection and re-tag. – carver Nov 29 '17 at 17:30
0

A way to start on boot is to possibly find where you do mount geth and add it to the fstab so it starts on boot. Only issue here is that if it doesn't find it, it will not boot. So keep a proper backup somewhere so you don't lose out on stuff.

You can learn more here:

https://kwilson.io/blog/force-your-raspberry-pi-to-mount-an-external-usb-drive-every-time-it-starts-up/

0

Check this answer for some options - How can I run go-ethereum as daemon process on Ubuntu?

And one more option - use /etc/inittab to add the geth process to TTY 10 (for example):

10:2345:respawn:/path/to/geth --geth_options console

later you can switch to that console with Ctrl + Alt + F10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.