Bitcoin Forum
February 25, 2020, 10:06:26 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 7 8 »  All
  Print  
Author Topic: Advice on Raspberry pi hardware for running full BTC node  (Read 1918 times)
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 16, 2019, 02:32:15 AM
 #81

I've downloaded core 0.19.0.1 files and extracted them to my Rpi desktop but I'm having trouble running bitcoin-qt. The readme files point me to run bin/bitcoin-qt but when I click it ask me which application I want to use and gives a list of options that don't seem right.  What do I do to run this or get core setup?  


Looks like you attempt to open the blob/binary of bitcoin-qt. What you should to are :
1. Make sure bitcoin-qt have execute permission (right click bitcoin-qt from your file explorer and see option to make it executable)
2. Try to run it with command

Code:
cd /path/to/your/bitcoin/qt/file
./bitcoin-qt
Didnt work. it says no such file or directory.
I tried with both Linux files from core. Linux (tgz) and ARM Linux file. Both were extracted to a folder on the desktop. Permissions are set to anyone.
Am I using the correct files?
1582625186
Hero Member
*
Offline Offline

Posts: 1582625186

View Profile Personal Message (Offline)

Ignore
1582625186
Reply with quote  #2

1582625186
Report to moderator
1582625186
Hero Member
*
Offline Offline

Posts: 1582625186

View Profile Personal Message (Offline)

Ignore
1582625186
Reply with quote  #2

1582625186
Report to moderator
1582625186
Hero Member
*
Offline Offline

Posts: 1582625186

View Profile Personal Message (Offline)

Ignore
1582625186
Reply with quote  #2

1582625186
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1582625186
Hero Member
*
Offline Offline

Posts: 1582625186

View Profile Personal Message (Offline)

Ignore
1582625186
Reply with quote  #2

1582625186
Report to moderator
1582625186
Hero Member
*
Offline Offline

Posts: 1582625186

View Profile Personal Message (Offline)

Ignore
1582625186
Reply with quote  #2

1582625186
Report to moderator
Carlton Banks
Legendary
*
Offline Offline

Activity: 2646
Merit: 2206



View Profile
December 16, 2019, 03:31:17 PM
 #82

Am I using the correct files?

for Rpi4, you specifically want the .tar.gz file with the platform "aarch64" in the filename

Vires in numeris
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 17, 2019, 04:32:42 AM
 #83

Am I using the correct files?

for Rpi4, you specifically want the .tar.gz file with the platform "aarch64" in the filename
I could not find a file with aarch64 in the filename on https://bitcoin.org/en/download
I have the file bitcoin-0.19.0.1-x86_64-linux-gnu.tar.gz
If this isn't the correct file, could I please have a link?
Carlton Banks
Legendary
*
Offline Offline

Activity: 2646
Merit: 2206



View Profile
December 17, 2019, 06:25:32 PM
 #84

I could not find a file with aarch64 in the filename on https://bitcoin.org/en/download
I have the file bitcoin-0.19.0.1-x86_64-linux-gnu.tar.gz

yeah, x86_64 is Intel/AMD and so will not work

you want https://bitcoincore.org/bin/bitcoin-core-0.19.0.1

for some reason bitcoin.org (apparently) doesn't have the aarch64 build, but maybe that's because bitcoin.org is not the official site. Not sure, no reason they wouldn't host the ARMv8 builds I can think of.

Vires in numeris
Dabs
Legendary
*
Offline Offline

Activity: 2604
Merit: 1389


The Concierge of Crypto


View Profile
December 17, 2019, 07:43:34 PM
 #85

A lot of things aren't working yet properly for Rpi4 since it's so new. Eventually it will get there, but maybe try and get / use an older RPi and see how that works.

judypug1956
Sr. Member
****
Offline Offline

Activity: 357
Merit: 270


View Profile
December 17, 2019, 09:22:55 PM
Last edit: December 17, 2019, 09:33:10 PM by judypug1956
 #86

trying to run a full node on a rasp pi is basically an exercise in futility.

Just buy a used pc like this

https://www.ebay.com/itm/Lenovo-M83-Tiny-PC-computer-i5-4590t-8gb-memory-tested-and-working-10E9000UUS/333436439862?

