Bitcoin Forum
May 02, 2024, 10:00:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: noobish linux rpi bitcoind question  (Read 522 times)
saddambitcoin (OP)
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
July 20, 2015, 02:22:52 PM
 #1

I finally set up my full node on a Raspberry Pi 2. I'm using an external HD to store the /.bitcoin datadir.

Before when I just ran bitcoind on the SD card, I could do bitcoin-cli getinfo and it would work.

Now when I try to run that command, it seems to be looking in my ~/.bitcoin directory and not finding anything, so it doesn't work. I checked my IP on bitnodes and I confirmed that my node is running.

How do I getinfo when I'm using an external HD?

1714687209
Hero Member
*
Offline Offline

Posts: 1714687209

View Profile Personal Message (Offline)

Ignore
1714687209
Reply with quote  #2

1714687209
Report to moderator
1714687209
Hero Member
*
Offline Offline

Posts: 1714687209

View Profile Personal Message (Offline)

Ignore
1714687209
Reply with quote  #2

1714687209
Report to moderator
1714687209
Hero Member
*
Offline Offline

Posts: 1714687209

View Profile Personal Message (Offline)

Ignore
1714687209
Reply with quote  #2

1714687209
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714687209
Hero Member
*
Offline Offline

Posts: 1714687209

View Profile Personal Message (Offline)

Ignore
1714687209
Reply with quote  #2

1714687209
Report to moderator
saddambitcoin (OP)
Legendary
*
Offline Offline

Activity: 1610
Merit: 1004



View Profile
July 20, 2015, 02:32:36 PM
 #2

Figured it out

Code:
bitcoin-cli -datadir=/path/to/.bitcoin getinfo

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!