buy a ssd and run a node in linux.

better yet get this one

https://www.ebay.com/itm/Lenovo-Thinkcentre-M72e-Tiny-Dual-core-i3-3220T-Win7-Linux-12GB-Memory/123997550116?

ask for it in linux os
ask for 500gb hdd
ask for 8gb ram

only 99 dollars
far better then any rasp pi

1956jUdYPFwiBSzt9AECdWj3KE4WV7taiM I can't do 1957philma.. for btc address the i are not allowed This is a secondary account for Philipma1957, don't do business with this account deal with philipma1957
DaveF
Legendary
*
Offline Offline

Activity: 1932
Merit: 1065


DAVID CHAUM's xx coin SALE IS NOW LIVE!


View Profile WWW
December 18, 2019, 01:41:55 AM
 #87

trying to run a full node on a rasp pi is basically an exercise in futility.

Just buy a used pc like this

https://www.ebay.com/itm/Lenovo-M83-Tiny-PC-computer-i5-4590t-8gb-memory-tested-and-working-10E9000UUS/333436439862?

buy a ssd and run a node in linux.

better yet get this one

https://www.ebay.com/itm/Lenovo-Thinkcentre-M72e-Tiny-Dual-core-i3-3220T-Win7-Linux-12GB-Memory/123997550116?

ask for it in linux os
ask for 500gb hdd
ask for 8gb ram

only 99 dollars
far better then any rasp pi

Not really, many people do it.
Heck you can even run an entire lightning node on one.
It is not plug & play / as quick and simple as double-clicking an exe and done. But, it's not impossible and a lot of people do.
It just takes a bit more time and effort. It's a good learning experience too.

-Dave



███████                   
                      ██████████                        ██       
                       ████████████                  ███       
                                ██████████           █████       
                                        ███████      ██████         
██████                  ███████     ████
████████                ██████     ██   
██████████        ████████           
███████████    █████████           
████████    ████████
   
      ███████    ████████       
              ██████    █████████████ 
          █████████      ███████████ 
      ███████████          █████████ 
██████████████                       
████████████████                       
███████      ████████████           
██████        ████████████           
████                ██████████           

xx-coin.io

█▀▀▀











█▄▄▄

▀▀▀█











▄▄▄█

█▀▀▀











█▄▄▄
 
████
██████
█████████
█████████████
████████████████
████████████████████
████████████████████████
███████████████████████
████████████g█████████
██████████g███████
████████g██████
██████g██████
██████████
██████
███


                 ████
                ████
                ▀▀
     ,▄▄▄▄▄▄      ▄▄▄▄▄▄
   o████████▄██▄████████
  ████████████████████
 d███████████████████
,███████████████████
`███████████████████
 ████████████████████
 █████████████████████
  ████████████████████████
   ██████████████████████
    ████████████████████
     `████▀▀  ▀▀██████

▀▀▀█











▄▄▄█
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 18, 2019, 04:17:17 AM
 #88


trying to run a full node on a rasp pi is basically an exercise in futility.
I'm starting to see why you'd say that. I'd agree that I'm probably over my head with this but I would like to learn more.
Not really, many people do it.
Heck you can even run an entire lightning node on one.
It is not plug & play / as quick and simple as double-clicking an exe and done. But, it's not impossible and a lot of people do.
It just takes a bit more time and effort. It's a good learning experience too.

-Dave
Thanks for the link to the correct file @Carlton Banks!

Sorry to need hand holding all the way through this. That was largely unexpected and perhaps an oversight on my part but if good guidance and patience is available, I'm eager to learn/follow directions and proceed.

I've been trying in vein to install the bitcoin-qt file. I tried
sudo install /file/path/to/bitcoin-qt
cd /file/path/to/bitcoin-qt (as mentioned a few posts above)

How do I install the binary file bitcoin-qt to get core to work?
Carlton Banks
Legendary
*
Offline Offline

Activity: 2646
Merit: 2206



View Profile
December 18, 2019, 12:10:26 PM
Merited by joniboini (4), ETFbitcoin (3), DaveF (1), Icygreen (1)
 #89

Sorry to need hand holding all the way through this. That was largely unexpected and perhaps an oversight on my part but if good guidance and patience is available, I'm eager to learn/follow directions and proceed.

I'd prefer to help out and have a few more people out there that can do this sort of stuff. you, me and everyone else helping is actually helping anyone else following along, we're all winning here Wink


I've been trying in vein to install the bitcoin-qt file. I tried
sudo install /file/path/to/bitcoin-qt
cd /file/path/to/bitcoin-qt (as mentioned a few posts above)

I assume you already did tar -xf bitcoin-core-0.19.0.1-aarch64.tar.gz?

you don't have an old version installed on the RPi? If so, find it like this: find /usr -name 'bitcoin'* (so that searches the /usr directory for all files starting "bitcoin", there's 3 or 4 all called e.g. bitcoind or bitcoin-cli)

If none are previously installed, just copy the files. tar has extracted a directory called "bitcoin-core-0.19.0.1" for you, in that directory is a sub-dir called "bin" where the binaries are, that's all you want. so, somehting like sudo cp -a ./bitcoin-core-0.19.0.1/bin/bitcoin* /usr/bin" will do the job.

Then, you want the service file, which you can get from https://github/bitcoin/bitcoin/contrib/init/bitcoind.service (this is the service file format for systemd, which Raspbian uses, other service managers are available...). Get that file onto your RPi, or if that's a pain in the ass, type it out real quick, it's incredibly short (use the "nano" command). Put it in the directory /etc/systemd/system/multi-user.target.wants using the "cp" command you used to copy the bitcoin executables to /usr/bin.

Change the bitcoind.service file so that the line saying "-datadir=" has the path of the .bitcoin directory on your external disk in place of /var/lib/bitcoin.

Then, do sudo systemctl enable bitcoind, then sudo systemctl start bitcoind, then tail -f /PathToICYgReeNsExternalDisk/.bitcoin/debug.log

that last command will just let you watch the node catch up with blocks you're probably missing by now. Quit the scrolling output with Ctrl-C.

Now, if you want to add new options to Bitcoin that are part of startup (e.g. bigger dbcache would work for you with 4GB RAM), you can create the file "/etc/bitcoin/bitcoin.conf", and add any options you see from doing bitcoind --help Just remove the "-" (i.e. -dbache=1000 is correct on the cli, but wants to be dbcache=1000 if you add it to the bitcoin.conf file). put one option per line in the bitcoin.conf file.


That's basically it.

Vires in numeris
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 19, 2019, 04:27:10 AM
 #90

Sorry to need hand holding all the way through this. That was largely unexpected and perhaps an oversight on my part but if good guidance and patience is available, I'm eager to learn/follow directions and proceed.

I'd prefer to help out and have a few more people out there that can do this sort of stuff. you, me and everyone else helping is actually helping anyone else following along, we're all winning here Wink


I've been trying in vein to install the bitcoin-qt file. I tried
sudo install /file/path/to/bitcoin-qt
cd /file/path/to/bitcoin-qt (as mentioned a few posts above)

I assume you already did tar -xf bitcoin-core-0.19.0.1-aarch64.tar.gz?

you don't have an old version installed on the RPi? If so, find it like this: find /usr -name 'bitcoin'* (so that searches the /usr directory for all files starting "bitcoin", there's 3 or 4 all called e.g. bitcoind or bitcoin-cli)

If none are previously installed, just copy the files. tar has extracted a directory called "bitcoin-core-0.19.0.1" for you, in that directory is a sub-dir called "bin" where the binaries are, that's all you want. so, somehting like sudo cp -a ./bitcoin-core-0.19.0.1/bin/bitcoin* /usr/bin" will do the job.

Then, you want the service file, which you can get from https://github/bitcoin/bitcoin/contrib/init/bitcoind.service (this is the service file format for systemd, which Raspbian uses, other service managers are available...). Get that file onto your RPi, or if that's a pain in the ass, type it out real quick, it's incredibly short (use the "nano" command). Put it in the directory /etc/systemd/system/multi-user.target.wants using the "cp" command you used to copy the bitcoin executables to /usr/bin.

Change the bitcoind.service file so that the line saying "-datadir=" has the path of the .bitcoin directory on your external disk in place of /var/lib/bitcoin.

Then, do sudo systemctl enable bitcoind, then sudo systemctl start bitcoind, then tail -f /PathToICYgReeNsExternalDisk/.bitcoin/debug.log

that last command will just let you watch the node catch up with blocks you're probably missing by now. Quit the scrolling output with Ctrl-C.

Now, if you want to add new options to Bitcoin that are part of startup (e.g. bigger dbcache would work for you with 4GB RAM), you can create the file "/etc/bitcoin/bitcoin.conf", and add any options you see from doing bitcoind --help Just remove the "-" (i.e. -dbache=1000 is correct on the cli, but wants to be dbcache=1000 if you add it to the bitcoin.conf file). put one option per line in the bitcoin.conf file.


That's basically it.

Ok, after a couple hours I finally learned a bit and got somewhere but still stuck.
Learned how to copy/past with cp in terminal = success!

I couldn't find exactly the github file you posted a link to but I think this one is correct, ya? https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service
I copied all 77 lines of the code exactly as it is, pasted in nano,saved it and called the file bitcoind.service Then put it in the directory /etc/systemd/system/multi-user.target.wants

Had a tough time figuring out how to change permissions to write to this file outside of nano. Eventually learned how to do it with chmod -R ugo+rw
Not sure if that was correct but it now allows me to change the file and I've replaced /var/lib/bitcoin with the path to the folder containing bitcoin core files on my external HD.

Now I'm stuck at
Code:
sudo systemctl enable bitcoind
First try returned with bitcoind.service does not exist. Subsequent tries shows a login for pi and root with a password field. It does not show my login 'Icygreen' nor does the default password "raspberry" or my personal password work for pi or root. I get the same result with
Code:
sudo systemctl start bitcoind

I am logged in as Icygreen and pi user has been disabled with -l  Not sure what the root password would be or if I'm even on the right track at this point.
Thanks for your previous helpful instructions. I can feel my brain stretching Wink
Stedsm
Legendary
*
Offline Offline

Activity: 1946
Merit: 1172


Former Chipmixer Participant ☺️


View Profile
December 19, 2019, 06:24:34 AM
 #91

Is there a firewall that's breaking your connection of your pi with the device you are trying to connect?

Have a deeper look into this article and may you find your resolution, please share it here what did you do to get it working as this thread may help lots of newbies set up their first ever full node while trying to set up a pi for the same.

- https://medium.com/@meeDamian/bitcoin-full-node-on-rbp3-revised-88bb7c8ef1d1

.
.
.
▄███████████████████▄
█████████████████████
████████████▀▀░░░░███
███████████▌░░░░░░███
███████████░░░░██████
███████████░░░░██████
████████░░░░░░░░░░▐██
████████░░░░░░░░░░███

███████████░░░░██████

███████████░░░░██████

███████████░░░░██████

███████████░░░░██████

▀██████████░░░░█████▀
▄███████████████████▄
█████████████████████
█████████████████████
████▀██████▀░░░▀▀▄███
████░░▀▀███░░░░░░▄███
████▀░░░░░░░░░░░▐████
████▄░░░░░░░░░░░█████
█████▀░░░░░░░░░▄█████

████▀█▄░░░░░░░▄██████

█████▄░░░░░▄▄████████

█████████████████████

█████████████████████

▀███████████████████▀
▄███████████████████▄
█████▀▀▀▀▀▀▀▀▀▀▀█████
███░░░▄▄▄▄▄▄▄▄▄░░░███
██░░▄█████████▀▀▄░░██
██░░███▀▀░░░▀▀▄▄█░░██
██░░██▀░▄███▄░▀██░░██
██░░██░░█████░░██░░██
██░░██▄░▀███▀░▄██░░██

██░░███▄▄░░░▄▄███░░██

██░░▀███████████▀░░██

███░░░▀▀▀▀▀▀▀▀▀░░░███

█████▄▄▄▄▄▄▄▄▄▄▄█████

▀███████████████████▀
▄███████████████████▄
█████████████████████
█████████████████████
██████████████▀▀▀████
██████████▀▀░░░░▐████
██████▀▀░░░▄▀░░░█████
████░░░░▄▄▀░░░░▐█████
██████▄▐█░░░░░░██████

███████▌▌░░░░░▐██████

████████▄██▄▄░███████

█████████████████████

█████████████████████

▀███████████████████▀
.
mindrust
Legendary
*
Online Online

Activity: 1708
Merit: 1881



View Profile
December 19, 2019, 06:40:16 AM
 #92

I am currently syncing my full node on a netbook and trying the same thing on a rpi3. The ultimate goal is setting up my own LN node and BTCpay server eventually.

Raspberry looks so cool with a 3.5" screen but it is a pain in the ass to install the bitcoin core wallet.

My netbook on the other hand has an atom processor and 2gb of ram and it is working like a boss. I even bought a battery for $5 and it can keep the system running for hours without electricity so the database won't be hurt. Installation of the core wallet was easy as you do it with windows and syncing without any problems. It is probably even cheaper than a rpi3 right now if you can find a used one. It is basically computer junk but it works.

And yes, the bitcoin core you see on the .org website isn't download and install.

You'll have to compile your own. There are many guides but it takes lots of time.

There was a guide which was explaining to move the sd files to a hdd and boot rpi3 from there so your sd won't die faster.

In the end rpi3 (no idea about 4) isn't exactly the right choice to start a full node. If you are going to keep it up for years.

I'll still try it let you know what I have encountered. Also if you are going to use a rpi3/4 you better download the blockchain on a better pc then copy/paste it. I heard rpi3 would take months to sync it by itself. My netbook says it needs 10 days.

Good luck.




▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄                  ▄▄▄   ▄▄▄▄▄        ▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄
 ▀████████████████▄  ████                 █████   ▀████▄    ▄████▀  ▄██████████████   ████████████▀  ▄█████████████▀  ▄█████████████▄
              ▀████  ████               ▄███▀███▄   ▀████▄▄████▀               ████   ████                ████                   ▀████
   ▄▄▄▄▄▄▄▄▄▄▄█████  ████              ████   ████    ▀██████▀      ██████████████▄   ████████████▀       ████       ▄▄▄▄▄▄▄▄▄▄▄▄████▀
   ██████████████▀   ████            ▄███▀     ▀███▄    ████        ████        ████  ████                ████       ██████████████▀
   ████              ████████████▀  ████   ██████████   ████        ████████████████  █████████████▀      ████       ████      ▀████▄
   ▀▀▀▀              ▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀       ▀▀▀▀        ▀▀▀▀▀

#1 CRYPTO CASINO & SPORTSBOOK
  WELCOME
BONUS
.INSTANT & FAST.
.TRANSACTION.....
.PROVABLY FAIR.
......& SECURE......
.24/7 CUSTOMER.
............SUPPORT.
BTC      |      ETH      |      LTC      |      XRP      |      XMR      |      BNB      |     more
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 19, 2019, 06:47:36 AM
 #93

Is there a firewall that's breaking your connection of your pi with the device you are trying to connect?

None that I'm aware of although I don't t know how to check for this.  Are you suggesting to check for a firewall between my hard drive and the pi?
Please post instructions on how to check if you think it's relevant.
mindrust
Legendary
*
Online Online

Activity: 1708
Merit: 1881



View Profile
December 19, 2019, 11:53:34 AM
 #94

Daym I was struggling with so many unncessary crap for the last 2 days.

If you were too like me, start following this tutorial:

https://github.com/rootzoll/raspiblitz

It does everything automatically.

You can even install btcpay on raspiblitz:

https://gist.github.com/normandmickey/6d6e74ebb6b3ddbd317bc1450f48f08e

If your only aim is to run a full node, then maybe this is too much but It would be more cool if you run a LN along with your full node.




▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄                  ▄▄▄   ▄▄▄▄▄        ▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄
 ▀████████████████▄  ████                 █████   ▀████▄    ▄████▀  ▄██████████████   ████████████▀  ▄█████████████▀  ▄█████████████▄
              ▀████  ████               ▄███▀███▄   ▀████▄▄████▀               ████   ████                ████                   ▀████
   ▄▄▄▄▄▄▄▄▄▄▄█████  ████              ████   ████    ▀██████▀      ██████████████▄   ████████████▀       ████       ▄▄▄▄▄▄▄▄▄▄▄▄████▀
   ██████████████▀   ████            ▄███▀     ▀███▄    ████        ████        ████  ████                ████       ██████████████▀
   ████              ████████████▀  ████   ██████████   ████        ████████████████  █████████████▀      ████       ████      ▀████▄
   ▀▀▀▀              ▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀       ▀▀▀▀        ▀▀▀▀▀

#1 CRYPTO CASINO & SPORTSBOOK
  WELCOME
BONUS
.INSTANT & FAST.
.TRANSACTION.....
.PROVABLY FAIR.
......& SECURE......
.24/7 CUSTOMER.
............SUPPORT.
BTC      |      ETH      |      LTC      |      XRP      |      XMR      |      BNB      |     more
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 19, 2019, 01:25:16 PM
 #95

Daym I was struggling with so many unncessary crap for the last 2 days.

If you were too like me, start following this tutorial:

https://github.com/rootzoll/raspiblitz

It does everything automatically.

You can even install btcpay on raspiblitz:

https://gist.github.com/normandmickey/6d6e74ebb6b3ddbd317bc1450f48f08e

If your only aim is to run a full node, then maybe this is too much but It would be more cool if you run a LN along with your full node.
LN is next but probably best to focus on core install first. Thanks for the link. Is raspiblitz different from raspbian or related somehow ?
I'll eventually get a laptop specifically for nodes but for now committed to the Rpi4.
mindrust
Legendary
*
Online Online

Activity: 1708
Merit: 1881



View Profile
December 19, 2019, 01:39:27 PM
Last edit: December 19, 2019, 01:50:47 PM by mindrust
 #96

Daym I was struggling with so many unncessary crap for the last 2 days.

If you were too like me, start following this tutorial:

https://github.com/rootzoll/raspiblitz

It does everything automatically.

You can even install btcpay on raspiblitz:

https://gist.github.com/normandmickey/6d6e74ebb6b3ddbd317bc1450f48f08e

If your only aim is to run a full node, then maybe this is too much but It would be more cool if you run a LN along with your full node.
LN is next but probably best to focus on core install first. Thanks for the link. Is raspiblitz different from raspbian or related somehow ?
I'll eventually get a laptop specifically for nodes but for now committed to the Rpi4.

It is the same thing in the background but from what I see raspblitz does everything automatically.

**I am pretty new to the world of software developers&linux so I may say some stupid stuff from now on.**

Raspiblitz (the one I got from the ISO in the first link) is basically a modified raspbian.

It downloads the bitcoin blockchain from a torrent file which is a lot faster than syncing with the network.

You can use your pre-downloaded blockchain too.

You need to try it yourself to see what I'm talking about...

The only stuff I didn't like was having to use a LAN cable but I figured out it is as easy as adding a simple "wpa_supplicant.conf" file to your sd card and when you boot, it automatically connects to your modem.

Then you open the port 22 for your rpi's ip, connect to the rpi with putty(windows) or terminal ssh (linux) and it takes care of the rest.

If you'll eventually install LN, don't waste time. Start directly with raspiblitz. I am downloading the files right now.




▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄                  ▄▄▄   ▄▄▄▄▄        ▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄
 ▀████████████████▄  ████                 █████   ▀████▄    ▄████▀  ▄██████████████   ████████████▀  ▄█████████████▀  ▄█████████████▄
              ▀████  ████               ▄███▀███▄   ▀████▄▄████▀               ████   ████                ████                   ▀████
   ▄▄▄▄▄▄▄▄▄▄▄█████  ████              ████   ████    ▀██████▀      ██████████████▄   ████████████▀       ████       ▄▄▄▄▄▄▄▄▄▄▄▄████▀
   ██████████████▀   ████            ▄███▀     ▀███▄    ████        ████        ████  ████                ████       ██████████████▀
   ████              ████████████▀  ████   ██████████   ████        ████████████████  █████████████▀      ████       ████      ▀████▄
   ▀▀▀▀              ▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀       ▀▀▀▀        ▀▀▀▀▀

#1 CRYPTO CASINO & SPORTSBOOK
  WELCOME
BONUS
.INSTANT & FAST.
.TRANSACTION.....
.PROVABLY FAIR.
......& SECURE......
.24/7 CUSTOMER.
............SUPPORT.
BTC      |      ETH      |      LTC      |      XRP      |      XMR      |      BNB      |     more
Carlton Banks
Legendary
*
Offline Offline

Activity: 2646
Merit: 2206



View Profile
December 19, 2019, 02:11:58 PM
 #97

Now I'm stuck at
Code:
sudo systemctl enable bitcoind
First try returned with bitcoind.service does not exist. Subsequent tries shows a login for pi and root with a password field. It does not show my login 'Icygreen' nor does the default password "raspberry" or my personal password work for pi or root. I get the same result with
Code:
sudo systemctl start bitcoind

hmmm, you need that root password. It sounds like the user Icygreen is not sudo capable, which means the only super user is the root user (sudo means superuserdo)

have you used sudo when logged into Icygreen account before? I would assume so, if the previous steps completed ok.


This may all be a red herring though. I think perhaps I told you wrong, maybe try this:
Code:
mv /etc/systemd/system/multi-user.target.wants/bitcoind.service /lib/systemd/system/multi-user.target.wants


then try:

Code:
sudo systemctl enable bitcoind


Be sure to do the mv command and not cp this time.

Vires in numeris
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 20, 2019, 05:02:43 AM
 #98

Now I'm stuck at
Code:
sudo systemctl enable bitcoind
First try returned with bitcoind.service does not exist. Subsequent tries shows a login for pi and root with a password field. It does not show my login 'Icygreen' nor does the default password "raspberry" or my personal password work for pi or root. I get the same result with
Code:
sudo systemctl start bitcoind

hmmm, you need that root password. It sounds like the user Icygreen is not sudo capable, which means the only super user is the root user (sudo means superuserdo)

have you used sudo when logged into Icygreen account before? I would assume so, if the previous steps completed ok.


This may all be a red herring though. I think perhaps I told you wrong, maybe try this:
Code:
mv /etc/systemd/system/multi-user.target.wants/bitcoind.service /lib/systemd/system/multi-user.target.wants


then try:

Code:
sudo systemctl enable bitcoind



Be sure to do the mv command and not cp this time.
 
negative, no such file exists.  Tried to reboot and try again but now all accounts are locked out with a red bar under login saying failed to authenticate. Typing in my correct password fails to log me in. I have sudo (or I did before this happened)
 Just before this happened I unlocked pi's password with sudo passwd -u hoping to give the login screen another try that popped up earlier.
Looks like I'll have to start over with a fresh copy of raspbian or perhaps raspblitz like mindrust suggests?

Damn, I like learning but this is indeed becoming an exercise in futility as judypug1956 put it Huh 

Carlton Banks
Legendary
*
Offline Offline

Activity: 2646
Merit: 2206



View Profile
December 20, 2019, 09:00:05 AM
 #99

Damn, I like learning but this is indeed becoming an exercise in futility as judypug1956 put it Huh  

as long as you know the password to the root account, this problem cannot happen again (e.g. if you know the root password now, you can get back in to your Pi without starting again)

It's frustrating, I fully appreciate that. You were literally 1 or 2 steps away from getting it setup when this setback happened though!

And the systemctl/bitcoind.service stuff is only there for... guess what reason? To make your life easier Smiley fwiw, I'm not a big fan of the way systemctl/systemd works, and avoid using it when possible


persistence always wins with these things, finding out things that don't work is an important (yet annoying) part of the learning experience

come back and ask more questions, we're all checking the thread

Vires in numeris
Icygreen
Hero Member
*****
Offline Offline

Activity: 994
Merit: 834



View Profile
December 20, 2019, 10:46:02 AM
 #100

Damn, I like learning but this is indeed becoming an exercise in futility as judypug1956 put it Huh  

as long as you know the password to the root account, this problem cannot happen again (e.g. if you know the root password now, you can get back in to your Pi without starting again)
I've never set or changed the root password, if there is a default one then perhaps I'm in luck? Not sure if this will be useful but
On the boot load screen just before I press enter it says "cannot open access to console, the root account is locked. See sulogin    ( 8 ) man page for more details."
Pages: « 1 2 3 4 [5] 6 7 8 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!